[INFO] fetching crate system-configuration 0.6.1... [INFO] checking system-configuration-0.6.1 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate system-configuration 0.6.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate system-configuration 0.6.1 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate system-configuration 0.6.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate system-configuration 0.6.1 [INFO] tweaked toml for crates.io crate system-configuration 0.6.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate system-configuration 0.6.1 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9440ae1e7489f8ed3b1e543a17dd9d40c532155719662125a82cf1b1deb3650c [INFO] running `Command { std: "docker" "start" "-a" "9440ae1e7489f8ed3b1e543a17dd9d40c532155719662125a82cf1b1deb3650c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9440ae1e7489f8ed3b1e543a17dd9d40c532155719662125a82cf1b1deb3650c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9440ae1e7489f8ed3b1e543a17dd9d40c532155719662125a82cf1b1deb3650c", kill_on_drop: false }` [INFO] [stdout] 9440ae1e7489f8ed3b1e543a17dd9d40c532155719662125a82cf1b1deb3650c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f892ff7db88826806b42ffaafc9d7abc994c732b71d26d053dc80b00fcbbe8be [INFO] running `Command { std: "docker" "start" "-a" "f892ff7db88826806b42ffaafc9d7abc994c732b71d26d053dc80b00fcbbe8be", 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 libc v0.2.158 [INFO] [stderr] Checking core-foundation-sys v0.8.7 [INFO] [stderr] Compiling system-configuration-sys v0.6.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking core-foundation v0.9.4 [INFO] [stderr] Checking system-configuration v0.6.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0560]: struct `sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/network_reachability.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | sin_len: std::mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `sockaddr_in6` has no field named `sin6_len` [INFO] [stdout] --> src/network_reachability.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | sin6_len: std::mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^^ `sockaddr_in6` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core_foundation::base::TCFType::wrap_under_get_rule` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let store = SCDynamicStore::wrap_under_get_rule(store_ref); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/dynamic_store.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | / unsafe extern "C" fn convert_callback( [INFO] [stdout] 286 | | store_ref: SCDynamicStoreRef, [INFO] [stdout] 287 | | changed_keys_ref: CFArrayRef, [INFO] [stdout] 288 | | context_ptr: *mut c_void, [INFO] [stdout] 289 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core_foundation::base::TCFType::wrap_under_get_rule` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let changed_keys = CFArray::::wrap_under_get_rule(changed_keys_ref); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let context = &mut *(context_ptr as *mut _ as *mut SCDynamicStoreCallBackContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | let _context = Box::from_raw(context_ptr as *mut SCDynamicStoreCallBackContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/dynamic_store.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe extern "C" fn release_callback_context(context_ptr: *const c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::network_reachability::SCNetworkReachabilityScheduleWithRunLoop` is unsafe and requires unsafe block [INFO] [stdout] --> src/network_reachability.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if SCNetworkReachabilityScheduleWithRunLoop( [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | self.0, [INFO] [stdout] 202 | | run_loop.to_void() as *mut _, [INFO] [stdout] 203 | | run_loop_mode, [INFO] [stdout] 204 | | ) == 0u8 [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/network_reachability.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / pub unsafe fn schedule_with_runloop( [INFO] [stdout] 196 | | &self, [INFO] [stdout] 197 | | run_loop: &CFRunLoop, [INFO] [stdout] 198 | | run_loop_mode: CFStringRef, [INFO] [stdout] 199 | | ) -> Result<(), SchedulingError> { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `system-configuration` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stdout] warning[E0133]: call to unsafe function `sys::network_reachability::SCNetworkReachabilityUnscheduleFromRunLoop` is unsafe and requires unsafe block [INFO] [stdout] --> src/network_reachability.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | if SCNetworkReachabilityUnscheduleFromRunLoop( [INFO] [stdout] | ____________^ [INFO] [stdout] 228 | | self.0, [INFO] [stdout] 229 | | run_loop.to_void() as *mut _, [INFO] [stdout] 230 | | run_loop_mode, [INFO] [stdout] 231 | | ) == 0u8 [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/network_reachability.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / pub unsafe fn unschedule_from_runloop( [INFO] [stdout] 223 | | &self, [INFO] [stdout] 224 | | run_loop: &CFRunLoop, [INFO] [stdout] 225 | | run_loop_mode: CFStringRef, [INFO] [stdout] 226 | | ) -> Result<(), UnschedulingError> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0133, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `sockaddr_in` has no field named `sin_len` [INFO] [stdout] --> src/network_reachability.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | sin_len: std::mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^ `sockaddr_in` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `sockaddr_in6` has no field named `sin6_len` [INFO] [stdout] --> src/network_reachability.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | sin6_len: std::mem::size_of::() as u8, [INFO] [stdout] | ^^^^^^^^ `sockaddr_in6` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: all struct fields are already assigned [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core_foundation::base::TCFType::wrap_under_get_rule` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let store = SCDynamicStore::wrap_under_get_rule(store_ref); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/dynamic_store.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | / unsafe extern "C" fn convert_callback( [INFO] [stdout] 286 | | store_ref: SCDynamicStoreRef, [INFO] [stdout] 287 | | changed_keys_ref: CFArrayRef, [INFO] [stdout] 288 | | context_ptr: *mut c_void, [INFO] [stdout] 289 | | ) { [INFO] [stdout] | |_^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `core_foundation::base::TCFType::wrap_under_get_rule` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:291:24 [INFO] [stdout] | [INFO] [stdout] 291 | let changed_keys = CFArray::::wrap_under_get_rule(changed_keys_ref); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:292:24 [INFO] [stdout] | [INFO] [stdout] 292 | let context = &mut *(context_ptr as *mut _ as *mut SCDynamicStoreCallBackContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `system-configuration` (lib) due to 2 previous errors; 6 warnings emitted [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/dynamic_store.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | let _context = Box::from_raw(context_ptr as *mut SCDynamicStoreCallBackContext); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/dynamic_store.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe extern "C" fn release_callback_context(context_ptr: *const c_void) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::network_reachability::SCNetworkReachabilityScheduleWithRunLoop` is unsafe and requires unsafe block [INFO] [stdout] --> src/network_reachability.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | if SCNetworkReachabilityScheduleWithRunLoop( [INFO] [stdout] | ____________^ [INFO] [stdout] 201 | | self.0, [INFO] [stdout] 202 | | run_loop.to_void() as *mut _, [INFO] [stdout] 203 | | run_loop_mode, [INFO] [stdout] 204 | | ) == 0u8 [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/network_reachability.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | / pub unsafe fn schedule_with_runloop( [INFO] [stdout] 196 | | &self, [INFO] [stdout] 197 | | run_loop: &CFRunLoop, [INFO] [stdout] 198 | | run_loop_mode: CFStringRef, [INFO] [stdout] 199 | | ) -> Result<(), SchedulingError> { [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `sys::network_reachability::SCNetworkReachabilityUnscheduleFromRunLoop` is unsafe and requires unsafe block [INFO] [stdout] --> src/network_reachability.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | if SCNetworkReachabilityUnscheduleFromRunLoop( [INFO] [stdout] | ____________^ [INFO] [stdout] 228 | | self.0, [INFO] [stdout] 229 | | run_loop.to_void() as *mut _, [INFO] [stdout] 230 | | run_loop_mode, [INFO] [stdout] 231 | | ) == 0u8 [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/network_reachability.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | / pub unsafe fn unschedule_from_runloop( [INFO] [stdout] 223 | | &self, [INFO] [stdout] 224 | | run_loop: &CFRunLoop, [INFO] [stdout] 225 | | run_loop_mode: CFStringRef, [INFO] [stdout] 226 | | ) -> Result<(), UnschedulingError> { [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "f892ff7db88826806b42ffaafc9d7abc994c732b71d26d053dc80b00fcbbe8be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f892ff7db88826806b42ffaafc9d7abc994c732b71d26d053dc80b00fcbbe8be", kill_on_drop: false }` [INFO] [stdout] f892ff7db88826806b42ffaafc9d7abc994c732b71d26d053dc80b00fcbbe8be