[INFO] fetching crate hwloc 0.5.0... [INFO] checking hwloc-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hwloc 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate hwloc 0.5.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 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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (latest: v2.6.0) [INFO] [stderr] Adding errno v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.3) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [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] 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c18575ad457616d6b0e57137956d9c77c50a3150bedfb29f012a99db57a3f277 [INFO] running `Command { std: "docker" "start" "-a" "c18575ad457616d6b0e57137956d9c77c50a3150bedfb29f012a99db57a3f277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c18575ad457616d6b0e57137956d9c77c50a3150bedfb29f012a99db57a3f277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18575ad457616d6b0e57137956d9c77c50a3150bedfb29f012a99db57a3f277", kill_on_drop: false }` [INFO] [stdout] c18575ad457616d6b0e57137956d9c77c50a3150bedfb29f012a99db57a3f277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5aae40a9cf957c8ad4557cb81b42cd5cba4b5c21d3f464894d358dd31444430f [INFO] running `Command { std: "docker" "start" "-a" "5aae40a9cf957c8ad4557cb81b42cd5cba4b5c21d3f464894d358dd31444430f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling hwloc v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-integer v0.1.46 [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: 5 warnings emitted [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> examples/bind_threads.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 39 | let child_topo = topo.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | thread::spawn(move || { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 41 | | // Get the current thread id and lock the topology to use. [INFO] [stdout] 42 | | let tid = get_thread_id(); [INFO] [stdout] 43 | | let mut locked_topo = child_topo.lock().unwrap(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | println!("Thread {}: Before {:?}, After {:?}", i, before, after); [INFO] [stdout] 62 | | }) [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_threads") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5aae40a9cf957c8ad4557cb81b42cd5cba4b5c21d3f464894d358dd31444430f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aae40a9cf957c8ad4557cb81b42cd5cba4b5c21d3f464894d358dd31444430f", kill_on_drop: false }` [INFO] [stdout] 5aae40a9cf957c8ad4557cb81b42cd5cba4b5c21d3f464894d358dd31444430f