[INFO] updating cached repository https://github.com/DistResearch/ZenyMiner [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 25c79c4247df7177e62d2922549b366d358d13d4 [INFO] testing DistResearch/ZenyMiner against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FDistResearch%2FZenyMiner" "work/builds/worker-8/source"` [INFO] [stderr] Cloning into 'work/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DistResearch/ZenyMiner on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/DistResearch/ZenyMiner [INFO] finished tweaking git repo https://github.com/DistResearch/ZenyMiner [INFO] tweaked toml for git repo https://github.com/DistResearch/ZenyMiner written to work/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/DistResearch/ZenyMiner already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 20c00ab4b9c3782d63a6107b9bf34616a86442a9901835a95d34a8ed4f878149 [INFO] running `"docker" "start" "-a" "20c00ab4b9c3782d63a6107b9bf34616a86442a9901835a95d34a8ed4f878149"` [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling digest v0.7.2 [INFO] [stderr] Compiling sha2 v0.7.0 [INFO] [stderr] Compiling ZenyMiner v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected mut or const in raw pointer type [INFO] [stderr] --> src/yescrypt/mod.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | base: * c_void, [INFO] [stderr] | ^ expected mut or const in raw pointer type [INFO] [stderr] | [INFO] [stderr] = help: use `*mut T` or `*const T` as appropriate [INFO] [stderr] [INFO] [stderr] error: expected mut or const in raw pointer type [INFO] [stderr] --> src/yescrypt/mod.rs:12:14 [INFO] [stderr] | [INFO] [stderr] 12 | aligned: * c_void, [INFO] [stderr] | ^ expected mut or const in raw pointer type [INFO] [stderr] | [INFO] [stderr] = help: use `*mut T` or `*const T` as appropriate [INFO] [stderr] [INFO] [stderr] error: expected mut or const in raw pointer type [INFO] [stderr] --> src/yescrypt/mod.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | base: * c_void, [INFO] [stderr] | ^ expected mut or const in raw pointer type [INFO] [stderr] | [INFO] [stderr] = help: use `*mut T` or `*const T` as appropriate [INFO] [stderr] [INFO] [stderr] error: expected mut or const in raw pointer type [INFO] [stderr] --> src/yescrypt/mod.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | aligned: * c_void, [INFO] [stderr] | ^ expected mut or const in raw pointer type [INFO] [stderr] | [INFO] [stderr] = help: use `*mut T` or `*const T` as appropriate [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `YescryptShared` in this scope [INFO] [stderr] --> src/yescrypt/reference.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | let mut shared: Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use yescrypt::YescryptShared; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `YescryptLocal` in this scope [INFO] [stderr] --> src/yescrypt/reference.rs:8:26 [INFO] [stderr] | [INFO] [stderr] 8 | let mut local: Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 1 | use yescrypt::YescryptLocal; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/yescrypt/mod.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | base: * c_void, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/yescrypt/mod.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | aligned: * c_void, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/yescrypt/mod.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | base: * c_void, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `c_void` in this scope [INFO] [stderr] --> src/yescrypt/mod.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | aligned: * c_void, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 1 | use std::ffi::c_void; [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::os::raw::c_void` [INFO] [stderr] --> src/yescrypt/reference.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::os::raw::c_void; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `|` cannot be applied to type `yescrypt::YescryptFlags` [INFO] [stderr] --> src/yescrypt/mod.rs:42:62 [INFO] [stderr] | [INFO] [stderr] 42 | static YESCRYPT_KNOWN_FLAGS: u32 = YescryptFlags::YescryptRW | YescryptFlags::YescryptParallelSMix [INFO] [stderr] | ------------------------- ^ ----------------------------------- yescrypt::YescryptFlags [INFO] [stderr] | | [INFO] [stderr] | yescrypt::YescryptFlags [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::BitOr` might be missing for `yescrypt::YescryptFlags` [INFO] [stderr] [INFO] [stderr] error[E0600]: cannot apply unary operator `!` to type `std::sync::Mutex<{integer}>` [INFO] [stderr] --> src/yescrypt/reference.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | if !initialized { [INFO] [stderr] | ^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stderr] | [INFO] [stderr] = note: an implementation of `std::ops::Not` might be missing for `std::sync::Mutex<{integer}>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/yescrypt/reference.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | if !initialized { [INFO] [stderr] | _____________________^ [INFO] [stderr] 11 | | //todo [INFO] [stderr] 12 | | } [INFO] [stderr] | |_____^ expected i32, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `i32` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/yescrypt/reference.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | / if !initialized { [INFO] [stderr] 11 | | //todo [INFO] [stderr] 12 | | } [INFO] [stderr] | |_____^ expected i32, found () [INFO] [stderr] | [INFO] [stderr] = note: expected type `i32` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0369, E0412, E0600. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `ZenyMiner`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "20c00ab4b9c3782d63a6107b9bf34616a86442a9901835a95d34a8ed4f878149"` [INFO] running `"docker" "rm" "-f" "20c00ab4b9c3782d63a6107b9bf34616a86442a9901835a95d34a8ed4f878149"` [INFO] [stdout] 20c00ab4b9c3782d63a6107b9bf34616a86442a9901835a95d34a8ed4f878149