[INFO] fetching crate cn-stratum 0.4.1... [INFO] testing cn-stratum-0.4.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cn-stratum 0.4.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate cn-stratum 0.4.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cn-stratum 0.4.1 [INFO] finished tweaking crates.io crate cn-stratum 0.4.1 [INFO] tweaked toml for crates.io crate cn-stratum 0.4.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3849a317cd2b921b425c4a735897afc3def83b85a6072992d28182a28ea69d9 [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" "d3849a317cd2b921b425c4a735897afc3def83b85a6072992d28182a28ea69d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3849a317cd2b921b425c4a735897afc3def83b85a6072992d28182a28ea69d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3849a317cd2b921b425c4a735897afc3def83b85a6072992d28182a28ea69d9", kill_on_drop: false }` [INFO] [stdout] d3849a317cd2b921b425c4a735897afc3def83b85a6072992d28182a28ea69d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6f44090648921d47cc5c42e84438f8667d09acc04ad12b611a7ce9dd8b5d634 [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" "b6f44090648921d47cc5c42e84438f8667d09acc04ad12b611a7ce9dd8b5d634", kill_on_drop: false }` [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling cn-stratum v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | 0x0...0x9 => Ok(x + b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 0xa...0xf => Ok(x - 0xa + b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | b'0'...b'9' => Ok(x - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | b'a'...b'f' => Ok(x - b'a' + 0xa), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `variant` [INFO] [stdout] --> src/message.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | variant: u32, // xmrig proxy sends this for compat with obsolete xmrig [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/message.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | code: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.04s [INFO] running `Command { std: "docker" "inspect" "b6f44090648921d47cc5c42e84438f8667d09acc04ad12b611a7ce9dd8b5d634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6f44090648921d47cc5c42e84438f8667d09acc04ad12b611a7ce9dd8b5d634", kill_on_drop: false }` [INFO] [stdout] b6f44090648921d47cc5c42e84438f8667d09acc04ad12b611a7ce9dd8b5d634 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 748048a95500f366feaa867aab7a760b871e8e9590833628198b1a21c0d6af4b [INFO] running `Command { std: "docker" "start" "-a" "748048a95500f366feaa867aab7a760b871e8e9590833628198b1a21c0d6af4b", kill_on_drop: false }` [INFO] [stderr] Compiling cn-stratum v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | 0x0...0x9 => Ok(x + b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 0xa...0xf => Ok(x - 0xa + b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | b'0'...b'9' => Ok(x - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | b'a'...b'f' => Ok(x - b'a' + 0xa), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `variant` [INFO] [stdout] --> src/message.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | variant: u32, // xmrig proxy sends this for compat with obsolete xmrig [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Job` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Deserialize, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `code` [INFO] [stdout] --> src/message.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | code: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ErrorReply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/message.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 89 | #[derive(Debug, Deserialize)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/hexbytes.rs:130:14 [INFO] [stdout] | [INFO] [stdout] 130 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/hexbytes.rs:131:25 [INFO] [stdout] | [INFO] [stdout] 131 | struct Hex64leOut(#[serde(deserialize_with = "hex64le_to_int")] (u64, usize)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `serde` is imported here, but it is a crate, not an attribute [INFO] [stdout] --> src/hexbytes.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | 0x0...0x9 => Ok(x + b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | 0xa...0xf => Ok(x - 0xa + b'a'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | b'0'...b'9' => Ok(x - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/hexbytes.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | b'a'...b'f' => Ok(x - b'a' + 0xa), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hex64leOut: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/hexbytes.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | let Hex64leOut((val, len)) = serde_json::from_str("\"00\"").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Hex64leOut` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.79/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hex64leOut: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/hexbytes.rs:142:38 [INFO] [stdout] | [INFO] [stdout] 142 | let Hex64leOut((val, len)) = serde_json::from_str("\"000102\"").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Hex64leOut` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.79/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Hex64leOut: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/hexbytes.rs:149:38 [INFO] [stdout] | [INFO] [stdout] 149 | let Hex64leOut((val, len)) = serde_json::from_str("\"1020304050607080\"").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `Hex64leOut` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `serde_json::from_str` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.79/src/de.rs:2611:8 [INFO] [stdout] | [INFO] [stdout] 2611 | T: de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `serde_json::from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cn-stratum` due to 6 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "748048a95500f366feaa867aab7a760b871e8e9590833628198b1a21c0d6af4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748048a95500f366feaa867aab7a760b871e8e9590833628198b1a21c0d6af4b", kill_on_drop: false }` [INFO] [stdout] 748048a95500f366feaa867aab7a760b871e8e9590833628198b1a21c0d6af4b