[INFO] cloning repository https://github.com/lla-dane/Rust-Chain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lla-dane/Rust-Chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 073faec3b5552b4e36ae36b84b2980450c836b53 [INFO] checking lla-dane/Rust-Chain against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lla-dane/Rust-Chain on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] finished tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] tweaked toml for git repo https://github.com/lla-dane/Rust-Chain written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lla-dane/Rust-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitcoincash-addr v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07b4fa7e2522f5740cdddff333604affa0a6220ce33d819b19010b3d24f924d1 [INFO] running `Command { std: "docker" "start" "-a" "07b4fa7e2522f5740cdddff333604affa0a6220ce33d819b19010b3d24f924d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07b4fa7e2522f5740cdddff333604affa0a6220ce33d819b19010b3d24f924d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b4fa7e2522f5740cdddff333604affa0a6220ce33d819b19010b3d24f924d1", kill_on_drop: false }` [INFO] [stdout] 07b4fa7e2522f5740cdddff333604affa0a6220ce33d819b19010b3d24f924d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c48cd4c681a5eed76ba0d9bb954fd633053c74bc3518bde153f98eeb2bf07a34 [INFO] running `Command { std: "docker" "start" "-a" "c48cd4c681a5eed76ba0d9bb954fd633053c74bc3518bde153f98eeb2bf07a34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking Rust-Chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.43s [INFO] running `Command { std: "docker" "inspect" "c48cd4c681a5eed76ba0d9bb954fd633053c74bc3518bde153f98eeb2bf07a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c48cd4c681a5eed76ba0d9bb954fd633053c74bc3518bde153f98eeb2bf07a34", kill_on_drop: false }` [INFO] [stdout] c48cd4c681a5eed76ba0d9bb954fd633053c74bc3518bde153f98eeb2bf07a34 [INFO] checking lla-dane/Rust-Chain against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flla-dane%2FRust-Chain" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lla-dane/Rust-Chain on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] finished tweaking git repo https://github.com/lla-dane/Rust-Chain [INFO] tweaked toml for git repo https://github.com/lla-dane/Rust-Chain written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lla-dane/Rust-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08d4e99e0327d24a9f01acb738e72acfc3e10ac2c3057f40917761844fa29160 [INFO] running `Command { std: "docker" "start" "-a" "08d4e99e0327d24a9f01acb738e72acfc3e10ac2c3057f40917761844fa29160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08d4e99e0327d24a9f01acb738e72acfc3e10ac2c3057f40917761844fa29160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08d4e99e0327d24a9f01acb738e72acfc3e10ac2c3057f40917761844fa29160", kill_on_drop: false }` [INFO] [stdout] 08d4e99e0327d24a9f01acb738e72acfc3e10ac2c3057f40917761844fa29160 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9272f6a608790a328b85baaeb2856dee34cb82412497bff920de67b811ed0c5b [INFO] running `Command { std: "docker" "start" "-a" "9272f6a608790a328b85baaeb2856dee34cb82412497bff920de67b811ed0c5b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking Rust-Chain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TXOutput` [INFO] [stdout] --> src/blockchain.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::tx::{TXOutput, TXOutputs}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::block::Block` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::block::Block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bincode::serialize` [INFO] [stdout] --> src/transaction.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use bincode::serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/transaction.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/blockchain.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | if let Err(e) = std::fs::remove_dir_all("data/blocks") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/utxoset.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | if let Err(e) = std::fs::remove_dir_all("data/utxos") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hash_transactions` is never used [INFO] [stdout] --> src/block.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl Block { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn hash_transactions(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_transaction` and `find_unspent_transactions` are never used [INFO] [stdout] --> src/blockchain.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Blockchain { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn verify_transaction(&self, tx: &mut Transaction) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn find_unspent_transactions(&self, address: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/transaction.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Transaction { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn verify(&mut self, prev_txs: HashMap) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `can_unlock_output_with` is never used [INFO] [stdout] --> src/tx.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl TXInput { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 28 | // CanUnlockOutputWith checks whether the address initiated the transaction [INFO] [stdout] 29 | pub fn can_unlock_output_with(&self, sender_address: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/blockchain.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 31 | let db = sled::open("data/blocks")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let hash = db [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Blockchain { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | current_hash: lasthast.clone(), [INFO] [stdout] 40 | | db, [INFO] [stdout] 41 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/blockchain.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 31 | let db = sled::open("data/blocks")?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 32 | let hash = db [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(Blockchain { [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | current_hash: lasthast.clone(), [INFO] [stdout] 40 | | db, [INFO] [stdout] 41 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Rust-Chain` (bin "Rust-Chain" test) due to 2 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `Rust-Chain` (bin "Rust-Chain") due to 2 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9272f6a608790a328b85baaeb2856dee34cb82412497bff920de67b811ed0c5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9272f6a608790a328b85baaeb2856dee34cb82412497bff920de67b811ed0c5b", kill_on_drop: false }` [INFO] [stdout] 9272f6a608790a328b85baaeb2856dee34cb82412497bff920de67b811ed0c5b