[INFO] cloning repository https://github.com/HirotoShioi/nano_chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HirotoShioi/nano_chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHirotoShioi%2Fnano_chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHirotoShioi%2Fnano_chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c6615c381d15b85f625b53f6a140ccd76f449fc [INFO] testing HirotoShioi/nano_chain against master#d117135f5a9b69ee3adfb1918aa25616758bf692 for pr-107251 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHirotoShioi%2Fnano_chain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HirotoShioi/nano_chain on toolchain d117135f5a9b69ee3adfb1918aa25616758bf692 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HirotoShioi/nano_chain [INFO] finished tweaking git repo https://github.com/HirotoShioi/nano_chain [INFO] tweaked toml for git repo https://github.com/HirotoShioi/nano_chain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HirotoShioi/nano_chain already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded chrono v0.4.8 [INFO] [stderr] Downloaded syn v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08d6d0b8acadd31ef176b05a77b3f1ba27b8c3023a503e71f3327b95fd240abe [INFO] running `Command { std: "docker" "start" "-a" "08d6d0b8acadd31ef176b05a77b3f1ba27b8c3023a503e71f3327b95fd240abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08d6d0b8acadd31ef176b05a77b3f1ba27b8c3023a503e71f3327b95fd240abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d6d0b8acadd31ef176b05a77b3f1ba27b8c3023a503e71f3327b95fd240abe", kill_on_drop: false }` [INFO] [stdout] 08d6d0b8acadd31ef176b05a77b3f1ba27b8c3023a503e71f3327b95fd240abe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caa6dcdc8299c034ac69325e0cea3ce2bfa51850e1e0b664f00c316703b04fff [INFO] running `Command { std: "docker" "start" "-a" "caa6dcdc8299c034ac69325e0cea3ce2bfa51850e1e0b664f00c316703b04fff", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling sha3 v0.8.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling chrono v0.4.8 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling ctrlc v3.1.3 [INFO] [stderr] Compiling serde_derive v1.0.99 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_yaml v0.8.9 [INFO] [stderr] Compiling nano_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `blockchain`, `mempool`, `utxo`, and `network_difficulty` are never read [INFO] [stdout] --> src/node.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | blockchain: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | mempool: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | utxo: UTXO, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | network_difficulty: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `recv` is never used [INFO] [stdout] --> src/peer_discovery/util.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn recv(&self) -> Result, RecvError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.82s [INFO] running `Command { std: "docker" "inspect" "caa6dcdc8299c034ac69325e0cea3ce2bfa51850e1e0b664f00c316703b04fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caa6dcdc8299c034ac69325e0cea3ce2bfa51850e1e0b664f00c316703b04fff", kill_on_drop: false }` [INFO] [stdout] caa6dcdc8299c034ac69325e0cea3ce2bfa51850e1e0b664f00c316703b04fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b65968217d9f545df48fcc6841937b0b45cf1e853da4c2e58ddbdf1b8d473e2 [INFO] running `Command { std: "docker" "start" "-a" "7b65968217d9f545df48fcc6841937b0b45cf1e853da4c2e58ddbdf1b8d473e2", kill_on_drop: false }` [INFO] [stdout] warning: fields `blockchain`, `mempool`, `utxo`, and `network_difficulty` are never read [INFO] [stdout] --> src/node.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | blockchain: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | mempool: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | utxo: UTXO, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | network_difficulty: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nano_chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `recv` is never used [INFO] [stdout] --> src/peer_discovery/util.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn recv(&self) -> Result, RecvError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `blockchain`, `mempool`, `utxo`, and `network_difficulty` are never read [INFO] [stdout] --> src/node.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 6 | blockchain: BlockChain, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | mempool: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | utxo: UTXO, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | network_difficulty: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `recv` is never used [INFO] [stdout] --> src/peer_discovery/util.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn recv(&self) -> Result, RecvError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "7b65968217d9f545df48fcc6841937b0b45cf1e853da4c2e58ddbdf1b8d473e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b65968217d9f545df48fcc6841937b0b45cf1e853da4c2e58ddbdf1b8d473e2", kill_on_drop: false }` [INFO] [stdout] 7b65968217d9f545df48fcc6841937b0b45cf1e853da4c2e58ddbdf1b8d473e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5fa06e64a207ada65170167dc062fc2d5001c7a8dbddf020b217b3e771091c84 [INFO] running `Command { std: "docker" "start" "-a" "5fa06e64a207ada65170167dc062fc2d5001c7a8dbddf020b217b3e771091c84", kill_on_drop: false }` [INFO] [stderr] warning: fields `blockchain`, `mempool`, `utxo`, and `network_difficulty` are never read [INFO] [stderr] --> src/node.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Node { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 6 | blockchain: BlockChain, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 7 | mempool: Vec, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 8 | utxo: UTXO, [INFO] [stderr] | ^^^^ [INFO] [stderr] 9 | network_difficulty: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `recv` is never used [INFO] [stderr] --> src/peer_discovery/util.rs:37:12 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn recv(&self) -> Result, RecvError> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nano_chain` (lib) generated 2 warnings [INFO] [stderr] warning: `nano_chain` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nano_chain-2ed25e5cc4c2689c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test utxo::utxo_test::empy_input_should_throw_error ... ok [INFO] [stdout] test utxo::utxo_test::exact_amount_can_be_spent ... ok [INFO] [stdout] test utxo::utxo_test::insufficient_amount_should_throw_error ... ok [INFO] [stdout] test utxo::utxo_test::invalid_input_should_throw_error ... ok [INFO] [stdout] test utxo::utxo_test::should_have_inputs ... ok [INFO] [stdout] test utxo::utxo_test::process_single_transaction ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/peer_discovery.rs (/opt/rustwide/target/debug/deps/peer_discovery-8dbe8e11d8df4cb1) [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] Doc-tests nano_chain [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" "5fa06e64a207ada65170167dc062fc2d5001c7a8dbddf020b217b3e771091c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa06e64a207ada65170167dc062fc2d5001c7a8dbddf020b217b3e771091c84", kill_on_drop: false }` [INFO] [stdout] 5fa06e64a207ada65170167dc062fc2d5001c7a8dbddf020b217b3e771091c84