[INFO] cloning repository https://github.com/ZirionNeft/blockchain-rust-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZirionNeft/blockchain-rust-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZirionNeft%2Fblockchain-rust-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZirionNeft%2Fblockchain-rust-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de9380562bb8efeea579b1a59a9640448a35d577 [INFO] checking ZirionNeft/blockchain-rust-example/de9380562bb8efeea579b1a59a9640448a35d577 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%2FZirionNeft%2Fblockchain-rust-example" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZirionNeft/blockchain-rust-example 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/ZirionNeft/blockchain-rust-example [INFO] finished tweaking git repo https://github.com/ZirionNeft/blockchain-rust-example [INFO] tweaked toml for git repo https://github.com/ZirionNeft/blockchain-rust-example written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ZirionNeft/blockchain-rust-example 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a7e3463048c4ca250b054e73a90b1f3fa328235745856021eb4f2f84abd9e70f [INFO] running `Command { std: "docker" "start" "-a" "a7e3463048c4ca250b054e73a90b1f3fa328235745856021eb4f2f84abd9e70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7e3463048c4ca250b054e73a90b1f3fa328235745856021eb4f2f84abd9e70f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e3463048c4ca250b054e73a90b1f3fa328235745856021eb4f2f84abd9e70f", kill_on_drop: false }` [INFO] [stdout] a7e3463048c4ca250b054e73a90b1f3fa328235745856021eb4f2f84abd9e70f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 634ff3a54d37a7ccaccdbf67cda06bb2125db4508daf3a4f076de90edda1b973 [INFO] running `Command { std: "docker" "start" "-a" "634ff3a54d37a7ccaccdbf67cda06bb2125db4508daf3a4f076de90edda1b973", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.83 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking const-oid v0.7.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking zeroize v1.5.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking der v0.5.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking base64ct v1.3.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking spki v0.5.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking pkcs8 v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.3.2 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking ff v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking group v0.11.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Checking rfc6979 v0.1.0 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking signature v1.4.0 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Checking sled v0.34.7 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha2 v0.10.0 [INFO] [stderr] Checking ripemd v0.1.0 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Checking pin-project v0.4.28 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking trust-dns-proto v0.19.7 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.7 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking sec1 v0.2.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_with v1.11.0 [INFO] [stderr] Checking elliptic-curve v0.11.10 [INFO] [stderr] Checking ecdsa v0.13.4 [INFO] [stderr] Checking p256 v0.10.1 [INFO] [stderr] Checking actix-http v2.2.1 [INFO] [stderr] Checking kv v0.22.0 [INFO] [stderr] Checking awc v2.0.3 [INFO] [stderr] Checking actix-web v3.3.3 [INFO] [stderr] Checking blockchain-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `left` and `right` are never read [INFO] [stdout] --> src/blockchain/merkle_tree.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MerkleNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | pub left: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub right: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 22 | let app_state = Data::new(AppState { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / App::new() [INFO] [stdout] 28 | | .app_data(app_state.clone()) [INFO] [stdout] 29 | | .service(get_blockchain) [INFO] [stdout] 30 | | .service(add_chain_block) [INFO] [stdout] 31 | | .service(create_blockchain) [INFO] [stdout] 32 | | .service(get_balance) [INFO] [stdout] 33 | | .service(new_wallet) [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/block.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|tx| serde_json::to_vec(tx).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/block.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | fn from(raw: kv::Raw) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let json = String::from_utf8_lossy(&raw); [INFO] [stdout] 75 | serde_json::from_str(&json).expect("kv::Raw to Block error") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/wallet.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|k| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | / k.expect("Wallets item error") [INFO] [stdout] 65 | | .key() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/wallet.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 90 | let wallets = store.get_wallets_bucket().unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let private_key = match SigningKey::from_bytes(private_key?.as_slice()) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Some(Wallet { [INFO] [stdout] | ______________^ [INFO] [stdout] 114 | | private_key, [INFO] [stdout] 115 | | public_key, [INFO] [stdout] 116 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/store.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 32 | let store = Store::new(cfg).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | Arc::new(Mutex::new(AppStore(store))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain-rust` (bin "blockchain-rust") due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `left` and `right` are never read [INFO] [stdout] --> src/blockchain/merkle_tree.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct MerkleNode { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | pub left: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub right: Option>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MerkleNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 22 | let app_state = Data::new(AppState { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | / App::new() [INFO] [stdout] 28 | | .app_data(app_state.clone()) [INFO] [stdout] 29 | | .service(get_blockchain) [INFO] [stdout] 30 | | .service(add_chain_block) [INFO] [stdout] 31 | | .service(create_blockchain) [INFO] [stdout] 32 | | .service(get_balance) [INFO] [stdout] 33 | | .service(new_wallet) [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/block.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|tx| serde_json::to_vec(tx).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/block.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 73 | fn from(raw: kv::Raw) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | let json = String::from_utf8_lossy(&raw); [INFO] [stdout] 75 | serde_json::from_str(&json).expect("kv::Raw to Block error") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/wallet.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|k| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | / k.expect("Wallets item error") [INFO] [stdout] 65 | | .key() [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/wallet.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 90 | let wallets = store.get_wallets_bucket().unwrap(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let private_key = match SigningKey::from_bytes(private_key?.as_slice()) { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Some(Wallet { [INFO] [stdout] | ______________^ [INFO] [stdout] 114 | | private_key, [INFO] [stdout] 115 | | public_key, [INFO] [stdout] 116 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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/store.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 32 | let store = Store::new(cfg).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | Arc::new(Mutex::new(AppStore(store))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blockchain-rust` (bin "blockchain-rust" test) due to 7 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "634ff3a54d37a7ccaccdbf67cda06bb2125db4508daf3a4f076de90edda1b973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634ff3a54d37a7ccaccdbf67cda06bb2125db4508daf3a4f076de90edda1b973", kill_on_drop: false }` [INFO] [stdout] 634ff3a54d37a7ccaccdbf67cda06bb2125db4508daf3a4f076de90edda1b973