We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproduction
cd nucleon cargo build
Errors
--> /home/kirch/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.16/src/serialize.rs:145:45 | 145 | &f_name: &str, | ^^^^^^^ Compiling sha1 v0.1.1 error: aborting due to previous error error: Could not compile `rustc-serialize`.
--> /home/kirch/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.3.9/src/sched.rs:168:20 | 168 | ffi::clone(mem::transmute(callback), ptr as *mut c_void, flags, &mut cb) | ^^^^^^^^^^^^^^ | = note: source type: for<'r> extern "C" fn(*mut std::boxed::Box<std::ops::FnMut() -> isize + 'r>) -> i32 {sched::clone::callback} = note: target type: *const for<'r> extern "C" fn(*const std::boxed::Box<std::ops::FnMut() -> isize + 'r>) -> i32 = help: cast with `as` to a pointer instead error: aborting due to previous error error: Could not compile `nix`.
Solution Remove Cargo.lock file and try again.
Cargo.lock
Build information uname -a: Linux mithrandir 4.15.9-1-ARCH #1 SMP PREEMPT Sun Mar 11 17:54:33 UTC 2018 x86_64 GNU/Linux rustc 1.24.1 (d3ae9a9e0 2018-02-27) cargo 0.25.0 (96d8071da 2018-02-26) Cloned commit: daa8f74
uname -a
Linux mithrandir 4.15.9-1-ARCH #1 SMP PREEMPT Sun Mar 11 17:54:33 UTC 2018 x86_64 GNU/Linux
rustc 1.24.1 (d3ae9a9e0 2018-02-27)
cargo 0.25.0 (96d8071da 2018-02-26)
The text was updated successfully, but these errors were encountered:
Solved by #9
Sorry, something went wrong.
No branches or pull requests
Reproduction
Errors
Solution
Remove
Cargo.lock
file and try again.Build information
uname -a
:Linux mithrandir 4.15.9-1-ARCH #1 SMP PREEMPT Sun Mar 11 17:54:33 UTC 2018 x86_64 GNU/Linux
rustc 1.24.1 (d3ae9a9e0 2018-02-27)
cargo 0.25.0 (96d8071da 2018-02-26)
Cloned commit: daa8f74
The text was updated successfully, but these errors were encountered: