[INFO] cloning repository https://github.com/tsauvajon/blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tsauvajon/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsauvajon%2Fblockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsauvajon%2Fblockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36b96e1edc98580d7d3e6f08002434ececff31da [INFO] testing tsauvajon/blockchain against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftsauvajon%2Fblockchain" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tsauvajon/blockchain 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 git repo https://github.com/tsauvajon/blockchain [INFO] finished tweaking git repo https://github.com/tsauvajon/blockchain [INFO] tweaked toml for git repo https://github.com/tsauvajon/blockchain written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/tsauvajon/blockchain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] fb5c1f479710026610e04b7e4749cd23cdce798afd9a81ff2ee65ec3eabf345e [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" "fb5c1f479710026610e04b7e4749cd23cdce798afd9a81ff2ee65ec3eabf345e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb5c1f479710026610e04b7e4749cd23cdce798afd9a81ff2ee65ec3eabf345e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5c1f479710026610e04b7e4749cd23cdce798afd9a81ff2ee65ec3eabf345e", kill_on_drop: false }` [INFO] [stdout] fb5c1f479710026610e04b7e4749cd23cdce798afd9a81ff2ee65ec3eabf345e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 4b86c9c01f692b6cb80e41599d93cd34573b8abf4f394befb543e69e8c6277ad [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" "4b86c9c01f692b6cb80e41599d93cd34573b8abf4f394befb543e69e8c6277ad", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling blake3 v0.3.7 [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/blockchain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `Blockchain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.42s [INFO] running `Command { std: "docker" "inspect" "4b86c9c01f692b6cb80e41599d93cd34573b8abf4f394befb543e69e8c6277ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b86c9c01f692b6cb80e41599d93cd34573b8abf4f394befb543e69e8c6277ad", kill_on_drop: false }` [INFO] [stdout] 4b86c9c01f692b6cb80e41599d93cd34573b8abf4f394befb543e69e8c6277ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] e8f04ef9c6764bb1128a0666c944065e5c1022e368673b04f4142d1f383d9689 [INFO] running `Command { std: "docker" "start" "-a" "e8f04ef9c6764bb1128a0666c944065e5c1022e368673b04f4142d1f383d9689", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/blockchain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `Blockchain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending_transactions` [INFO] [stdout] --> src/blockchain.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pending_transactions: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stdout] note: `Blockchain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/blockchain.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug)] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.14s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/blockchain-120a17e9f27c9172) [INFO] [stderr] Executable unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-3f5760a854f55f4c) [INFO] running `Command { std: "docker" "inspect" "e8f04ef9c6764bb1128a0666c944065e5c1022e368673b04f4142d1f383d9689", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8f04ef9c6764bb1128a0666c944065e5c1022e368673b04f4142d1f383d9689", kill_on_drop: false }` [INFO] [stdout] e8f04ef9c6764bb1128a0666c944065e5c1022e368673b04f4142d1f383d9689 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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", kill_on_drop: false }` [INFO] [stdout] 4a3c344cb1efd3dab4f6c66cdf66916ba21b33361879f9f766c4c0f7067d1444 [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" "4a3c344cb1efd3dab4f6c66cdf66916ba21b33361879f9f766c4c0f7067d1444", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `pending_transactions` [INFO] [stderr] --> src/blockchain.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | pending_transactions: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | warnings, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` [INFO] [stderr] note: `Blockchain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/blockchain.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `blockchain` (lib) generated 1 warning [INFO] [stderr] warning: `blockchain` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/blockchain-120a17e9f27c9172) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test transaction::transaction_tests::test_apply_create_user ... ok [INFO] [stdout] test transaction::transaction_tests::test_apply_mint ... ok [INFO] [stdout] test transaction::transaction_tests::test_send_tokens_overflow ... ok [INFO] [stdout] test transaction::transaction_tests::test_apply_mint_missing_user ... ok [INFO] [stdout] test transaction::transaction_tests::test_send_tokens_not_enough_tokens ... ok [INFO] [stdout] test transaction::transaction_tests::test_send_tokens ... ok [INFO] [stdout] test transaction::transaction_tests::test_prevent_using_minting ... ok [INFO] [stdout] test transaction::transaction_tests::test_apply_create_already_existing_user ... ok [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-3f5760a854f55f4c) [INFO] [stdout] test block::test_calculate_hash_is_deterministic ... ok [INFO] [stdout] test block::test_calculate_hash_is_deterministic_with_transactions ... ok [INFO] [stdout] test blockchain::test_cannot_create_duplicate_accounts ... ok [INFO] [stdout] test transaction::transaction_tests::test_apply_mint_not_genesis ... ok [INFO] [stdout] test block::test_calculate_hash_does_not_collide ... ok [INFO] [stdout] test blockchain::test_add_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests blockchain [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | missing_doc_code_examples, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | warnings, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(renamed_and_removed_lints)]` implied by `#[deny(warnings)]` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "4a3c344cb1efd3dab4f6c66cdf66916ba21b33361879f9f766c4c0f7067d1444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3c344cb1efd3dab4f6c66cdf66916ba21b33361879f9f766c4c0f7067d1444", kill_on_drop: false }` [INFO] [stdout] 4a3c344cb1efd3dab4f6c66cdf66916ba21b33361879f9f766c4c0f7067d1444