[INFO] fetching crate cdns-rs 0.2.6... [INFO] checking cdns-rs-0.2.6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cdns-rs 0.2.6 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate cdns-rs 0.2.6 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 cdns-rs 0.2.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate cdns-rs 0.2.6 [INFO] tweaked toml for crates.io crate cdns-rs 0.2.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate cdns-rs 0.2.6 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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 828b53b723563fa139d500906b893074cc7db109465b563901b97a24bee5edf5 [INFO] running `Command { std: "docker" "start" "-a" "828b53b723563fa139d500906b893074cc7db109465b563901b97a24bee5edf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "828b53b723563fa139d500906b893074cc7db109465b563901b97a24bee5edf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828b53b723563fa139d500906b893074cc7db109465b563901b97a24bee5edf5", kill_on_drop: false }` [INFO] [stdout] 828b53b723563fa139d500906b893074cc7db109465b563901b97a24bee5edf5 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d529ea042e10547dc3874ed46c3aa6ff136ccd7844b8d89fc4d8f20e14ff4977 [INFO] running `Command { std: "docker" "start" "-a" "d529ea042e10547dc3874ed46c3aa6ff136ccd7844b8d89fc4d8f20e14ff4977", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tokio-byteorder v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking cdns-rs v0.2.6 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'cache> CacheTime<'cache> [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn new(path: &'cache Path) -> CDnsResult> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl + CacheOperations> CacheInstance [INFO] [stdout] | --------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn new() -> CDnsResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foresee_char` is never used [INFO] [stdout] --> src/tokenizer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'token> ConfTokenizer<'token> [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn foresee_char(&mut self) -> Option [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/sync/log.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 90 | fn initialize_safe(w: Box) -> bool [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | match WRITABLE_BUFFER.lock() [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 `cdns-rs` (lib) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'cache> CacheTime<'cache> [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | fn new(path: &'cache Path) -> CDnsResult> [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/a_sync/caches.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl + CacheOperations> CacheInstance [INFO] [stdout] | --------------------------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn new() -> CDnsResult [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `foresee_char` is never used [INFO] [stdout] --> src/tokenizer.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'token> ConfTokenizer<'token> [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn foresee_char(&mut self) -> Option [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/sync/log.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 90 | fn initialize_safe(w: Box) -> bool [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | match WRITABLE_BUFFER.lock() [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 `cdns-rs` (lib test) due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d529ea042e10547dc3874ed46c3aa6ff136ccd7844b8d89fc4d8f20e14ff4977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d529ea042e10547dc3874ed46c3aa6ff136ccd7844b8d89fc4d8f20e14ff4977", kill_on_drop: false }` [INFO] [stdout] d529ea042e10547dc3874ed46c3aa6ff136ccd7844b8d89fc4d8f20e14ff4977