[INFO] cloning repository https://github.com/divinusdracodominus/pcaplogger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divinusdracodominus/pcaplogger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivinusdracodominus%2Fpcaplogger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivinusdracodominus%2Fpcaplogger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37b897274014aac4c968f3b95fc07696fa762ddb [INFO] checking divinusdracodominus/pcaplogger/37b897274014aac4c968f3b95fc07696fa762ddb 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%2Fdivinusdracodominus%2Fpcaplogger" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/divinusdracodominus/pcaplogger 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/divinusdracodominus/pcaplogger [INFO] finished tweaking git repo https://github.com/divinusdracodominus/pcaplogger [INFO] tweaked toml for git repo https://github.com/divinusdracodominus/pcaplogger written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/divinusdracodominus/pcaplogger already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/divinusdracodominus/rust-packet` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding packet v0.1.2 (https://github.com/divinusdracodominus/rust-packet#d2dce82c) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 0dc709999e9acd57a29271619818d27e57ab977c59909fd5dd9c216316f4c23f [INFO] running `Command { std: "docker" "start" "-a" "0dc709999e9acd57a29271619818d27e57ab977c59909fd5dd9c216316f4c23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0dc709999e9acd57a29271619818d27e57ab977c59909fd5dd9c216316f4c23f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dc709999e9acd57a29271619818d27e57ab977c59909fd5dd9c216316f4c23f", kill_on_drop: false }` [INFO] [stdout] 0dc709999e9acd57a29271619818d27e57ab977c59909fd5dd9c216316f4c23f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] e5d9276e226dc0c297827d039f6c8b781222bcd97894885ddb7964271f0ef383 [INFO] running `Command { std: "docker" "start" "-a" "e5d9276e226dc0c297827d039f6c8b781222bcd97894885ddb7964271f0ef383", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling hwaddr v0.1.7 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking whoami v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking packet v0.1.2 (https://github.com/divinusdracodominus/rust-packet#d2dce82c) [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling pcap v1.2.0 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking capture v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr` and `Ipv6Addr` [INFO] [stdout] --> src/pkt.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use core::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task::JoinHandle` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::task::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ipv4Addr` and `Ipv6Addr` [INFO] [stdout] --> src/pkt.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | use core::net::{IpAddr, Ipv4Addr, Ipv6Addr}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [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/postgres.rs:13:119 [INFO] [stdout] | [INFO] [stdout] 13 | async fn log(&mut self, interface: &str, pkt: P) -> Result> { [INFO] [stdout] | _____________________________________________________________------____________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | | let stmt = self.prepare("insert into packet_capture (interface, id, source, destination, protocol, data) values ($1, $2, $3, $4, ... [INFO] [stdout] 15 | | let count = self.execute(&stmt, &[&interface, &0, &pkt.src(), &pkt.dest(), &0, &pkt.data()]).await?; [INFO] [stdout] 16 | | Ok(count as usize) [INFO] [stdout] 17 | | } [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `capture` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/postgres.rs:13:119 [INFO] [stdout] | [INFO] [stdout] 13 | async fn log(&mut self, interface: &str, pkt: P) -> Result> { [INFO] [stdout] | _____________________________________________________________------____________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | | let stmt = self.prepare("insert into packet_capture (interface, id, source, destination, protocol, data) values ($1, $2, $3, $4, ... [INFO] [stdout] 15 | | let count = self.execute(&stmt, &[&interface, &0, &pkt.src(), &pkt.dest(), &0, &pkt.data()]).await?; [INFO] [stdout] 16 | | Ok(count as usize) [INFO] [stdout] 17 | | } [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: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `capture` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e5d9276e226dc0c297827d039f6c8b781222bcd97894885ddb7964271f0ef383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5d9276e226dc0c297827d039f6c8b781222bcd97894885ddb7964271f0ef383", kill_on_drop: false }` [INFO] [stdout] e5d9276e226dc0c297827d039f6c8b781222bcd97894885ddb7964271f0ef383