[INFO] fetching crate cursed 0.0.1... [INFO] checking cursed-0.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cursed 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate cursed 0.0.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cursed 0.0.1 [INFO] finished tweaking crates.io crate cursed 0.0.1 [INFO] tweaked toml for crates.io crate cursed 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding lock_api v0.3.4 (available: v0.4.12) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.6.3 (available: v0.9.10) [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.6) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f94b1d8e7735fe2f5119429ce860a06f7fe2ebefc26db67845026452d6dce04c [INFO] running `Command { std: "docker" "start" "-a" "f94b1d8e7735fe2f5119429ce860a06f7fe2ebefc26db67845026452d6dce04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f94b1d8e7735fe2f5119429ce860a06f7fe2ebefc26db67845026452d6dce04c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f94b1d8e7735fe2f5119429ce860a06f7fe2ebefc26db67845026452d6dce04c", kill_on_drop: false }` [INFO] [stdout] f94b1d8e7735fe2f5119429ce860a06f7fe2ebefc26db67845026452d6dce04c [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c297ae9ab7f91359cf8f9aa2d7e2577f128fa6ecf2b9f2ad062c7d9d1d1379f [INFO] running `Command { std: "docker" "start" "-a" "8c297ae9ab7f91359cf8f9aa2d7e2577f128fa6ecf2b9f2ad062c7d9d1d1379f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking cursed v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result, Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vec.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 24 | let x = self.clone(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | match x.1.downcast() { [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: this value of type `Result, std::sync::Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/vec.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 24 | let x = self.clone(); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | match x.1.downcast() { [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: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field1` and `field2` are never read [INFO] [stdout] --> src/nullable.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 46 | field1: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | field2: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cursed` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cursed` (lib) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8c297ae9ab7f91359cf8f9aa2d7e2577f128fa6ecf2b9f2ad062c7d9d1d1379f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c297ae9ab7f91359cf8f9aa2d7e2577f128fa6ecf2b9f2ad062c7d9d1d1379f", kill_on_drop: false }` [INFO] [stdout] 8c297ae9ab7f91359cf8f9aa2d7e2577f128fa6ecf2b9f2ad062c7d9d1d1379f