[INFO] cloning repository https://github.com/carstenjacobsen/cedo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/carstenjacobsen/cedo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcarstenjacobsen%2Fcedo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5b30df5522e30040a7d557ba71ffea13c5f9909 [INFO] checking carstenjacobsen/cedo-api/a5b30df5522e30040a7d557ba71ffea13c5f9909 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%2Fcarstenjacobsen%2Fcedo-api" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/carstenjacobsen/cedo-api 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] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/carstenjacobsen/cedo-api [INFO] finished tweaking git repo https://github.com/carstenjacobsen/cedo-api [INFO] tweaked toml for git repo https://github.com/carstenjacobsen/cedo-api written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/carstenjacobsen/cedo-api 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b924ce8056bb1b266e4e12d8348ed22849f007a10300f86256189f070015e7f6 [INFO] running `Command { std: "docker" "start" "-a" "b924ce8056bb1b266e4e12d8348ed22849f007a10300f86256189f070015e7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b924ce8056bb1b266e4e12d8348ed22849f007a10300f86256189f070015e7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b924ce8056bb1b266e4e12d8348ed22849f007a10300f86256189f070015e7f6", kill_on_drop: false }` [INFO] [stdout] b924ce8056bb1b266e4e12d8348ed22849f007a10300f86256189f070015e7f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] ac7cc67e5be5c403dccc0830bc17b37898a4dcda8ae3bf88472f6a2446bc6fbc [INFO] running `Command { std: "docker" "start" "-a" "ac7cc67e5be5c403dccc0830bc17b37898a4dcda8ae3bf88472f6a2446bc6fbc", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winnow v0.5.37 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking pretty v0.12.3 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking bech32 v0.8.1 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking bitcoin_hashes v0.10.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking ic-stable-structures v0.6.2 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling secp256k1-sys v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Checking secp256k1 v0.22.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking bitcoin v0.28.2 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking pluto v0.2.1 (https://github.com/pu0238/pluto.git#de36ada4) [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.0 [INFO] [stderr] Checking api v0.1.0 (/opt/rustwide/workdir/src/api) [INFO] [stdout] warning: unused imports: `init`, `post_upgrade`, and `pre_upgrade` [INFO] [stdout] --> src/api/src/vendors.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk_macros::{init, post_upgrade, pre_upgrade, query, update}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `init`, `post_upgrade`, and `pre_upgrade` [INFO] [stdout] --> src/api/src/vendors.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use ic_cdk_macros::{init, post_upgrade, pre_upgrade, query, update}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/src/vendors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/api/src/vendors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/api/src/vendors.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/src/vendors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cell` [INFO] [stdout] --> src/api/src/vendors.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | use std::cell::{Cell, RefCell}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/api/src/vendors.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::println` [INFO] [stdout] --> src/api/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ic_cdk::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::println` [INFO] [stdout] --> src/api/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use ic_cdk::println; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/api/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/api/src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `candid::Principal` [INFO] [stdout] --> src/api/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use candid::Principal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::call_with_payment` [INFO] [stdout] --> src/api/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use ic_cdk::api::call::call_with_payment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::api::call::call_with_payment` [INFO] [stdout] --> src/api/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use ic_cdk::api::call::call_with_payment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetBalanceRequest`, `GetCurrentFeePercentilesRequest`, `GetUtxosRequest`, `Satoshi`, and `SendTransactionRequest` [INFO] [stdout] --> src/api/src/lib.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | BitcoinNetwork, GetBalanceRequest, GetCurrentFeePercentilesRequest, GetUtxosRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | GetUtxosResponse, MillisatoshiPerByte, Satoshi, SendTransactionRequest, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GetBalanceRequest`, `GetCurrentFeePercentilesRequest`, `GetUtxosRequest`, `Satoshi`, and `SendTransactionRequest` [INFO] [stdout] --> src/api/src/lib.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | BitcoinNetwork, GetBalanceRequest, GetCurrentFeePercentilesRequest, GetUtxosRequest, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | GetUtxosResponse, MillisatoshiPerByte, Satoshi, SendTransactionRequest, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/api/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let network = NETWORK.with(|n| n.get()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `network` [INFO] [stdout] --> src/api/src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let network = NETWORK.with(|n| n.get()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_network` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/api/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let balance = "sdfsdfsdf".to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/api/src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let balance = "sdfsdfsdf".to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_id` [INFO] [stdout] --> src/api/src/vendors.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let tag_id: String = "04864A9ABB2A81".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let res = ORDERS.with(|p| p.borrow_mut().insert(new_order.order_id.to_string(), new_order)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let res = VENDORS.with(|p| p.borrow_mut().insert(new_vendor.vendor_id.to_string(), new_vendor)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let res = DEALS.with(|p| p.borrow_mut().insert(new_deal.deal_id.to_string(), new_deal)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let res = USERS.with(|p| p.borrow_mut().insert(new_user.user_id.to_string(), new_user)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag_id` [INFO] [stdout] --> src/api/src/vendors.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let tag_id: String = "04864A9ABB2A81".to_string(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tag_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | let res = ORDERS.with(|p| p.borrow_mut().insert(new_order.order_id.to_string(), new_order)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let res = VENDORS.with(|p| p.borrow_mut().insert(new_vendor.vendor_id.to_string(), new_vendor)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/api/src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let address: String = _req.params.get("address").unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | let res = DEALS.with(|p| p.borrow_mut().insert(new_deal.deal_id.to_string(), new_deal)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/api/src/vendors.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 318 | let res = USERS.with(|p| p.borrow_mut().insert(new_user.user_id.to_string(), new_user)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [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/api/src/lib.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | MEM_MAN_BITCOIN.with(|m| m.borrow().get(MemoryId::new(0))), [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/api/src/lib.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | BITCOIN.with(|p| p.borrow_mut().insert("bitcoin".to_string(), balance.to_string())); [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/api/src/lib.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | let key_name = KEY_NAME.with(|kn| kn.borrow().to_string()); [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/api/src/lib.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | let key_name = KEY_NAME.with(|kn| kn.borrow().to_string()); [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/api/src/lib.rs:129:34 [INFO] [stdout] | [INFO] [stdout] 129 | let router = ROUTER.with(|r| r.borrow().clone()); [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/api/src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | let balance = BITCOIN.with(|p| p.borrow().get(&"bitcoin".to_string())).unwrap().to_string(); [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] warning: unused variable: `address` [INFO] [stdout] --> src/api/src/lib.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | let address: String = _req.params.get("address").unwrap().to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/api/src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | init(network); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` 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/api/src/bitcoin_wallet.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 158 | let inputs: Vec = utxos_to_spend [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | let mut outputs = vec![TxOut { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | Ok(Transaction { [INFO] [stdout] | ________^ [INFO] [stdout] 186 | | input: inputs, [INFO] [stdout] 187 | | output: outputs, [INFO] [stdout] 188 | | lock_time: 0, [INFO] [stdout] 189 | | version: 1, [INFO] [stdout] 190 | | }) [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/api/src/bitcoin_wallet.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | script_sig: Script::new(), [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/api/src/vendors.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | MEM_MAN_ORDERS.with(|m| m.borrow().get(MemoryId::new(0))), [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/api/src/lib.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | MEM_MAN_BITCOIN.with(|m| m.borrow().get(MemoryId::new(0))), [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/api/src/lib.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | BITCOIN.with(|p| p.borrow_mut().insert("bitcoin".to_string(), balance.to_string())); [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/api/src/vendors.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | MEM_MAN_VENDORS.with(|m| m.borrow().get(MemoryId::new(1))), [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/api/src/lib.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | let key_name = KEY_NAME.with(|kn| kn.borrow().to_string()); [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/api/src/vendors.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | MEM_MAN_DEALS.with(|m| m.borrow().get(MemoryId::new(2))), [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/api/src/lib.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | let key_name = KEY_NAME.with(|kn| kn.borrow().to_string()); [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/api/src/vendors.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | MEM_MAN_USERS.with(|m| m.borrow().get(MemoryId::new(3))), [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/api/src/vendors.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | let res = ORDERS.with(|p| p.borrow_mut().insert(new_order.order_id.to_string(), new_order)); [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/api/src/lib.rs:129:34 [INFO] [stdout] | [INFO] [stdout] 129 | let router = ROUTER.with(|r| r.borrow().clone()); [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/api/src/vendors.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | ORDERS.with(|p| p.borrow().get(&tag_id)) [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/api/src/vendors.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | let res = VENDORS.with(|p| p.borrow_mut().insert(new_vendor.vendor_id.to_string(), new_vendor)); [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/api/src/vendors.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | VENDORS.with(|p| p.borrow().get(&vendor_id)) [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/api/src/lib.rs:172:40 [INFO] [stdout] | [INFO] [stdout] 172 | let balance = BITCOIN.with(|p| p.borrow().get(&"bitcoin".to_string())).unwrap().to_string(); [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/api/src/vendors.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | let res = DEALS.with(|p| p.borrow_mut().insert(new_deal.deal_id.to_string(), new_deal)); [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/api/src/vendors.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | DEALS.with(|p| p.borrow().get(&deal_id)) [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/api/src/vendors.rs:318:30 [INFO] [stdout] | [INFO] [stdout] 318 | let res = USERS.with(|p| p.borrow_mut().insert(new_user.user_id.to_string(), new_user)); [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/api/src/vendors.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | USERS.with(|p| p.borrow().get(&user_id)) [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/api/src/vendors.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | let order = ORDERS.with(|p| p.borrow().get(&tag_id)).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/api/src/vendors.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | let user = USERS.with(|p| p.borrow().get(&user_id)).unwrap(); //.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/api/src/vendors.rs:356:35 [INFO] [stdout] | [INFO] [stdout] 356 | let deal = DEALS.with(|p| p.borrow().get(&v.to_string())).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] warning: unused implementer of `std::future::Future` that must be used [INFO] [stdout] --> src/api/src/lib.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | init(network); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` 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/api/src/bitcoin_wallet.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 158 | let inputs: Vec = utxos_to_spend [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 171 | let mut outputs = vec![TxOut { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | Ok(Transaction { [INFO] [stdout] | ________^ [INFO] [stdout] 186 | | input: inputs, [INFO] [stdout] 187 | | output: outputs, [INFO] [stdout] 188 | | lock_time: 0, [INFO] [stdout] 189 | | version: 1, [INFO] [stdout] 190 | | }) [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/api/src/bitcoin_wallet.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | script_sig: Script::new(), [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 23 previous errors; 18 warnings emitted [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/api/src/vendors.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | MEM_MAN_ORDERS.with(|m| m.borrow().get(MemoryId::new(0))), [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/api/src/vendors.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 174 | MEM_MAN_VENDORS.with(|m| m.borrow().get(MemoryId::new(1))), [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/api/src/vendors.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | MEM_MAN_DEALS.with(|m| m.borrow().get(MemoryId::new(2))), [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/api/src/vendors.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | MEM_MAN_USERS.with(|m| m.borrow().get(MemoryId::new(3))), [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/api/src/vendors.rs:200:31 [INFO] [stdout] | [INFO] [stdout] 200 | let res = ORDERS.with(|p| p.borrow_mut().insert(new_order.order_id.to_string(), new_order)); [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/api/src/vendors.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | ORDERS.with(|p| p.borrow().get(&tag_id)) [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/api/src/vendors.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | let res = VENDORS.with(|p| p.borrow_mut().insert(new_vendor.vendor_id.to_string(), new_vendor)); [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/api/src/vendors.rs:245:22 [INFO] [stdout] | [INFO] [stdout] 245 | VENDORS.with(|p| p.borrow().get(&vendor_id)) [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/api/src/vendors.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | let res = DEALS.with(|p| p.borrow_mut().insert(new_deal.deal_id.to_string(), new_deal)); [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/api/src/vendors.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 283 | DEALS.with(|p| p.borrow().get(&deal_id)) [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/api/src/vendors.rs:318:30 [INFO] [stdout] | [INFO] [stdout] 318 | let res = USERS.with(|p| p.borrow_mut().insert(new_user.user_id.to_string(), new_user)); [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/api/src/vendors.rs:323:20 [INFO] [stdout] | [INFO] [stdout] 323 | USERS.with(|p| p.borrow().get(&user_id)) [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/api/src/vendors.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | let order = ORDERS.with(|p| p.borrow().get(&tag_id)).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/api/src/vendors.rs:352:31 [INFO] [stdout] | [INFO] [stdout] 352 | let user = USERS.with(|p| p.borrow().get(&user_id)).unwrap(); //.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/api/src/vendors.rs:356:35 [INFO] [stdout] | [INFO] [stdout] 356 | let deal = DEALS.with(|p| p.borrow().get(&v.to_string())).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] [stderr] error: could not compile `api` (lib test) due to 24 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 23 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `api` (lib) due to 24 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ac7cc67e5be5c403dccc0830bc17b37898a4dcda8ae3bf88472f6a2446bc6fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7cc67e5be5c403dccc0830bc17b37898a4dcda8ae3bf88472f6a2446bc6fbc", kill_on_drop: false }` [INFO] [stdout] ac7cc67e5be5c403dccc0830bc17b37898a4dcda8ae3bf88472f6a2446bc6fbc