[INFO] cloning repository https://github.com/Evans-tats/blockchain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Evans-tats/blockchain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvans-tats%2Fblockchain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvans-tats%2Fblockchain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4395d1f9804a817fd340db1a007f63e2863697b1 [INFO] checking Evans-tats/blockchain/4395d1f9804a817fd340db1a007f63e2863697b1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEvans-tats%2Fblockchain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Evans-tats/blockchain on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Evans-tats/blockchain [INFO] finished tweaking git repo https://github.com/Evans-tats/blockchain [INFO] tweaked toml for git repo https://github.com/Evans-tats/blockchain written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Evans-tats/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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55590ae8bf5bd57c62f1ad999f6bfb453052abb4a88f260bed2546a9fc92f985 [INFO] running `Command { std: "docker" "start" "-a" "55590ae8bf5bd57c62f1ad999f6bfb453052abb4a88f260bed2546a9fc92f985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55590ae8bf5bd57c62f1ad999f6bfb453052abb4a88f260bed2546a9fc92f985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55590ae8bf5bd57c62f1ad999f6bfb453052abb4a88f260bed2546a9fc92f985", kill_on_drop: false }` [INFO] [stdout] 55590ae8bf5bd57c62f1ad999f6bfb453052abb4a88f260bed2546a9fc92f985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86befe02c90e5872f3c0f097b712b75963e58c9e070b86142fa286fc8feffc08 [INFO] running `Command { std: "docker" "start" "-a" "86befe02c90e5872f3c0f097b712b75963e58c9e070b86142fa286fc8feffc08", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking bitcoin_hashes v0.7.6 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking merkle-cbt v0.3.2 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking env_logger v0.11.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde v1.0.195 [INFO] [stderr] Checking bitcoincash-addr v0.5.2 [INFO] [stderr] Checking serde_json v1.0.111 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking block v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/blocks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::index` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::seq::index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled::Db` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled::Db; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Matches` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoincash_addr::Address` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoincash_addr::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error` [INFO] [stdout] --> src/transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::blockchain::Blockchain` [INFO] [stdout] --> src/blocks.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::blockchain::Blockchain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::index` [INFO] [stdout] --> src/blockchain.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::seq::index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sled::Db` [INFO] [stdout] --> src/blockchain.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sled::Db; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::Matches` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::Matches; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bitcoincash_addr::Address` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bitcoincash_addr::Address; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::error` [INFO] [stdout] --> src/transaction.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::error; [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:30:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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] 27 | let hash = db.get("LAST")?.expect("must create a new blockchain database first"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Blockchain { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | current_hash: lasthash, [INFO] [stdout] 32 | | db, [INFO] [stdout] 33 | | }) [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] warning: variable `spent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut spent_TXOs: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut unspent_TXOs: Vec= Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_UTXO` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn find_UTXO(&self, address: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let unspend_TXs = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let unspend_TXs: Vec = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_UTXO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new_UTXO(from: &str, to: &str, amount: i32, bc:&Blockchain) -> Result { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `block` (bin "block") due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:30:12 [INFO] [stdout] | [INFO] [stdout] 26 | 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] 27 | let hash = db.get("LAST")?.expect("must create a new blockchain database first"); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(Blockchain { [INFO] [stdout] | ____________^ [INFO] [stdout] 31 | | current_hash: lasthash, [INFO] [stdout] 32 | | db, [INFO] [stdout] 33 | | }) [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] warning: variable `spent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut spent_TXOs: HashMap> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `spent_txos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspent_TXOs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut unspent_TXOs: Vec= Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `unspent_txos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_UTXO` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn find_UTXO(&self, address: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let unspend_TXs = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unspend_TXs` should have a snake case name [INFO] [stdout] --> src/blockchain.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | let unspend_TXs: Vec = self.find_unspent_transactions(address); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `unspend_txs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `new_UTXO` should have a snake case name [INFO] [stdout] --> src/transaction.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn new_UTXO(from: &str, to: &str, amount: i32, bc:&Blockchain) -> Result { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_utxo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `block` (bin "block" test) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86befe02c90e5872f3c0f097b712b75963e58c9e070b86142fa286fc8feffc08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86befe02c90e5872f3c0f097b712b75963e58c9e070b86142fa286fc8feffc08", kill_on_drop: false }` [INFO] [stdout] 86befe02c90e5872f3c0f097b712b75963e58c9e070b86142fa286fc8feffc08