Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. $ mix test
  2. Compiling NIF crate :rustler_test (/)...
  3. Compiling lazy_static v0.1.16
  4. Compiling libc v0.2.17
  5. Compiling bitflags v0.7.0
  6. Compiling quote v0.3.5
  7. Compiling winapi v0.2.8
  8. Compiling unicode-xid v0.0.3
  9. Compiling log v0.3.6
  10. Compiling winapi-build v0.1.1
  11. Compiling erlang_nif-sys v0.5.4
  12. Compiling rustc-serialize v0.3.21
  13. Compiling kernel32-sys v0.2.2
  14. Compiling syn v0.9.2
  15. Compiling term v0.4.4
  16. Compiling rustler v0.12.0 (file:///home/jorendorff/dev/Rustler)
  17. error[E0425]: unresolved function `erlang_nif_sys::enif_thread_type`
  18. --> /home/jorendorff/dev/Rustler/src/wrapper/nif_interface.rs:237:14
  19. |
  20. 237 | unsafe { erlang_nif_sys::enif_thread_type() }
  21. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no resolution found
  22. |
  23. = help: possible candidate is found in another module, you can import it into scope:
  24. = help: `use wrapper::nif_interface::enif_thread_type;`
  25.  
  26. error: aborting due to previous error
  27.  
  28. Build failed, waiting for other jobs to finish...
  29. error: Could not compile `rustler`.
  30.  
  31. To learn more, run the command again with --verbose.
  32. ** (RuntimeError) Rust NIF compile error (rustc exit code 101)
  33. lib/task_compile.ex:61: Mix.Tasks.Compile.Rustler.compile_crate_config/2
  34. (elixir) lib/enum.ex:1184: Enum."-map/2-lists^map/1-0-"/2
  35. (mix) lib/mix/task.ex:296: Mix.Task.run_task/3
  36. (elixir) lib/enum.ex:1184: Enum."-map/2-lists^map/1-0-"/2
  37. (mix) lib/mix/tasks/compile.all.ex:19: anonymous fn/1 in Mix.Tasks.Compile.All.run/1
  38. (mix) lib/mix/tasks/compile.all.ex:37: Mix.Tasks.Compile.All.with_logger_app/1
  39. (mix) lib/mix/task.ex:296: Mix.Task.run_task/3
  40. (mix) lib/mix/tasks/compile.ex:85: Mix.Tasks.Compile.run/1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement