[INFO] cloning repository https://github.com/akup/test_defi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akup/test_defi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakup%2Ftest_defi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakup%2Ftest_defi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dff7b11a61786c864c7190f86d9e953638b3aa4c [INFO] checking akup/test_defi/dff7b11a61786c864c7190f86d9e953638b3aa4c 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%2Fakup%2Ftest_defi" "/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/akup/test_defi 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/akup/test_defi [INFO] finished tweaking git repo https://github.com/akup/test_defi [INFO] tweaked toml for git repo https://github.com/akup/test_defi written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/akup/test_defi 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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] d958fda203ee666cb41da486a4dfca5307166820e79431aeb0a65ccd98abf257 [INFO] running `Command { std: "docker" "start" "-a" "d958fda203ee666cb41da486a4dfca5307166820e79431aeb0a65ccd98abf257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d958fda203ee666cb41da486a4dfca5307166820e79431aeb0a65ccd98abf257", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d958fda203ee666cb41da486a4dfca5307166820e79431aeb0a65ccd98abf257", kill_on_drop: false }` [INFO] [stdout] d958fda203ee666cb41da486a4dfca5307166820e79431aeb0a65ccd98abf257 [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] 4ba763ec5f0ddbcf34f7e5c10ad58ebdf1395c55a526aa645caa261399574dec [INFO] running `Command { std: "docker" "start" "-a" "4ba763ec5f0ddbcf34f7e5c10ad58ebdf1395c55a526aa645caa261399574dec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking der v0.7.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking base58 v0.2.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.0.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking ic-stable-structures v0.6.3 [INFO] [stderr] Compiling candid v0.10.6 [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Checking ic-cdk v0.13.1 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking send_http_get_rust_backend v0.1.0 (/opt/rustwide/workdir/src/send_http_get_rust_backend) [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `query` and `update` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use ic_cdk_macros::{self, query, update}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encode` and `Nat` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use candid::{CandidType, Encode, Nat, Principal}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `query` and `update` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use ic_cdk_macros::{self, query, update}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encode` and `Nat` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use candid::{CandidType, Encode, Nat, Principal}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ptr; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_timestamp` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let start_timestamp: Timestamp = 1682978460; //May 1, 2023 22:01:00 GMT [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seconds_of_time` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let seconds_of_time: u64 = 60; //start with 60 seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds_of_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_timestamp` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let start_timestamp: Timestamp = 1682978460; //May 1, 2023 22:01:00 GMT [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_timestamp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seconds_of_time` [INFO] [stdout] --> src/send_http_get_rust_backend/src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let seconds_of_time: u64 = 60; //start with 60 seconds [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds_of_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_tvm_bytes`, `from_tvm_bytes`, `to_hex_address`, `to_eth_address`, and `to_well_known_name` are never used [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl TronAddress { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn as_tvm_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn from_tvm_bytes(raw: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn to_hex_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn to_eth_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn to_well_known_name(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eip55_checksum` is never used [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn eip55_checksum(hex_address: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMessage`, `InvalidSignature`, and `FailedKeyGeneration` are never constructed [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 261 | /// Digest data format error. [INFO] [stdout] 262 | InvalidMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 263 | /// Signature data format error. [INFO] [stdout] 264 | InvalidSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | FailedKeyGeneration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/send_http_get_rust_backend/src/lib.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 81 | fn with_wallets_mut(f: impl FnOnce(&mut StableBTreeMap<([u8; 65], u32), (([u8; 65], u32), Principal), DefaultMemoryImpl>) -> R) -> R { [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | WALLETS.with(|cell| f(&mut cell.borrow_mut())) [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/send_http_get_rust_backend/src/lib.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn with_wallets_mut(f: impl FnOnce(&mut StableBTreeMap<([u8; 65], u32), (([u8; 65], u32), Principal), DefaultMemoryImpl>) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | WALLETS.with(|cell| f(&mut cell.borrow_mut())) [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 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_tvm_bytes`, `from_tvm_bytes`, `to_hex_address`, `to_eth_address`, and `to_well_known_name` are never used [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl TronAddress { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn as_tvm_bytes(&self) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn from_tvm_bytes(raw: &[u8]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn to_hex_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn to_eth_address(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn to_well_known_name(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eip55_checksum` is never used [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn eip55_checksum(hex_address: &mut [u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidMessage`, `InvalidSignature`, and `FailedKeyGeneration` are never constructed [INFO] [stdout] --> src/send_http_get_rust_backend/src/tron_address.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 261 | /// Digest data format error. [INFO] [stdout] 262 | InvalidMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 263 | /// Signature data format error. [INFO] [stdout] 264 | InvalidSignature, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | FailedKeyGeneration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/send_http_get_rust_backend/src/lib.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 81 | fn with_wallets_mut(f: impl FnOnce(&mut StableBTreeMap<([u8; 65], u32), (([u8; 65], u32), Principal), DefaultMemoryImpl>) -> R) -> R { [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | WALLETS.with(|cell| f(&mut cell.borrow_mut())) [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/send_http_get_rust_backend/src/lib.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn with_wallets_mut(f: impl FnOnce(&mut StableBTreeMap<([u8; 65], u32), (([u8; 65], u32), Principal), DefaultMemoryImpl>) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | WALLETS.with(|cell| f(&mut cell.borrow_mut())) [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 `send_http_get_rust_backend` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `send_http_get_rust_backend` (lib test) due to 3 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ba763ec5f0ddbcf34f7e5c10ad58ebdf1395c55a526aa645caa261399574dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ba763ec5f0ddbcf34f7e5c10ad58ebdf1395c55a526aa645caa261399574dec", kill_on_drop: false }` [INFO] [stdout] 4ba763ec5f0ddbcf34f7e5c10ad58ebdf1395c55a526aa645caa261399574dec