[INFO] fetching crate hwlocality 1.0.0-alpha.6... [INFO] checking hwlocality-1.0.0-alpha.6 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate hwlocality 1.0.0-alpha.6 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hwlocality 1.0.0-alpha.6 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hwlocality 1.0.0-alpha.6 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hwlocality 1.0.0-alpha.6 [INFO] tweaked toml for crates.io crate hwlocality 1.0.0-alpha.6 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate hwlocality 1.0.0-alpha.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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f9cae9d46a3f6f1f2107e5312ed7801560b15d2597fdb116cf45e1223b887c [INFO] running `Command { std: "docker" "start" "-a" "e4f9cae9d46a3f6f1f2107e5312ed7801560b15d2597fdb116cf45e1223b887c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f9cae9d46a3f6f1f2107e5312ed7801560b15d2597fdb116cf45e1223b887c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f9cae9d46a3f6f1f2107e5312ed7801560b15d2597fdb116cf45e1223b887c", kill_on_drop: false }` [INFO] [stdout] e4f9cae9d46a3f6f1f2107e5312ed7801560b15d2597fdb116cf45e1223b887c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4fa8aa059293ddd3f30791e6c08a8fa47686c113b6711cac7ce30ccae9a525b [INFO] running `Command { std: "docker" "start" "-a" "d4fa8aa059293ddd3f30791e6c08a8fa47686c113b6711cac7ce30ccae9a525b", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking eyre v0.6.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling hwlocality-sys v0.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking errno v0.3.9 [INFO] [stderr] Checking sysinfo v0.31.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking similar-asserts v1.5.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling enum-iterator-derive v1.4.0 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking enum-iterator v2.1.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking hwlocality v1.0.0-alpha.6 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Fixed src/object/search/mod.rs (1 fix) [INFO] [stderr] Fixed src/object/distance.rs (2 fixes) [INFO] [stderr] Fixed src/ffi/string.rs (2 fixes) [INFO] [stderr] Fixed src/bitmap/mod.rs (1 fix) [INFO] [stderr] Migrating examples/walk_tree.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cpu/cpuset.rs (2 fixes) [INFO] [stderr] Fixed src/object/hierarchy.rs (1 fix) [INFO] [stderr] Fixed src/strategies.rs (1 fix) [INFO] [stderr] Fixed src/topology/builder.rs (1 fix) [INFO] [stderr] Fixed src/object/search/mod.rs (1 fix) [INFO] [stderr] Fixed src/object/mod.rs (1 fix) [INFO] [stderr] Fixed src/cpu/cache.rs (1 fix) [INFO] [stderr] Migrating examples/number_of_packages.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/processor_cache.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/support.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/bind_threads_cpu.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/single-threaded.rs from 2021 edition to 2024 [INFO] [stderr] Fixed tests/single-threaded.rs (7 fixes) [INFO] [stderr] Migrating examples/walk_linear.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/single-threaded.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | if let Err(HybridError::Hwloc(RawHwlocError { errno, .. })) = $result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | handle_windows_edge_cases!(&result, target); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/single-threaded.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 210 | handle_windows_edge_cases!(&result, target); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `handle_windows_edge_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/single-threaded.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 147 | if let Err(HybridError::Hwloc(RawHwlocError { errno, .. })) = $result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | handle_windows_edge_cases!(&result, target); [INFO] [stdout] | ------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/single-threaded.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 315 | handle_windows_edge_cases!(&result, target); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `handle_windows_edge_cases` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/bind_process_cpu.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/process_cpu_bindings.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/bind_to_last_core.rs from 2021 edition to 2024 [INFO] [stderr] Migrating examples/allocate_bound.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.47s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking hwlocality v1.0.0-alpha.6 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ffi/mod.rs:161:48 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(unsafe { deref_mut_ptr(&mut ptr::null_mut::()) }, None); [INFO] [stdout] | ---------------------------------------^^^^^^^^^^^^^^^^^^^^^^---------- [INFO] [stdout] | | | | [INFO] [stdout] | | | temporary value is freed at the end of this statement [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hwlocality` (lib test) due to 1 previous error [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d4fa8aa059293ddd3f30791e6c08a8fa47686c113b6711cac7ce30ccae9a525b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4fa8aa059293ddd3f30791e6c08a8fa47686c113b6711cac7ce30ccae9a525b", kill_on_drop: false }` [INFO] [stdout] d4fa8aa059293ddd3f30791e6c08a8fa47686c113b6711cac7ce30ccae9a525b