[INFO] cloning repository https://github.com/ryanhoangt/principles-of-blockchains-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanhoangt/principles-of-blockchains-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhoangt%2Fprinciples-of-blockchains-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhoangt%2Fprinciples-of-blockchains-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2368a9c09aef03953ee2f8f42683f53430cc6f15 [INFO] checking ryanhoangt/principles-of-blockchains-project against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhoangt%2Fprinciples-of-blockchains-project" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanhoangt/principles-of-blockchains-project on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryanhoangt/principles-of-blockchains-project [INFO] finished tweaking git repo https://github.com/ryanhoangt/principles-of-blockchains-project [INFO] tweaked toml for git repo https://github.com/ryanhoangt/principles-of-blockchains-project written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ryanhoangt/principles-of-blockchains-project already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.6.10 [INFO] [stderr] Downloaded js-sys v0.3.28 [INFO] [stderr] Downloaded futures v0.3.18 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded blocking v1.1.0 [INFO] [stderr] Downloaded num-traits v0.2.8 [INFO] [stderr] Downloaded chunked_transfer v1.4.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.51 [INFO] [stderr] Downloaded unicode-segmentation v1.3.0 [INFO] [stderr] Downloaded sourcefile v0.1.4 [INFO] [stderr] Downloaded syn v1.0.82 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded ring v0.16.9 [INFO] [stderr] Downloaded term_size v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.51 [INFO] [stderr] Downloaded wasm-bindgen v0.2.51 [INFO] [stderr] Downloaded web-sys v0.3.28 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded cache-padded v1.1.1 [INFO] [stderr] Downloaded stderrlog v0.5.1 [INFO] [stderr] Downloaded futures-channel v0.3.18 [INFO] [stderr] Downloaded bumpalo v2.6.0 [INFO] [stderr] Downloaded weedle v0.10.0 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.51 [INFO] [stderr] Downloaded async-lock v2.4.0 [INFO] [stderr] Downloaded async-io v1.6.0 [INFO] [stderr] Downloaded num-integer v0.1.41 [INFO] [stderr] Downloaded futures-io v0.3.18 [INFO] [stderr] Downloaded unicode-normalization v0.1.8 [INFO] [stderr] Downloaded futures-core v0.3.18 [INFO] [stderr] Downloaded untrusted v0.7.0 [INFO] [stderr] Downloaded heck v0.3.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.51 [INFO] [stderr] Downloaded async-process v1.3.0 [INFO] [stderr] Downloaded tiny_http v0.9.0 [INFO] [stderr] Downloaded event-listener v2.5.1 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded url v2.1.0 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded async-task v4.0.3 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded fastrand v1.5.0 [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded simple-mutex v1.1.5 [INFO] [stderr] Downloaded async-dup v1.2.2 [INFO] [stderr] Downloaded bincode v1.2.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded futures-executor v0.3.18 [INFO] [stderr] Downloaded futures-macro v0.3.18 [INFO] [stderr] Downloaded futures-sink v0.3.18 [INFO] [stderr] Downloaded futures-task v0.3.18 [INFO] [stderr] Downloaded futures-util v0.3.18 [INFO] [stderr] Downloaded hex v0.4.0 [INFO] [stderr] Downloaded hex-literal v0.3.4 [INFO] [stderr] Downloaded ntest_test_cases v0.7.3 [INFO] [stderr] Downloaded ntest_proc_macro_helper v0.7.3 [INFO] [stderr] Downloaded ntest_timeout v0.7.3 [INFO] [stderr] Downloaded ntest v0.7.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b6c0d9a0d55f0281431b69d2edc4d80b009a37fbe307ec9e65e952618c123b [INFO] running `Command { std: "docker" "start" "-a" "d0b6c0d9a0d55f0281431b69d2edc4d80b009a37fbe307ec9e65e952618c123b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b6c0d9a0d55f0281431b69d2edc4d80b009a37fbe307ec9e65e952618c123b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b6c0d9a0d55f0281431b69d2edc4d80b009a37fbe307ec9e65e952618c123b", kill_on_drop: false }` [INFO] [stdout] d0b6c0d9a0d55f0281431b69d2edc4d80b009a37fbe307ec9e65e952618c123b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d792a5d29dba31c034483d5d291f079212c65d3ed2c50a89dbaf7f38997b2ab [INFO] running `Command { std: "docker" "start" "-a" "8d792a5d29dba31c034483d5d291f079212c65d3ed2c50a89dbaf7f38997b2ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking async-process v1.3.0 [INFO] [stderr] Checking async-net v1.6.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking simple-mutex v1.1.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.3 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking stderrlog v0.5.1 [INFO] [stderr] Checking async-dup v1.2.2 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Checking tiny_http v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling ntest_test_cases v0.7.3 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Sender`, `TryRecvError`, `unbounded` [INFO] [stdout] --> src/miner/worker.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crossbeam::channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/miner/worker.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_vec` [INFO] [stdout] --> src/network/worker.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | Message::NewTransactionHashes(hash_vec) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_vec` [INFO] [stdout] --> src/network/worker.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | Message::GetTransactions(hash_vec) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signed_tx_vec` [INFO] [stdout] --> src/network/worker.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | Message::Transactions(signed_tx_vec) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed_tx_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling ntest_timeout v0.7.3 [INFO] [stderr] Checking ntest v0.7.3 [INFO] [stdout] warning: unused imports: `Sender`, `TryRecvError`, `unbounded` [INFO] [stdout] --> src/miner/worker.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crossbeam::channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/miner/worker.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_vec` [INFO] [stdout] --> src/network/worker.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | Message::NewTransactionHashes(hash_vec) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_vec` [INFO] [stdout] --> src/network/worker.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | Message::GetTransactions(hash_vec) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signed_tx_vec` [INFO] [stdout] --> src/network/worker.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | Message::Transactions(signed_tx_vec) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed_tx_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 44.95s [INFO] running `Command { std: "docker" "inspect" "8d792a5d29dba31c034483d5d291f079212c65d3ed2c50a89dbaf7f38997b2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d792a5d29dba31c034483d5d291f079212c65d3ed2c50a89dbaf7f38997b2ab", kill_on_drop: false }` [INFO] [stdout] 8d792a5d29dba31c034483d5d291f079212c65d3ed2c50a89dbaf7f38997b2ab [INFO] checking ryanhoangt/principles-of-blockchains-project against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanhoangt%2Fprinciples-of-blockchains-project" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanhoangt/principles-of-blockchains-project on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ryanhoangt/principles-of-blockchains-project [INFO] finished tweaking git repo https://github.com/ryanhoangt/principles-of-blockchains-project [INFO] tweaked toml for git repo https://github.com/ryanhoangt/principles-of-blockchains-project written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ryanhoangt/principles-of-blockchains-project already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b13defc791f34304937d274d09c6226d7d0e1a9817216587c2d159263c0e813 [INFO] running `Command { std: "docker" "start" "-a" "7b13defc791f34304937d274d09c6226d7d0e1a9817216587c2d159263c0e813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b13defc791f34304937d274d09c6226d7d0e1a9817216587c2d159263c0e813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b13defc791f34304937d274d09c6226d7d0e1a9817216587c2d159263c0e813", kill_on_drop: false }` [INFO] [stdout] 7b13defc791f34304937d274d09c6226d7d0e1a9817216587c2d159263c0e813 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dunexpected_cfgs" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] 842dba5d0ec9c16d6224452305cc3fe53dcbbadc9c9a9d2b253e158777f59ba7 [INFO] running `Command { std: "docker" "start" "-a" "842dba5d0ec9c16d6224452305cc3fe53dcbbadc9c9a9d2b253e158777f59ba7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking fastrand v1.5.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking futures-lite v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Checking polling v2.2.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking async-io v1.6.0 [INFO] [stderr] Checking blocking v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Compiling bincode v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking async-process v1.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking async-net v1.6.1 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking async-executor v1.4.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking simple-mutex v1.1.5 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.3 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking stderrlog v0.5.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Checking smol v1.2.5 [INFO] [stderr] Checking async-dup v1.2.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking tiny_http v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling ntest_test_cases v0.7.3 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Checking bitcoin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ntest_timeout v0.7.3 [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/miner/mod.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `debug_assertions`, `doc`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `unix`, `windows` [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Sender`, `TryRecvError`, `unbounded` [INFO] [stdout] --> src/miner/worker.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use crossbeam::channel::{unbounded, Receiver, Sender, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/miner/worker.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/peer.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 30 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/peer.rs:62:16 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/peer.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/server.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/server.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/server.rs:270:20 [INFO] [stdout] | [INFO] [stdout] 270 | #[cfg(any(test,test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/network/worker.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/block.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/hash.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/hash.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition name: `test_utilities` [INFO] [stdout] --> src/types/transaction.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(any(test, test_utilities))] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead or adding `println!("cargo:rustc-check-cfg=cfg(test_utilities)");` to the top of a `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_vec` [INFO] [stdout] --> src/network/worker.rs:114:47 [INFO] [stdout] | [INFO] [stdout] 114 | Message::NewTransactionHashes(hash_vec) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hash_vec` [INFO] [stdout] --> src/network/worker.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | Message::GetTransactions(hash_vec) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hash_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signed_tx_vec` [INFO] [stdout] --> src/network/worker.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | Message::Transactions(signed_tx_vec) => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signed_tx_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bitcoin` (bin "bitcoin") due to 17 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "842dba5d0ec9c16d6224452305cc3fe53dcbbadc9c9a9d2b253e158777f59ba7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "842dba5d0ec9c16d6224452305cc3fe53dcbbadc9c9a9d2b253e158777f59ba7", kill_on_drop: false }` [INFO] [stdout] 842dba5d0ec9c16d6224452305cc3fe53dcbbadc9c9a9d2b253e158777f59ba7