[INFO] cloning repository https://github.com/devsnek/cf-tunnel-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devsnek/cf-tunnel-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsnek%2Fcf-tunnel-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevsnek%2Fcf-tunnel-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6939d68551b0d4bce562b67d5298201b2d7a2dd5 [INFO] checking devsnek/cf-tunnel-rs/6939d68551b0d4bce562b67d5298201b2d7a2dd5 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%2Fdevsnek%2Fcf-tunnel-rs" "/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/devsnek/cf-tunnel-rs 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/devsnek/cf-tunnel-rs [INFO] finished tweaking git repo https://github.com/devsnek/cf-tunnel-rs [INFO] tweaked toml for git repo https://github.com/devsnek/cf-tunnel-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devsnek/cf-tunnel-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-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] ffd40c0073dda6572d00eb6ee2b80362ccbd1a6789d5d8488b167f792ceea76c [INFO] running `Command { std: "docker" "start" "-a" "ffd40c0073dda6572d00eb6ee2b80362ccbd1a6789d5d8488b167f792ceea76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffd40c0073dda6572d00eb6ee2b80362ccbd1a6789d5d8488b167f792ceea76c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffd40c0073dda6572d00eb6ee2b80362ccbd1a6789d5d8488b167f792ceea76c", kill_on_drop: false }` [INFO] [stdout] ffd40c0073dda6572d00eb6ee2b80362ccbd1a6789d5d8488b167f792ceea76c [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] 4c66624986d37881c729a07f6409e3814d1c3b345112366322dbed00776685cd [INFO] running `Command { std: "docker" "start" "-a" "4c66624986d37881c729a07f6409e3814d1c3b345112366322dbed00776685cd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling openssl v0.10.61 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rustls-pki-types v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling capnp v0.18.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling rustls v0.22.1 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling syn v2.0.40 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rustls-pemfile v2.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling openssl-sys v0.9.97 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Compiling capnpc v0.18.0 [INFO] [stderr] Compiling cf-tunnel v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking http-body-util v0.1.0 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking capnp-futures v0.18.2 [INFO] [stderr] Checking capnp-rpc v0.18.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hickory-proto v0.24.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking async-compat v0.2.3 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking serde_with v2.3.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking h2 v0.4.0 [INFO] [stderr] Checking hickory-resolver v0.24.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper v1.0.1 [INFO] [stderr] Checking hyper-util v0.1.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking cloudflare v0.11.0 [INFO] [stdout] warning: struct `CustomDuration` is never constructed [INFO] [stdout] --> src/config.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CustomDuration(std::time::Duration); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WarpRoutingConfig` is never constructed [INFO] [stdout] --> src/config.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct WarpRoutingConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OriginRequestConfig` is never constructed [INFO] [stdout] --> src/config.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct OriginRequestConfig {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedIngressRule` is never constructed [INFO] [stdout] --> src/config.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct UnvalidatedIngressRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalConfig` is never constructed [INFO] [stdout] --> src/config.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct LocalConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `errors` are never read [INFO] [stdout] --> src/quick_tunnel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct QuickTunnelResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 5 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | errors: Vec<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuickTunnelResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `name` are never read [INFO] [stdout] --> src/quick_tunnel.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct QuickTunnelTunnel { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 12 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | id: String, [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuickTunnelTunnel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnregisterConnection` and `UpdateLocalConfiguration` are never constructed [INFO] [stdout] --> src/rpc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum RpcTransfer { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | UnregisterConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UpdateLocalConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unregister_connection` and `update_local_configuration` are never used [INFO] [stdout] --> src/rpc.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl RpcClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn unregister_connection(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn update_local_configuration(&self, config: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid` and `location` are never read [INFO] [stdout] --> src/rpc.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct RegisterConnectionResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 210 | pub uuid: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 211 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterConnectionResponse` 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/http2.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | ... .map_ok(|f| f.into_data().unwrap()) [INFO] [stdout] | - ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http2.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 273 | let buf = Bytes::copy_from_slice(&buf[0..size]); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | Poll::Ready(Ok(size)) [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/http2.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 302 | let r = std::task::ready!(self.0.poll_data(cx)); [INFO] [stdout] | - --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | Poll::Ready(match r { [INFO] [stdout] | _____________________^ [INFO] [stdout] 304 | | Some(Ok(v)) => Some(Ok(v)), [INFO] [stdout] 305 | | Some(Err(e)) => Some(Err(std::io::Error::other(e))), [INFO] [stdout] 306 | | None => None, [INFO] [stdout] 307 | | }) [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/quic.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | .map_ok(|f| f.into_data().unwrap()) [INFO] [stdout] | - ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:4225:22 [INFO] [stdout] | [INFO] [stdout] 4224 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4225 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:5583:22 [INFO] [stdout] | [INFO] [stdout] 5582 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5583 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:8610:22 [INFO] [stdout] | [INFO] [stdout] 8609 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8610 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:9928:22 [INFO] [stdout] | [INFO] [stdout] 9927 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9928 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:10472:22 [INFO] [stdout] | [INFO] [stdout] 10471 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10472 | Self { client: ::capnp::capability::Client::new(hook), } [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 9 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cf-tunnel` (lib) due to 10 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `CustomDuration` is never constructed [INFO] [stdout] --> src/config.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CustomDuration(std::time::Duration); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WarpRoutingConfig` is never constructed [INFO] [stdout] --> src/config.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct WarpRoutingConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OriginRequestConfig` is never constructed [INFO] [stdout] --> src/config.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct OriginRequestConfig {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnvalidatedIngressRule` is never constructed [INFO] [stdout] --> src/config.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct UnvalidatedIngressRule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LocalConfig` is never constructed [INFO] [stdout] --> src/config.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct LocalConfig { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `success` and `errors` are never read [INFO] [stdout] --> src/quick_tunnel.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct QuickTunnelResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 5 | success: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | errors: Vec<()>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuickTunnelResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type` and `name` are never read [INFO] [stdout] --> src/quick_tunnel.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct QuickTunnelTunnel { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 12 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | id: String, [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QuickTunnelTunnel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnregisterConnection` and `UpdateLocalConfiguration` are never constructed [INFO] [stdout] --> src/rpc.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | enum RpcTransfer { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | UnregisterConnection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UpdateLocalConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unregister_connection` and `update_local_configuration` are never used [INFO] [stdout] --> src/rpc.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 94 | impl RpcClient { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn unregister_connection(&self) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub async fn update_local_configuration(&self, config: Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid` and `location` are never read [INFO] [stdout] --> src/rpc.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct RegisterConnectionResponse { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 210 | pub uuid: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 211 | pub location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterConnectionResponse` 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/http2.rs:242:41 [INFO] [stdout] | [INFO] [stdout] 242 | ... .map_ok(|f| f.into_data().unwrap()) [INFO] [stdout] | - ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/http2.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 273 | let buf = Bytes::copy_from_slice(&buf[0..size]); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | Poll::Ready(Ok(size)) [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/http2.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 302 | let r = std::task::ready!(self.0.poll_data(cx)); [INFO] [stdout] | - --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 303 | Poll::Ready(match r { [INFO] [stdout] | _____________________^ [INFO] [stdout] 304 | | Some(Ok(v)) => Some(Ok(v)), [INFO] [stdout] 305 | | Some(Err(e)) => Some(Err(std::io::Error::other(e))), [INFO] [stdout] 306 | | None => None, [INFO] [stdout] 307 | | }) [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/quic.rs:229:37 [INFO] [stdout] | [INFO] [stdout] 229 | .map_ok(|f| f.into_data().unwrap()) [INFO] [stdout] | - ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:4225:22 [INFO] [stdout] | [INFO] [stdout] 4224 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4225 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:5583:22 [INFO] [stdout] | [INFO] [stdout] 5582 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5583 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:8610:22 [INFO] [stdout] | [INFO] [stdout] 8609 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 8610 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:9928:22 [INFO] [stdout] | [INFO] [stdout] 9927 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 9928 | Self { client: ::capnp::capability::Client::new(hook), } [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] --> /opt/rustwide/target/debug/build/cf-tunnel-51229ab7aa8dbfd4/out/tunnelrpc_capnp.rs:10472:22 [INFO] [stdout] | [INFO] [stdout] 10471 | fn new(hook: Box) -> Self { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10472 | Self { client: ::capnp::capability::Client::new(hook), } [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 9 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cf-tunnel` (lib test) due to 10 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c66624986d37881c729a07f6409e3814d1c3b345112366322dbed00776685cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c66624986d37881c729a07f6409e3814d1c3b345112366322dbed00776685cd", kill_on_drop: false }` [INFO] [stdout] 4c66624986d37881c729a07f6409e3814d1c3b345112366322dbed00776685cd