[INFO] updating cached repository https://github.com/DistResearch/ZenyMiner
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] checking DistResearch/ZenyMiner against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDistResearch%2FZenyMiner" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/DistResearch/ZenyMiner on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "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 /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/DistResearch/ZenyMiner already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] ea854f6358e1499720d16ed9d05e77df710ede8c266ab886ab33cb584a0e82fb
[INFO] running `"docker" "start" "-a" "ea854f6358e1499720d16ed9d05e77df710ede8c266ab886ab33cb584a0e82fb"`
[INFO] [stderr]     Checking generic-array v0.9.0
[INFO] [stderr]     Checking digest v0.7.2
[INFO] [stderr]     Checking sha2 v0.7.0
[INFO] [stderr]     Checking 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: 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<YescryptShared>;
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[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] help: you might be missing a type parameter
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn yescrypt_bitzeny<YescryptShared>(password: u8, password_len: u32, salt: u8,
[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<YescryptLocal>;
[INFO] [stderr]   |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[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] help: you might be missing a type parameter
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn yescrypt_bitzeny<YescryptLocal>(password: u8, password_len: u32, salt: u8,
[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]    |
[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]    |
[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]    |
[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]    |
[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]: no implementation for `yescrypt::YescryptFlags | 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] 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] 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] 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] [stderr] warning: build failed, waiting for other jobs to finish...
[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<YescryptShared>;
[INFO] [stderr]   |                           ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[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] help: you might be missing a type parameter
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn yescrypt_bitzeny<YescryptShared>(password: u8, password_len: u32, salt: u8,
[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<YescryptLocal>;
[INFO] [stderr]   |                          ^^^^^^^^^^^^^ not found in this scope
[INFO] [stderr]   |
[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] help: you might be missing a type parameter
[INFO] [stderr]   |
[INFO] [stderr] 4 | fn yescrypt_bitzeny<YescryptLocal>(password: u8, password_len: u32, salt: u8,
[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]    |
[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]    |
[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]    |
[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]    |
[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]: no implementation for `yescrypt::YescryptFlags | 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] 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] 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] 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" "ea854f6358e1499720d16ed9d05e77df710ede8c266ab886ab33cb584a0e82fb"`
[INFO] running `"docker" "rm" "-f" "ea854f6358e1499720d16ed9d05e77df710ede8c266ab886ab33cb584a0e82fb"`
[INFO] [stdout] ea854f6358e1499720d16ed9d05e77df710ede8c266ab886ab33cb584a0e82fb
