[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 55b9c3646baf513df053c1eeca96f27564ec56432ed663ba1c0702c89d898bca [INFO] running `Command { std: "docker" "start" "-a" "55b9c3646baf513df053c1eeca96f27564ec56432ed663ba1c0702c89d898bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b9c3646baf513df053c1eeca96f27564ec56432ed663ba1c0702c89d898bca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b9c3646baf513df053c1eeca96f27564ec56432ed663ba1c0702c89d898bca", kill_on_drop: false }` [INFO] [stdout] 55b9c3646baf513df053c1eeca96f27564ec56432ed663ba1c0702c89d898bca [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a87f82596fb42cd6eafe0d4cbcf6f5939b7e4010db49c6ae3d4e93b0b8801df4 [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" "a87f82596fb42cd6eafe0d4cbcf6f5939b7e4010db49c6ae3d4e93b0b8801df4", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayref v0.3.6 [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 10.63s [INFO] running `Command { std: "docker" "inspect" "a87f82596fb42cd6eafe0d4cbcf6f5939b7e4010db49c6ae3d4e93b0b8801df4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a87f82596fb42cd6eafe0d4cbcf6f5939b7e4010db49c6ae3d4e93b0b8801df4", kill_on_drop: false }` [INFO] [stdout] a87f82596fb42cd6eafe0d4cbcf6f5939b7e4010db49c6ae3d4e93b0b8801df4 [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a44628fd69ff2a9f52446e3c5e51d7526c718c3a536f181948b4be5f7259bca1 [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" "a44628fd69ff2a9f52446e3c5e51d7526c718c3a536f181948b4be5f7259bca1", 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.16s [INFO] running `Command { std: "docker" "inspect" "a44628fd69ff2a9f52446e3c5e51d7526c718c3a536f181948b4be5f7259bca1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a44628fd69ff2a9f52446e3c5e51d7526c718c3a536f181948b4be5f7259bca1", kill_on_drop: false }` [INFO] [stdout] a44628fd69ff2a9f52446e3c5e51d7526c718c3a536f181948b4be5f7259bca1 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47ad688ce05f96820b9db753974047293fa7cc8c192ad403ec107c088fabc0cf [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" "47ad688ce05f96820b9db753974047293fa7cc8c192ad403ec107c088fabc0cf", 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.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/blockchain-74352d87ee61d737) [INFO] [stdout] running 14 tests [INFO] [stdout] test block::test_calculate_hash_does_not_collide ... ok [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 transaction::transaction_tests::test_apply_create_already_existing_user ... ok [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_apply_mint_missing_user ... ok [INFO] [stdout] test transaction::transaction_tests::test_apply_mint_not_genesis ... ok [INFO] [stdout] test transaction::transaction_tests::test_send_tokens ... ok [INFO] [stdout] test transaction::transaction_tests::test_send_tokens_overflow ... ok [INFO] [stdout] test transaction::transaction_tests::test_send_tokens_not_enough_tokens ... ok [INFO] [stdout] test transaction::transaction_tests::test_prevent_using_minting ... ok [INFO] [stdout] test blockchain::test_cannot_create_duplicate_accounts ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/main-48b7b45e4e0bc8d7) [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] [stderr] Doc-tests blockchain [INFO] [stdout] [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" "47ad688ce05f96820b9db753974047293fa7cc8c192ad403ec107c088fabc0cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ad688ce05f96820b9db753974047293fa7cc8c192ad403ec107c088fabc0cf", kill_on_drop: false }` [INFO] [stdout] 47ad688ce05f96820b9db753974047293fa7cc8c192ad403ec107c088fabc0cf