[INFO] updating cached repository https://github.com/kccqzy/SimpleBlockchain-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a91e1b4b476af0e7d3047be4893a8c63d0a88377 [INFO] testing kccqzy/SimpleBlockchain-rs against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs" "/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/kccqzy/SimpleBlockchain-rs on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kccqzy/SimpleBlockchain-rs [INFO] finished tweaking git repo https://github.com/kccqzy/SimpleBlockchain-rs [INFO] tweaked toml for git repo https://github.com/kccqzy/SimpleBlockchain-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/kccqzy/SimpleBlockchain-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e8b3f5edee7c77d4d5b0bb7b7622338a02f0fff5aba889b34a61cfd1714bb40 [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" "2e8b3f5edee7c77d4d5b0bb7b7622338a02f0fff5aba889b34a61cfd1714bb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e8b3f5edee7c77d4d5b0bb7b7622338a02f0fff5aba889b34a61cfd1714bb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8b3f5edee7c77d4d5b0bb7b7622338a02f0fff5aba889b34a61cfd1714bb40", kill_on_drop: false }` [INFO] [stdout] 2e8b3f5edee7c77d4d5b0bb7b7622338a02f0fff5aba889b34a61cfd1714bb40 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a16a4e094c35928e758d605b4c8c1cf8b82a957dd853c1fb1a69981486272989 [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" "a16a4e094c35928e758d605b4c8c1cf8b82a957dd853c1fb1a69981486272989", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling bs58 v0.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling pwd v1.3.0 [INFO] [stderr] Compiling thiserror v1.0.16 [INFO] [stderr] Compiling expanduser v1.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling simple_blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "a16a4e094c35928e758d605b4c8c1cf8b82a957dd853c1fb1a69981486272989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16a4e094c35928e758d605b4c8c1cf8b82a957dd853c1fb1a69981486272989", kill_on_drop: false }` [INFO] [stdout] a16a4e094c35928e758d605b4c8c1cf8b82a957dd853c1fb1a69981486272989 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a58b7757281225b10892b66e0174c8d73438c7bbdef00d4ee4f02e339092584 [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" "6a58b7757281225b10892b66e0174c8d73438c7bbdef00d4ee4f02e339092584", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling simple_blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:681:9 [INFO] [stdout] | [INFO] [stdout] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/core.rs:691:9 [INFO] [stdout] | [INFO] [stdout] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 33.40s [INFO] running `Command { std: "docker" "inspect" "6a58b7757281225b10892b66e0174c8d73438c7bbdef00d4ee4f02e339092584", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a58b7757281225b10892b66e0174c8d73438c7bbdef00d4ee4f02e339092584", kill_on_drop: false }` [INFO] [stdout] 6a58b7757281225b10892b66e0174c8d73438c7bbdef00d4ee4f02e339092584 [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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 564c8da32593bd72519e66ac0e63f3581093b65bbd8a3c0f780d20eac77f2886 [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" "564c8da32593bd72519e66ac0e63f3581093b65bbd8a3c0f780d20eac77f2886", kill_on_drop: false }` [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/core.rs:681:9 [INFO] [stderr] | [INFO] [stderr] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/core.rs:691:9 [INFO] [stderr] | [INFO] [stderr] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/core.rs:681:9 [INFO] [stderr] | [INFO] [stderr] 681 | std::mem::replace(&mut self.conn, sql::Connection::open_in_memory().unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/core.rs:691:9 [INFO] [stderr] | [INFO] [stderr] 691 | std::mem::replace(&mut self.conn, BlockchainStorage::open_conn(self.path.as_deref())); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/simple_blockchain-d47408d8584e01f8 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test core::tests::can_create_raw_transaction ... ok [INFO] [stdout] test core::tests::format_amount ... ok [INFO] [stdout] test core::tests::serialized_block_has_nonce_first ... ok [INFO] [stdout] test core::tests::can_create_wallet ... ok [INFO] [stdout] test core::tests::round_trips_to_disk ... ok [INFO] [stdout] test core::tests::can_produce_empty_stats ... ok [INFO] [stdout] test core::tests::initial_default_wallet_zero_balance ... ok [INFO] [stdout] test core::tests::initial_no_tentative_txns ... ok [INFO] [stdout] test core::tests::can_create_trustworthy_wallet ... ok [INFO] [stdout] test core::tests::can_receive_genesis_block ... ok [INFO] [stdout] test core::tests::can_create_bs ... ok [INFO] [stdout] test core::tests::can_accept_conflicting_tentative_txns ... ok [INFO] [stdout] test core::tests::can_mine_genesis_block ... ok [INFO] [stdout] test core::tests::can_send_money ... ok [INFO] [stdout] test core::tests::can_solve_hash_challenge ... ok [INFO] [stdout] test core::tests::can_accept_orphaned_tentative_txns ... ok [INFO] [stdout] test core::tests::can_recreate_db ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests simple_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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "564c8da32593bd72519e66ac0e63f3581093b65bbd8a3c0f780d20eac77f2886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "564c8da32593bd72519e66ac0e63f3581093b65bbd8a3c0f780d20eac77f2886", kill_on_drop: false }` [INFO] [stdout] 564c8da32593bd72519e66ac0e63f3581093b65bbd8a3c0f780d20eac77f2886