[INFO] cloning repository https://github.com/Akasxh/rust_blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Akasxh/rust_blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkasxh%2Frust_blockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkasxh%2Frust_blockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1445fbb1f2c6794b59995250595983bd005444c3 [INFO] building Akasxh/rust_blockchain against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAkasxh%2Frust_blockchain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Akasxh/rust_blockchain [INFO] finished tweaking git repo https://github.com/Akasxh/rust_blockchain [INFO] tweaked toml for git repo https://github.com/Akasxh/rust_blockchain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Akasxh/rust_blockchain 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/Akasxh/rust_blockchain 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 block-modes v0.8.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73d3a755a3a9b9ea6336ac94b970ae47c33cadc69524d43a23c943f687c2e3d8 [INFO] running `Command { std: "docker" "start" "-a" "73d3a755a3a9b9ea6336ac94b970ae47c33cadc69524d43a23c943f687c2e3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73d3a755a3a9b9ea6336ac94b970ae47c33cadc69524d43a23c943f687c2e3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d3a755a3a9b9ea6336ac94b970ae47c33cadc69524d43a23c943f687c2e3d8", kill_on_drop: false }` [INFO] [stdout] 73d3a755a3a9b9ea6336ac94b970ae47c33cadc69524d43a23c943f687c2e3d8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 468a3e2394f018a4e303b1b01cbb2f2bb8073c8c7271ee4ad38dd701551d4f82 [INFO] running `Command { std: "docker" "start" "-a" "468a3e2394f018a4e303b1b01cbb2f2bb8073c8c7271ee4ad38dd701551d4f82", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling winnow v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling serde_json v1.0.139 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling block-modes v0.8.1 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling is-terminal v0.4.15 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling tempfile v3.17.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.86 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `verify_signature` is never used [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | fn verify_signature(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/main.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl Blockchain { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_data` is never used [INFO] [stdout] --> src/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decrypt_data(encrypted_data: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_message` is never used [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify_message(message: &[u8], signature_hex: &str, public_key: &PublicKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "468a3e2394f018a4e303b1b01cbb2f2bb8073c8c7271ee4ad38dd701551d4f82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468a3e2394f018a4e303b1b01cbb2f2bb8073c8c7271ee4ad38dd701551d4f82", kill_on_drop: false }` [INFO] [stdout] 468a3e2394f018a4e303b1b01cbb2f2bb8073c8c7271ee4ad38dd701551d4f82 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f99c13617c7f7f236f1777c3f6c0e60be39590db9bd5683d7a5214778a7568 [INFO] running `Command { std: "docker" "start" "-a" "34f99c13617c7f7f236f1777c3f6c0e60be39590db9bd5683d7a5214778a7568", kill_on_drop: false }` [INFO] [stderr] Compiling rust_blockchain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `verify_signature` is never used [INFO] [stdout] --> src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 104 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 160 | fn verify_signature(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_valid` is never used [INFO] [stdout] --> src/main.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 172 | impl Blockchain { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt_data` is never used [INFO] [stdout] --> src/main.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decrypt_data(encrypted_data: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_message` is never used [INFO] [stdout] --> src/main.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify_message(message: &[u8], signature_hex: &str, public_key: &PublicKey) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "34f99c13617c7f7f236f1777c3f6c0e60be39590db9bd5683d7a5214778a7568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f99c13617c7f7f236f1777c3f6c0e60be39590db9bd5683d7a5214778a7568", kill_on_drop: false }` [INFO] [stdout] 34f99c13617c7f7f236f1777c3f6c0e60be39590db9bd5683d7a5214778a7568