[INFO] cloning repository https://github.com/DistResearch/ZenyMiner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DistResearch/ZenyMiner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDistResearch%2FZenyMiner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDistResearch%2FZenyMiner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25c79c4247df7177e62d2922549b366d358d13d4 [INFO] checking DistResearch/ZenyMiner against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDistResearch%2FZenyMiner" "/workspace/builds/worker-4/source", kill_on_drop: false }` [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 f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest v0.7.2 [INFO] [stderr] Downloaded arrayref v0.3.4 [INFO] [stderr] Downloaded typenum v1.9.0 [INFO] [stderr] Downloaded sha2 v0.7.0 [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b92ab09a64899618c214909acb2a369b467c903410d0c0afce003def7774a599 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b92ab09a64899618c214909acb2a369b467c903410d0c0afce003def7774a599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b92ab09a64899618c214909acb2a369b467c903410d0c0afce003def7774a599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b92ab09a64899618c214909acb2a369b467c903410d0c0afce003def7774a599", kill_on_drop: false }` [INFO] [stdout] b92ab09a64899618c214909acb2a369b467c903410d0c0afce003def7774a599 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 416511dcb255d71934ed633e78fa6a84c60ccc162ba58293100f17671077b83e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "416511dcb255d71934ed633e78fa6a84c60ccc162ba58293100f17671077b83e", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.9.0 [INFO] [stderr] Checking arrayref v0.3.4 [INFO] [stderr] Checking block-buffer v0.3.3 [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] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | base: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | aligned: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | base: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | aligned: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | base: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | aligned: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | base: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected mut or const in raw pointer type [INFO] [stdout] --> src/yescrypt/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | aligned: * c_void, [INFO] [stdout] | ^ expected mut or const in raw pointer type [INFO] [stdout] | [INFO] [stdout] = help: use `*mut T` or `*const T` as appropriate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YescryptShared` in this scope [INFO] [stdout] --> src/yescrypt/reference.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut shared: Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use yescrypt::YescryptShared; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YescryptLocal` in this scope [INFO] [stdout] --> src/yescrypt/reference.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let mut local: Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use yescrypt::YescryptLocal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | base: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | aligned: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | base: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | aligned: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/yescrypt/reference.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YescryptShared` in this scope [INFO] [stdout] --> src/yescrypt/reference.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | let mut shared: Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use yescrypt::YescryptShared; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `YescryptLocal` in this scope [INFO] [stdout] --> src/yescrypt/reference.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | let mut local: Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use yescrypt::YescryptLocal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | base: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | aligned: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | base: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_void` in this scope [INFO] [stdout] --> src/yescrypt/mod.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | aligned: * c_void, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::raw::c_void` [INFO] [stdout] --> src/yescrypt/reference.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_void; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `YescryptFlags | YescryptFlags` [INFO] [stdout] --> src/yescrypt/mod.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | static YESCRYPT_KNOWN_FLAGS: u32 = YescryptFlags::YescryptRW | YescryptFlags::YescryptParallelSMix [INFO] [stdout] | ------------------------- ^ ----------------------------------- YescryptFlags [INFO] [stdout] | | [INFO] [stdout] | YescryptFlags [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::BitOr` might be missing for `YescryptFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Mutex<{integer}>` [INFO] [stdout] --> src/yescrypt/reference.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if !initialized { [INFO] [stdout] | ^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yescrypt/reference.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | if !initialized { [INFO] [stdout] | _____________________^ [INFO] [stdout] 11 | | //todo [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yescrypt/reference.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / if !initialized { [INFO] [stdout] 11 | | //todo [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0412, E0600. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0369]: no implementation for `YescryptFlags | YescryptFlags` [INFO] [stdout] --> src/yescrypt/mod.rs:42:62 [INFO] [stdout] | [INFO] [stdout] 42 | static YESCRYPT_KNOWN_FLAGS: u32 = YescryptFlags::YescryptRW | YescryptFlags::YescryptParallelSMix [INFO] [stdout] | ------------------------- ^ ----------------------------------- YescryptFlags [INFO] [stdout] | | [INFO] [stdout] | YescryptFlags [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::BitOr` might be missing for `YescryptFlags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0600]: cannot apply unary operator `!` to type `Mutex<{integer}>` [INFO] [stdout] --> src/yescrypt/reference.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if !initialized { [INFO] [stdout] | ^^^^^^^^^^^^ cannot apply unary operator `!` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yescrypt/reference.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | if !initialized { [INFO] [stdout] | _____________________^ [INFO] [stdout] 11 | | //todo [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/yescrypt/reference.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | / if !initialized { [INFO] [stdout] 11 | | //todo [INFO] [stdout] 12 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0412, E0600. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [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: build failed [INFO] running `Command { std: "docker" "inspect" "416511dcb255d71934ed633e78fa6a84c60ccc162ba58293100f17671077b83e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "416511dcb255d71934ed633e78fa6a84c60ccc162ba58293100f17671077b83e", kill_on_drop: false }` [INFO] [stdout] 416511dcb255d71934ed633e78fa6a84c60ccc162ba58293100f17671077b83e