[INFO] cloning repository https://github.com/rust-lang/libc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rust-lang/libc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b336ae69d21022f21a1e2a71d3e312b7d572c5b [INFO] checking rust-lang/libc against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-lang%2Flibc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rust-lang/libc [INFO] finished tweaking git repo https://github.com/rust-lang/libc [INFO] tweaked toml for git repo https://github.com/rust-lang/libc written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rust-lang/libc on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rust-lang/libc 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 474989338d20ed244f9b3c1034294b0ab9f986ea91ea42a218e4f0d5f2c6993f [INFO] running `Command { std: "docker" "start" "-a" "474989338d20ed244f9b3c1034294b0ab9f986ea91ea42a218e4f0d5f2c6993f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "474989338d20ed244f9b3c1034294b0ab9f986ea91ea42a218e4f0d5f2c6993f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474989338d20ed244f9b3c1034294b0ab9f986ea91ea42a218e4f0d5f2c6993f", kill_on_drop: false }` [INFO] [stdout] 474989338d20ed244f9b3c1034294b0ab9f986ea91ea42a218e4f0d5f2c6993f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e86c339f727e3a01e47a7667b6334e2cf97f85f52c5c281b6639e9557c2574f1 [INFO] running `Command { std: "docker" "start" "-a" "e86c339f727e3a01e47a7667b6334e2cf97f85f52c5c281b6639e9557c2574f1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling ctest v0.5.0-beta.1 (/opt/rustwide/workdir/ctest) [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling libc v1.0.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking annotate-snippets v0.11.5 [INFO] [stderr] Checking find-msvc-tools v0.1.4 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking cc v1.2.43 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling askama_parser v0.14.0 [INFO] [stderr] Compiling askama_derive v0.14.0 [INFO] [stderr] Compiling askama v0.14.0 [INFO] [stderr] Compiling libc-test v0.1.0 (/opt/rustwide/workdir/libc-test) [INFO] [stderr] Compiling ctest-test v0.1.0 (/opt/rustwide/workdir/ctest-test) [INFO] [stderr] warning: libc-test@0.1.0: /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.c: In function 'ctest_roundtrip__af_alg_iv': [INFO] [stderr] warning: libc-test@0.1.0: /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.c:78393:1: note: the ABI of passing struct with a flexible array member has changed in GCC 4.4 [INFO] [stderr] warning: libc-test@0.1.0: 78393 | ) { [INFO] [stderr] warning: libc-test@0.1.0: | ^ [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> libc-test/tests/linux_kernel_version.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(unsafe { libc::KERNEL_VERSION(6, 0, 0) }, 393216); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> libc-test/tests/linux_kernel_version.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(unsafe { libc::KERNEL_VERSION(6, 0, 255) }, 393471); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> libc-test/tests/linux_kernel_version.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(unsafe { libc::KERNEL_VERSION(6, 0, 256) }, 393471); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> libc-test/tests/linux_kernel_version.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(unsafe { libc::KERNEL_VERSION(6, 0, 300) }, 393471); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> libc-test/tests/linux_kernel_version.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | assert_eq!(unsafe { libc::KERNEL_VERSION(6, 0, u32::MAX) }, 393471); [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `libc::open_how`, which is not FFI-safe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.rs:180330:52 [INFO] [stdout] | [INFO] [stdout] 180330 | fn ctest_field_ptr__open_how__flags(a: *const open_how) -> *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: this struct is non-exhaustive [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `libc::open_how`, which is not FFI-safe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.rs:180348:51 [INFO] [stdout] | [INFO] [stdout] 180348 | fn ctest_field_ptr__open_how__mode(a: *const open_how) -> *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: this struct is non-exhaustive [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `libc::open_how`, which is not FFI-safe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.rs:180366:54 [INFO] [stdout] | [INFO] [stdout] 180366 | fn ctest_field_ptr__open_how__resolve(a: *const open_how) -> *mut u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: this struct is non-exhaustive [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `libc::open_how`, which is not FFI-safe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.rs:223747:24 [INFO] [stdout] | [INFO] [stdout] 223747 | input: MaybeUninit, is_padding_byte: *const bool, value_bytes: *mut u8 [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: this struct is non-exhaustive [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `libc::open_how`, which is not FFI-safe [INFO] [stdout] --> /opt/rustwide/target/debug/build/libc-test-b888277eec830f7e/out/ctest_output.rs:223748:18 [INFO] [stdout] | [INFO] [stdout] 223748 | ) -> U; [INFO] [stdout] | ^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: this struct is non-exhaustive [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.11s [INFO] running `Command { std: "docker" "inspect" "e86c339f727e3a01e47a7667b6334e2cf97f85f52c5c281b6639e9557c2574f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e86c339f727e3a01e47a7667b6334e2cf97f85f52c5c281b6639e9557c2574f1", kill_on_drop: false }` [INFO] [stdout] e86c339f727e3a01e47a7667b6334e2cf97f85f52c5c281b6639e9557c2574f1