[INFO] cloning 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" "clone" "--bare" "https://github.com/kccqzy/SimpleBlockchain-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a91e1b4b476af0e7d3047be4893a8c63d0a88377 [INFO] testing kccqzy/SimpleBlockchain-rs against try#015dbcea68b7642e2acc268b5c8f3e9086fc02ff for pr-102570 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kccqzy/SimpleBlockchain-rs on toolchain 015dbcea68b7642e2acc268b5c8f3e9086fc02ff [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-0/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" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cb8dad287b4ef2eabcfaccb7e6936206d5b8fbee103558c38e40829f2cbb366 [INFO] running `Command { std: "docker" "start" "-a" "6cb8dad287b4ef2eabcfaccb7e6936206d5b8fbee103558c38e40829f2cbb366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cb8dad287b4ef2eabcfaccb7e6936206d5b8fbee103558c38e40829f2cbb366", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cb8dad287b4ef2eabcfaccb7e6936206d5b8fbee103558c38e40829f2cbb366", kill_on_drop: false }` [INFO] [stdout] 6cb8dad287b4ef2eabcfaccb7e6936206d5b8fbee103558c38e40829f2cbb366 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0605aac40108d1d28a3de8cee84d65fdf6cde1eaffd7304e71da8dcd909d613e [INFO] running `Command { std: "docker" "start" "-a" "0605aac40108d1d28a3de8cee84d65fdf6cde1eaffd7304e71da8dcd909d613e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.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 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 backtrace v0.3.42 [INFO] [stderr] Compiling synstructure v0.12.3 [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 expanduser v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.16 [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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 14.80s [INFO] running `Command { std: "docker" "inspect" "0605aac40108d1d28a3de8cee84d65fdf6cde1eaffd7304e71da8dcd909d613e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0605aac40108d1d28a3de8cee84d65fdf6cde1eaffd7304e71da8dcd909d613e", kill_on_drop: false }` [INFO] [stdout] 0605aac40108d1d28a3de8cee84d65fdf6cde1eaffd7304e71da8dcd909d613e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3269d4234629bce7032391201665dab76ba4f33d3ebe2afcc63fcccac9d42853 [INFO] running `Command { std: "docker" "start" "-a" "3269d4234629bce7032391201665dab76ba4f33d3ebe2afcc63fcccac9d42853", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fnv v1.0.6 [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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 5.85s [INFO] running `Command { std: "docker" "inspect" "3269d4234629bce7032391201665dab76ba4f33d3ebe2afcc63fcccac9d42853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3269d4234629bce7032391201665dab76ba4f33d3ebe2afcc63fcccac9d42853", kill_on_drop: false }` [INFO] [stdout] 3269d4234629bce7032391201665dab76ba4f33d3ebe2afcc63fcccac9d42853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+015dbcea68b7642e2acc268b5c8f3e9086fc02ff" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e6d4e13e0970eedd56a59920cd2633b69b53f12ba7b340ba3d36f9472a8ab3c6 [INFO] running `Command { std: "docker" "start" "-a" "e6d4e13e0970eedd56a59920cd2633b69b53f12ba7b340ba3d36f9472a8ab3c6", 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: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [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: `simple_blockchain` (lib) generated 2 warnings [INFO] [stderr] warning: `simple_blockchain` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/libblockchain.rs (/opt/rustwide/target/debug/deps/simple_blockchain-c4879ddac2611ca4) [INFO] [stdout] [INFO] [stdout] running 17 tests [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::can_create_raw_transaction ... ok [INFO] [stdout] test core::tests::round_trips_to_disk ... ok [INFO] [stdout] test core::tests::can_create_trustworthy_wallet ... ok [INFO] [stdout] test core::tests::can_produce_empty_stats ... ok [INFO] [stdout] test core::tests::initial_no_tentative_txns ... ok [INFO] [stdout] test core::tests::initial_default_wallet_zero_balance ... ok [INFO] [stdout] test core::tests::can_mine_genesis_block ... ok [INFO] [stdout] test core::tests::can_create_bs ... ok [INFO] [stdout] test core::tests::can_receive_genesis_block ... ok [INFO] [stdout] test core::tests::can_recreate_db ... ok [INFO] [stdout] test core::tests::can_accept_orphaned_tentative_txns ... 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_conflicting_tentative_txns ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.76s [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e6d4e13e0970eedd56a59920cd2633b69b53f12ba7b340ba3d36f9472a8ab3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6d4e13e0970eedd56a59920cd2633b69b53f12ba7b340ba3d36f9472a8ab3c6", kill_on_drop: false }` [INFO] [stdout] e6d4e13e0970eedd56a59920cd2633b69b53f12ba7b340ba3d36f9472a8ab3c6