[INFO] updating cached repository https://github.com/kccqzy/SimpleBlockchain-rs [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a91e1b4b476af0e7d3047be4893a8c63d0a88377 [INFO] testing kccqzy/SimpleBlockchain-rs against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkccqzy%2FSimpleBlockchain-rs" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kccqzy/SimpleBlockchain-rs on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/kccqzy/SimpleBlockchain-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5653c5570bb69b567eba510d9ea0cd27bb568ded74386a87853d7fe67e80c2f1 [INFO] running `"docker" "start" "-a" "5653c5570bb69b567eba510d9ea0cd27bb568ded74386a87853d7fe67e80c2f1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.28 [INFO] [stderr] Compiling openssl v0.10.26 [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 openssl-sys v0.9.53 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling backtrace v0.3.42 [INFO] [stderr] Compiling rusqlite v0.21.0 [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 expanduser v1.2.1 [INFO] [stderr] Compiling thiserror v1.0.16 [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] [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 dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `"docker" "inspect" "5653c5570bb69b567eba510d9ea0cd27bb568ded74386a87853d7fe67e80c2f1"` [INFO] running `"docker" "rm" "-f" "5653c5570bb69b567eba510d9ea0cd27bb568ded74386a87853d7fe67e80c2f1"` [INFO] [stdout] 5653c5570bb69b567eba510d9ea0cd27bb568ded74386a87853d7fe67e80c2f1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 25dbce25a2abf9f7c5f9d06aee3494b4502faeab0cd53d18d679cd329b1d7db5 [INFO] running `"docker" "start" "-a" "25dbce25a2abf9f7c5f9d06aee3494b4502faeab0cd53d18d679cd329b1d7db5"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [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] 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] [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 31.38s [INFO] running `"docker" "inspect" "25dbce25a2abf9f7c5f9d06aee3494b4502faeab0cd53d18d679cd329b1d7db5"` [INFO] running `"docker" "rm" "-f" "25dbce25a2abf9f7c5f9d06aee3494b4502faeab0cd53d18d679cd329b1d7db5"` [INFO] [stdout] 25dbce25a2abf9f7c5f9d06aee3494b4502faeab0cd53d18d679cd329b1d7db5 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6c47df1bbb8fb299794a45acf2ae64801ea0c4e64562f90b04c0895c93f14774 [INFO] running `"docker" "start" "-a" "6c47df1bbb8fb299794a45acf2ae64801ea0c4e64562f90b04c0895c93f14774"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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: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: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.28s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/simple_blockchain-3fdddeab6bdd02ae [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::initial_default_wallet_zero_balance ... ok [INFO] [stdout] test core::tests::initial_no_tentative_txns ... ok [INFO] [stdout] test core::tests::can_produce_empty_stats ... ok [INFO] [stdout] test core::tests::can_create_trustworthy_wallet ... ok [INFO] [stdout] test core::tests::can_accept_orphaned_tentative_txns ... ok [INFO] [stdout] test core::tests::can_accept_conflicting_tentative_txns ... ok [INFO] [stdout] test core::tests::can_create_bs ... ok [INFO] [stdout] test core::tests::can_recreate_db ... ok [INFO] [stdout] test core::tests::can_receive_genesis_block ... ok [INFO] [stdout] test core::tests::can_solve_hash_challenge ... ok [INFO] [stdout] test core::tests::can_mine_genesis_block ... ok [INFO] [stdout] test core::tests::can_send_money ... 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 `"docker" "inspect" "6c47df1bbb8fb299794a45acf2ae64801ea0c4e64562f90b04c0895c93f14774"` [INFO] running `"docker" "rm" "-f" "6c47df1bbb8fb299794a45acf2ae64801ea0c4e64562f90b04c0895c93f14774"` [INFO] [stdout] 6c47df1bbb8fb299794a45acf2ae64801ea0c4e64562f90b04c0895c93f14774