[INFO] fetching crate lnk-thrussh 0.33.5... [INFO] checking lnk-thrussh-0.33.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate lnk-thrussh 0.33.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate lnk-thrussh 0.33.5 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate lnk-thrussh 0.33.5 [INFO] finished tweaking crates.io crate lnk-thrussh 0.33.5 [INFO] tweaked toml for crates.io crate lnk-thrussh 0.33.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate lnk-thrussh 0.33.5 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d41d6f105abfbdcdeb8b23decd71f5cb6d2e1d82201039451c2bf50ba548092 [INFO] running `Command { std: "docker" "start" "-a" "6d41d6f105abfbdcdeb8b23decd71f5cb6d2e1d82201039451c2bf50ba548092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d41d6f105abfbdcdeb8b23decd71f5cb6d2e1d82201039451c2bf50ba548092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d41d6f105abfbdcdeb8b23decd71f5cb6d2e1d82201039451c2bf50ba548092", kill_on_drop: false }` [INFO] [stdout] 6d41d6f105abfbdcdeb8b23decd71f5cb6d2e1d82201039451c2bf50ba548092 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285094ac7c839a0a268d1dee1d12b6fd44e9b990727233e8412369f2c338bc59 [INFO] running `Command { std: "docker" "start" "-a" "285094ac7c839a0a268d1dee1d12b6fd44e9b990727233e8412369f2c338bc59", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking base64ct v1.3.3 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking lnk-cryptovec v0.6.1 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking blowfish v0.8.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking bcrypt-pbkdf v0.6.2 [INFO] [stderr] Checking yasna v0.4.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking lnk-thrussh-encoding v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking lnk-thrussh-agent v0.1.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking lnk-thrussh-libsodium v0.2.1 [INFO] [stderr] Checking lnk-thrussh-keys v0.21.0 [INFO] [stderr] Checking lnk-thrussh v0.33.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self::kex::*` [INFO] [stdout] --> src/server/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use self::kex::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::kex::*` [INFO] [stdout] --> src/server/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub use self::kex::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/mod.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 451 | mut stream: R, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 457 | let mut handler = Some(handler); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pin!(reading); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 494 | / tokio::select! { [INFO] [stdout] 495 | | r = &mut reading => { [INFO] [stdout] 496 | | let (stream_read, buffer) = match r { [INFO] [stdout] 497 | | Ok((_, stream_read, buffer)) => (stream_read, buffer), [INFO] [stdout] ... | [INFO] [stdout] 570 | | } [INFO] [stdout] 571 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server/mod.rs:457:9 [INFO] [stdout] | [INFO] [stdout] 451 | mut stream: R, [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 457 | let mut handler = Some(handler); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 490 | pin!(reading); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 494 | / tokio::select! { [INFO] [stdout] 495 | | r = &mut reading => { [INFO] [stdout] 496 | | let (stream_read, buffer) = match r { [INFO] [stdout] 497 | | Ok((_, stream_read, buffer)) => (stream_read, buffer), [INFO] [stdout] ... | [INFO] [stdout] 570 | | } [INFO] [stdout] 571 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/encrypted.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut enc = self.common.encrypted.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/encrypted.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut enc = self.common.encrypted.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/encrypted.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut enc = self.common.encrypted.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/encrypted.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut enc = self.common.encrypted.as_mut().unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `lnk_cryptovec::CryptoVec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/mod.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 837 | mut self, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 840 | mut encrypted_signal: Option>, [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 852 | let mut decomp = CryptoVec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | pin!(reading); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 861 | / tokio::select! { [INFO] [stdout] 862 | | r = &mut reading => { [INFO] [stdout] 863 | | let (stream_read, buffer) = match r { [INFO] [stdout] 864 | | Ok((_, stream_read, buffer)) => (stream_read, buffer), [INFO] [stdout] ... | [INFO] [stdout] 950 | | } [INFO] [stdout] 951 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: this value of type `lnk_cryptovec::CryptoVec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client/mod.rs:852:13 [INFO] [stdout] | [INFO] [stdout] 837 | mut self, [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 840 | mut encrypted_signal: Option>, [INFO] [stdout] | -------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 852 | let mut decomp = CryptoVec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 858 | pin!(reading); [INFO] [stdout] | ------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 861 | / tokio::select! { [INFO] [stdout] 862 | | r = &mut reading => { [INFO] [stdout] 863 | | let (stream_read, buffer) = match r { [INFO] [stdout] 864 | | Ok((_, stream_read, buffer)) => (stream_read, buffer), [INFO] [stdout] ... | [INFO] [stdout] 950 | | } [INFO] [stdout] 951 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________| [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [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: fields `key` and `algo` are never read [INFO] [stdout] --> src/auth.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | PublicKey { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 143 | key: CryptoVec, [INFO] [stdout] | ^^^ [INFO] [stdout] 144 | algo: CryptoVec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/cipher/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Cipher { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wants_reply` is never read [INFO] [stdout] --> src/session.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct Encrypted { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub wants_reply: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Encrypted` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `received` is never read [INFO] [stdout] --> src/session.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 501 | pub struct NewKeys { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 508 | pub received: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewKeys` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lnk-thrussh` (lib) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `lnk_cryptovec::CryptoVec` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:709:38 [INFO] [stdout] | [INFO] [stdout] 697 | let mut session = client::connect(config, addr, Client {}).await.unwrap(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 703 | let mut channel = session.channel_open_session().await.unwrap(); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 707 | let msg = channel.wait().await.unwrap(); [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 708 | match msg { [INFO] [stdout] 709 | ChannelMsg::Data { data: msg_data } => { [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: fields `key` and `algo` are never read [INFO] [stdout] --> src/auth.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 142 | PublicKey { [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] 143 | key: CryptoVec, [INFO] [stdout] | ^^^ [INFO] [stdout] 144 | algo: CryptoVec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CurrentRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/cipher/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Cipher { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 24 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wants_reply` is never read [INFO] [stdout] --> src/session.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) struct Encrypted { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub wants_reply: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Encrypted` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `received` is never read [INFO] [stdout] --> src/session.rs:508:9 [INFO] [stdout] | [INFO] [stdout] 501 | pub struct NewKeys { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 508 | pub received: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NewKeys` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client_pubkey` is never read [INFO] [stdout] --> src/lib.rs:718:9 [INFO] [stdout] | [INFO] [stdout] 717 | struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 718 | client_pubkey: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Server` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lnk-thrussh` (lib test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "285094ac7c839a0a268d1dee1d12b6fd44e9b990727233e8412369f2c338bc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285094ac7c839a0a268d1dee1d12b6fd44e9b990727233e8412369f2c338bc59", kill_on_drop: false }` [INFO] [stdout] 285094ac7c839a0a268d1dee1d12b6fd44e9b990727233e8412369f2c338bc59