[INFO] fetching crate hwloc 0.5.0... [INFO] checking hwloc-0.5.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate hwloc 0.5.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate hwloc 0.5.0 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 hwloc 0.5.0 [INFO] finished tweaking crates.io crate hwloc 0.5.0 [INFO] tweaked toml for crates.io crate hwloc 0.5.0 written to /workspace/builds/worker-1-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.6.0) [INFO] [stderr] Adding errno v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebf8ed99aae1b2ca31ce1b2bf23b7afcda0afe3e18f6f98c59983948572c5ded [INFO] running `Command { std: "docker" "start" "-a" "ebf8ed99aae1b2ca31ce1b2bf23b7afcda0afe3e18f6f98c59983948572c5ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf8ed99aae1b2ca31ce1b2bf23b7afcda0afe3e18f6f98c59983948572c5ded", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf8ed99aae1b2ca31ce1b2bf23b7afcda0afe3e18f6f98c59983948572c5ded", kill_on_drop: false }` [INFO] [stdout] ebf8ed99aae1b2ca31ce1b2bf23b7afcda0afe3e18f6f98c59983948572c5ded [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5189d96357338c52bc68572ece5b426ae57f189188b12e0165c8ecba62244f4b [INFO] running `Command { std: "docker" "start" "-a" "5189d96357338c52bc68572ece5b426ae57f189188b12e0165c8ecba62244f4b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling hwloc v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.1.42 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 594 | | } [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 594 | | } [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 594 | | } [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:568:1 [INFO] [stdout] | [INFO] [stdout] 568 | / bitflags! { [INFO] [stdout] 569 | | /// Process/Thread binding flags. [INFO] [stdout] 570 | | /// [INFO] [stdout] 571 | | /// These bit flags can be used to refine the binding policy. [INFO] [stdout] ... | [INFO] [stdout] 594 | | } [INFO] [stdout] 595 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:597:1 [INFO] [stdout] | [INFO] [stdout] 597 | / bitflags! { [INFO] [stdout] 598 | | pub flags MemBindPolicy: i32 { [INFO] [stdout] 599 | | /// Reset the memory allocation policy to the system default. Depending on the operating [INFO] [stdout] 600 | | /// system, this may correspond to MEMBIND_FIRSTTOUCH (Linux), or MEMBIND_BIND (AIX, [INFO] [stdout] ... | [INFO] [stdout] 629 | | } [INFO] [stdout] 630 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 278 | let _ = CString::from_raw(separator_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used [INFO] [stdout] --> src/topology_object.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | CString::from_raw(separator_ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(from_raw(ptr))` if you intend to drop the `CString` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 278 | let _ = CString::from_raw(separator_ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/bind_process.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut topo = Topology::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | if let Some(l) = topo.get_cpu_location_for_process(pid, CPUBIND_PROCESS) { [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hwloc` (example "bind_process") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5189d96357338c52bc68572ece5b426ae57f189188b12e0165c8ecba62244f4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5189d96357338c52bc68572ece5b426ae57f189188b12e0165c8ecba62244f4b", kill_on_drop: false }` [INFO] [stdout] 5189d96357338c52bc68572ece5b426ae57f189188b12e0165c8ecba62244f4b