[INFO] fetching crate udp_server 1.0.4... [INFO] checking udp_server-1.0.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate udp_server 1.0.4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate udp_server 1.0.4 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 crates.io crate udp_server 1.0.4 [INFO] finished tweaking crates.io crate udp_server 1.0.4 [INFO] tweaked toml for crates.io crate udp_server 1.0.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate udp_server 1.0.4 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 2b54ec684f9f4de83c4b6b1c3a77719ac659c16239a004d6de71c88542661070 [INFO] running `Command { std: "docker" "start" "-a" "2b54ec684f9f4de83c4b6b1c3a77719ac659c16239a004d6de71c88542661070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b54ec684f9f4de83c4b6b1c3a77719ac659c16239a004d6de71c88542661070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b54ec684f9f4de83c4b6b1c3a77719ac659c16239a004d6de71c88542661070", kill_on_drop: false }` [INFO] [stdout] 2b54ec684f9f4de83c4b6b1c3a77719ac659c16239a004d6de71c88542661070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7e7b3c95206d883c420f57c29b171af20e122ff669480d7e46b6e45d82a3a0c5 [INFO] running `Command { std: "docker" "start" "-a" "7e7b3c95206d883c420f57c29b171af20e122ff669480d7e46b6e45d82a3a0c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking anstream v0.6.9 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [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 net2 v0.2.39 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking udp_server v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/udp_serv.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UdpContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 24 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/peer.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 37 | udp_sock: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let (tx, rx) = unbounded_channel(); [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] 41 | ( [INFO] [stdout] 42 | / Arc::new(Self { [INFO] [stdout] 43 | | socket_id, [INFO] [stdout] 44 | | udp_sock, [INFO] [stdout] 45 | | addr, [INFO] [stdout] 46 | | sender: tx, [INFO] [stdout] 47 | | last_read_time: AtomicI64::new(timestamp_sec()), [INFO] [stdout] 48 | | }), [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] warning: field `id` is never read [INFO] [stdout] --> src/udp_serv.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct UdpContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 24 | pub id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/peer.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 37 | udp_sock: Arc, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | let (tx, rx) = unbounded_channel(); [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] 41 | ( [INFO] [stdout] 42 | / Arc::new(Self { [INFO] [stdout] 43 | | socket_id, [INFO] [stdout] 44 | | udp_sock, [INFO] [stdout] 45 | | addr, [INFO] [stdout] 46 | | sender: tx, [INFO] [stdout] 47 | | last_read_time: AtomicI64::new(timestamp_sec()), [INFO] [stdout] 48 | | }), [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/udp_serv.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(addr: A, input: I) -> io::Result { [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] 48 | let udp_list = create_udp_socket_list(&addr, get_cpu_count())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let udp_contexts = udp_list [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(UdpServer { [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | udp_contexts, [INFO] [stdout] 62 | | input: Arc::new(input), [INFO] [stdout] 63 | | _ph: Default::default(), [INFO] [stdout] 64 | | clean_sec: None, [INFO] [stdout] 65 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/udp_serv.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|(id, socket)| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Arc::new(UdpContext { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | id, [INFO] [stdout] 55 | | recv: Arc::new(socket), [INFO] [stdout] 56 | | peers: Default::default(), [INFO] [stdout] 57 | | }) [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/udp_serv.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new(addr: A, input: I) -> io::Result { [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] 48 | let udp_list = create_udp_socket_list(&addr, get_cpu_count())?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | let udp_contexts = udp_list [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(UdpServer { [INFO] [stdout] | ____________^ [INFO] [stdout] 61 | | udp_contexts, [INFO] [stdout] 62 | | input: Arc::new(input), [INFO] [stdout] 63 | | _ph: Default::default(), [INFO] [stdout] 64 | | clean_sec: None, [INFO] [stdout] 65 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/udp_serv.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|(id, socket)| { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Arc::new(UdpContext { [INFO] [stdout] | __________________________^ [INFO] [stdout] 54 | | id, [INFO] [stdout] 55 | | recv: Arc::new(socket), [INFO] [stdout] 56 | | peers: Default::default(), [INFO] [stdout] 57 | | }) [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `udp_server` (lib) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `udp_server` (lib test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7e7b3c95206d883c420f57c29b171af20e122ff669480d7e46b6e45d82a3a0c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e7b3c95206d883c420f57c29b171af20e122ff669480d7e46b6e45d82a3a0c5", kill_on_drop: false }` [INFO] [stdout] 7e7b3c95206d883c420f57c29b171af20e122ff669480d7e46b6e45d82a3a0c5