[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 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kccqzy/SimpleBlockchain-rs on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-7/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" "+1.45.2" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 27c63bd6ea7536da5fd4cdd25815d0a3cf98239787169db0c097868a24cc9643 [INFO] running `Command { std: "docker" "start" "-a" "27c63bd6ea7536da5fd4cdd25815d0a3cf98239787169db0c097868a24cc9643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27c63bd6ea7536da5fd4cdd25815d0a3cf98239787169db0c097868a24cc9643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27c63bd6ea7536da5fd4cdd25815d0a3cf98239787169db0c097868a24cc9643", kill_on_drop: false }` [INFO] [stdout] 27c63bd6ea7536da5fd4cdd25815d0a3cf98239787169db0c097868a24cc9643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdb30217bcd6e17e8988ff870452c1a1401e907466df84c321a513168ffd524c [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" "cdb30217bcd6e17e8988ff870452c1a1401e907466df84c321a513168ffd524c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling anyhow v1.0.28 [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 lru-cache v0.1.2 [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 time v0.1.42 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling quote v1.0.2 [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: `#[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 11s [INFO] running `Command { std: "docker" "inspect" "cdb30217bcd6e17e8988ff870452c1a1401e907466df84c321a513168ffd524c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdb30217bcd6e17e8988ff870452c1a1401e907466df84c321a513168ffd524c", kill_on_drop: false }` [INFO] [stdout] cdb30217bcd6e17e8988ff870452c1a1401e907466df84c321a513168ffd524c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 8cd3e4b6219aa2a9ec3e7bfd2597029cc4d36d7b7df9b166185c4d2b610f4ac7 [INFO] running `Command { std: "docker" "start" "-a" "8cd3e4b6219aa2a9ec3e7bfd2597029cc4d36d7b7df9b166185c4d2b610f4ac7", kill_on_drop: false }` [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [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 24.33s [INFO] running `Command { std: "docker" "inspect" "8cd3e4b6219aa2a9ec3e7bfd2597029cc4d36d7b7df9b166185c4d2b610f4ac7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cd3e4b6219aa2a9ec3e7bfd2597029cc4d36d7b7df9b166185c4d2b610f4ac7", kill_on_drop: false }` [INFO] [stdout] 8cd3e4b6219aa2a9ec3e7bfd2597029cc4d36d7b7df9b166185c4d2b610f4ac7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", 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] 23941c82db00a10ca979898ac661d76414703c67e0185fc15ebee56e4c28f150 [INFO] running `Command { std: "docker" "start" "-a" "23941c82db00a10ca979898ac661d76414703c67e0185fc15ebee56e4c28f150", 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.13s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/simple_blockchain-e8faf6def0a1271d [INFO] [stdout] running 17 tests [INFO] [stdout] test core::tests::can_create_raw_transaction ... ok [INFO] [stdout] test core::tests::can_create_wallet ... 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_produce_empty_stats ... ok [INFO] [stdout] test core::tests::round_trips_to_disk ... 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_orphaned_tentative_txns ... ok [INFO] [stdout] test core::tests::can_recreate_db ... ok [INFO] [stdout] test core::tests::can_mine_genesis_block ... ok [INFO] [stdout] test core::tests::can_accept_conflicting_tentative_txns ... ok [INFO] [stdout] test core::tests::can_send_money ... ok [INFO] [stderr] Doc-tests simple_blockchain [INFO] [stdout] test core::tests::can_solve_hash_challenge ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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" "23941c82db00a10ca979898ac661d76414703c67e0185fc15ebee56e4c28f150", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23941c82db00a10ca979898ac661d76414703c67e0185fc15ebee56e4c28f150", kill_on_drop: false }` [INFO] [stdout] 23941c82db00a10ca979898ac661d76414703c67e0185fc15ebee56e4c28f150