[INFO] cloning repository https://github.com/qaoo8/simple-blockchain-by-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qaoo8/simple-blockchain-by-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqaoo8%2Fsimple-blockchain-by-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqaoo8%2Fsimple-blockchain-by-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 760bc3c51ab8728e7da842bbdffde73267b392db [INFO] building qaoo8/simple-blockchain-by-rust against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqaoo8%2Fsimple-blockchain-by-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/qaoo8/simple-blockchain-by-rust [INFO] finished tweaking git repo https://github.com/qaoo8/simple-blockchain-by-rust [INFO] tweaked toml for git repo https://github.com/qaoo8/simple-blockchain-by-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/qaoo8/simple-blockchain-by-rust on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/qaoo8/simple-blockchain-by-rust 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.10 [INFO] [stderr] Downloaded bitcoin_hashes v0.7.6 [INFO] [stderr] Downloaded merkle-cbt v0.3.2 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] [stderr] Downloaded cc v1.1.6 [INFO] [stderr] Downloaded clap_builder v4.5.10 [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded sled v0.34.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec12f010740a1bdcb9b108f7989ef33dde54f9e39a56c85da34ef9e07826cadc [INFO] running `Command { std: "docker" "start" "-a" "ec12f010740a1bdcb9b108f7989ef33dde54f9e39a56c85da34ef9e07826cadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec12f010740a1bdcb9b108f7989ef33dde54f9e39a56c85da34ef9e07826cadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec12f010740a1bdcb9b108f7989ef33dde54f9e39a56c85da34ef9e07826cadc", kill_on_drop: false }` [INFO] [stdout] ec12f010740a1bdcb9b108f7989ef33dde54f9e39a56c85da34ef9e07826cadc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6507ff3acf7cd4d32351d7330a95c58fccdc786a3ed862e42709a53508eef4b [INFO] running `Command { std: "docker" "start" "-a" "d6507ff3acf7cd4d32351d7330a95c58fccdc786a3ed862e42709a53508eef4b", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling object v0.36.2 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling bitcoin_hashes v0.7.6 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling clap_builder v4.5.10 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling backtrace v0.3.73 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling clap v4.5.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling bitcoincash-addr v0.5.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling blockchain-rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> BlockchainIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> BlockchainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.68s [INFO] running `Command { std: "docker" "inspect" "d6507ff3acf7cd4d32351d7330a95c58fccdc786a3ed862e42709a53508eef4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6507ff3acf7cd4d32351d7330a95c58fccdc786a3ed862e42709a53508eef4b", kill_on_drop: false }` [INFO] [stdout] d6507ff3acf7cd4d32351d7330a95c58fccdc786a3ed862e42709a53508eef4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cc4348d5222589d3ca0b16f096327d540eb34ced74e98cadbed8e979928b852 [INFO] running `Command { std: "docker" "start" "-a" "8cc4348d5222589d3ca0b16f096327d540eb34ced74e98cadbed8e979928b852", kill_on_drop: false }` [INFO] [stderr] Compiling blockchain-rust-demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/block.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/blockchain.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut b = Blockchain::new().unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/blockchain.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> BlockchainIter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> BlockchainIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "8cc4348d5222589d3ca0b16f096327d540eb34ced74e98cadbed8e979928b852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc4348d5222589d3ca0b16f096327d540eb34ced74e98cadbed8e979928b852", kill_on_drop: false }` [INFO] [stdout] 8cc4348d5222589d3ca0b16f096327d540eb34ced74e98cadbed8e979928b852