[INFO] fetching crate quicssh-rs 0.1.5... [INFO] checking quicssh-rs-0.1.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate quicssh-rs 0.1.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate quicssh-rs 0.1.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 quicssh-rs 0.1.5 [INFO] finished tweaking crates.io crate quicssh-rs 0.1.5 [INFO] tweaked toml for crates.io crate quicssh-rs 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate quicssh-rs 0.1.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aaa945be3c9d26166edd036a64a03f01b5d206f54209b4b2f098d36167b5ab44 [INFO] running `Command { std: "docker" "start" "-a" "aaa945be3c9d26166edd036a64a03f01b5d206f54209b4b2f098d36167b5ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aaa945be3c9d26166edd036a64a03f01b5d206f54209b4b2f098d36167b5ab44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa945be3c9d26166edd036a64a03f01b5d206f54209b4b2f098d36167b5ab44", kill_on_drop: false }` [INFO] [stdout] aaa945be3c9d26166edd036a64a03f01b5d206f54209b4b2f098d36167b5ab44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7719ffa477d57e64892653a6232321c6524b5ba095f3090d70ff358b34c49eec [INFO] running `Command { std: "docker" "start" "-a" "7719ffa477d57e64892653a6232321c6524b5ba095f3090d70ff358b34c49eec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking pem v3.0.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking arc-swap v1.7.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking rustls-pki-types v1.3.1 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rcgen v0.12.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_yaml v0.9.32 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking toml_edit v0.22.8 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking quicssh-rs v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `os` [INFO] [stdout] --> src/client.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(any(windows, os = "linux")))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(os, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `os` [INFO] [stdout] --> src/client.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(any(windows, os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(os, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `os` [INFO] [stdout] --> src/server.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(any(windows, os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(os, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `os` [INFO] [stdout] --> src/client.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(not(any(windows, os = "linux")))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(os, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `os` [INFO] [stdout] --> src/client.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(any(windows, os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(os, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `os` [INFO] [stdout] --> src/server.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | #[cfg(any(windows, os = "linux"))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(os, values("linux"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(os, values(\"linux\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | async fn handle_connection(proxy_for: SocketAddr, connection: quinn::Connection) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let ssh_stream = TcpStream::connect(proxy_for).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | / tokio::select! { [INFO] [stdout] 199 | | _ = recv_thread => (), [INFO] [stdout] 200 | | _ = write_thread => (), [INFO] [stdout] 201 | | } [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 `Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/server.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 123 | async fn handle_connection(proxy_for: SocketAddr, connection: quinn::Connection) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | let ssh_stream = TcpStream::connect(proxy_for).await; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | / tokio::select! { [INFO] [stdout] 199 | | _ = recv_thread => (), [INFO] [stdout] 200 | | _ = write_thread => (), [INFO] [stdout] 201 | | } [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quicssh-rs` (bin "quicssh-rs" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `quicssh-rs` (bin "quicssh-rs") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7719ffa477d57e64892653a6232321c6524b5ba095f3090d70ff358b34c49eec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7719ffa477d57e64892653a6232321c6524b5ba095f3090d70ff358b34c49eec", kill_on_drop: false }` [INFO] [stdout] 7719ffa477d57e64892653a6232321c6524b5ba095f3090d70ff358b34c49eec