[INFO] fetching crate reblessive 0.4.0... [INFO] checking reblessive-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate reblessive 0.4.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate reblessive 0.4.0 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 reblessive 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate reblessive 0.4.0 [INFO] tweaked toml for crates.io crate reblessive 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate reblessive 0.4.0 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] [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] 488278ddf372c3b5ca51692ae4a6b8bd1b9740e6ecfb611a14ac74b38d5693f6 [INFO] running `Command { std: "docker" "start" "-a" "488278ddf372c3b5ca51692ae4a6b8bd1b9740e6ecfb611a14ac74b38d5693f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "488278ddf372c3b5ca51692ae4a6b8bd1b9740e6ecfb611a14ac74b38d5693f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "488278ddf372c3b5ca51692ae4a6b8bd1b9740e6ecfb611a14ac74b38d5693f6", kill_on_drop: false }` [INFO] [stdout] 488278ddf372c3b5ca51692ae4a6b8bd1b9740e6ecfb611a14ac74b38d5693f6 [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] dc80ac0664f58b00209024120b0ac1c755ea5054dcd57f263b90244f38bf1d40 [INFO] running `Command { std: "docker" "start" "-a" "dc80ac0664f58b00209024120b0ac1c755ea5054dcd57f263b90244f38bf1d40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling quote v0.3.8 [INFO] [stderr] Compiling memoffset v0.5.0 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling synom v0.11.0 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v0.11.10 [INFO] [stderr] Compiling serde v1.0.100 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.0 [INFO] [stderr] Compiling rustix v0.37.0 [INFO] [stderr] Checking either v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking linux-raw-sys v0.3.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling syn v2.0.8 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking num-traits v0.1.32 [INFO] [stderr] Checking half v2.2.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking dtoa v0.4.0 [INFO] [stderr] Checking itoa v0.3.0 [INFO] [stderr] Compiling serde_derive_internals v0.15.0 [INFO] [stderr] Checking plotters-backend v0.3.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking plotters-svg v0.3.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking arc-swap v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking same-file v1.0.1 [INFO] [stderr] Checking signal-hook-registry v1.1.1 [INFO] [stderr] Checking walkdir v2.3.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking mio v0.8.9 [INFO] [stderr] Checking clap v4.0.0 [INFO] [stderr] Checking is-terminal v0.4.6 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking anes v0.1.4 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking reblessive v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `take` is never used [INFO] [stdout] --> src/defer.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Defer { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn take(mut self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace` is never used [INFO] [stdout] --> src/ptr.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 31 | impl Owned { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub unsafe fn replace(&self, v: T) -> T { [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/allocator.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe fn inner_writer(ptr: *mut T, f: F) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | std::ptr::write(ptr, f()) [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/defer.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: T, func: F) -> Self { [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] ... [INFO] [stdout] 15 | f: Some(func), [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/stack/mod.rs:103:88 [INFO] [stdout] | [INFO] [stdout] 103 | (*self.allocator.get()).alloc_with::, _>(|| UnsafeCell::new(None)); [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/stack/future.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(f: F) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | InnerStkFuture { [INFO] [stdout] 30 | state: StkFutureState::Initial(f), [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/stack/stk.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn run<'a, F, Fut, R>(&'a mut self, f: F) -> StkFuture<'a, F, R> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | StkFuture(InnerStkFuture::new(f)) [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/stack/stk.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn enter_run<'a, F, Fut, R>(f: F) -> StkFuture<'a, F, R> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | StkFuture(InnerStkFuture::new(f)) [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 6 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reblessive` (lib) due to 7 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dc80ac0664f58b00209024120b0ac1c755ea5054dcd57f263b90244f38bf1d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc80ac0664f58b00209024120b0ac1c755ea5054dcd57f263b90244f38bf1d40", kill_on_drop: false }` [INFO] [stdout] dc80ac0664f58b00209024120b0ac1c755ea5054dcd57f263b90244f38bf1d40