[INFO] fetching crate yoga-sys 0.2.3... [INFO] testing yoga-sys-0.2.3 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate yoga-sys 0.2.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate yoga-sys 0.2.3 [INFO] finished tweaking crates.io crate yoga-sys 0.2.3 [INFO] tweaked toml for crates.io crate yoga-sys 0.2.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yoga-sys 0.2.3 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 65 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd3425439f0b89ee9b87d407ba00d570a8478ef4d17c8fcad5d49912c1283dda [INFO] running `Command { std: "docker" "start" "-a" "fd3425439f0b89ee9b87d407ba00d570a8478ef4d17c8fcad5d49912c1283dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd3425439f0b89ee9b87d407ba00d570a8478ef4d17c8fcad5d49912c1283dda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd3425439f0b89ee9b87d407ba00d570a8478ef4d17c8fcad5d49912c1283dda", kill_on_drop: false }` [INFO] [stdout] fd3425439f0b89ee9b87d407ba00d570a8478ef4d17c8fcad5d49912c1283dda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5475885000fcccc5b166e1906cf726711904829a818a2b765dc59ed249037c00 [INFO] running `Command { std: "docker" "start" "-a" "5475885000fcccc5b166e1906cf726711904829a818a2b765dc59ed249037c00", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling yoga-sys v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: yoga-sys@0.2.3: c/YGNodeList.cpp: In function 'YGNodeList* YGNodeListNew(uint32_t)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/YGNodeList.cpp:22:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 22 | (const YGNodeListRef)malloc(sizeof(struct YGNodeList)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGNode* YGNodeNewWithConfig(YGConfigRef)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:174:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 174 | const YGNodeRef node = (const YGNodeRef)malloc(sizeof(YGNode)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGNode* YGNodeClone(YGNodeRef)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:193:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 193 | const YGNodeRef node = (const YGNodeRef)malloc(sizeof(YGNode)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGConfig* YGConfigNew()': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:268:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 268 | const YGConfigRef config = (const YGConfigRef)malloc(sizeof(YGConfig)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.43s [INFO] running `Command { std: "docker" "inspect" "5475885000fcccc5b166e1906cf726711904829a818a2b765dc59ed249037c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5475885000fcccc5b166e1906cf726711904829a818a2b765dc59ed249037c00", kill_on_drop: false }` [INFO] [stdout] 5475885000fcccc5b166e1906cf726711904829a818a2b765dc59ed249037c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c946a1cfeea52579f3503c5a2a4a92f7c5bb865fd27e81f74b21e821e7c59210 [INFO] running `Command { std: "docker" "start" "-a" "c946a1cfeea52579f3503c5a2a4a92f7c5bb865fd27e81f74b21e821e7c59210", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling yoga-sys v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] warning: yoga-sys@0.2.3: c/YGNodeList.cpp: In function 'YGNodeList* YGNodeListNew(uint32_t)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/YGNodeList.cpp:22:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 22 | (const YGNodeListRef)malloc(sizeof(struct YGNodeList)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGNode* YGNodeNewWithConfig(YGConfigRef)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:174:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 174 | const YGNodeRef node = (const YGNodeRef)malloc(sizeof(YGNode)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGNode* YGNodeClone(YGNodeRef)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:193:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 193 | const YGNodeRef node = (const YGNodeRef)malloc(sizeof(YGNode)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGConfig* YGConfigNew()': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:268:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 268 | const YGConfigRef config = (const YGConfigRef)malloc(sizeof(YGConfig)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:197:19 [INFO] [stdout] | [INFO] [stdout] 197 | unsafe { &(*(0 as *const YGSize)).width as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:207:19 [INFO] [stdout] | [INFO] [stdout] 207 | unsafe { &(*(0 as *const YGSize)).height as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { &(*(0 as *const YGValue)).value as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | unsafe { &(*(0 as *const YGValue)).unit as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:783:19 [INFO] [stdout] | [INFO] [stdout] 783 | unsafe { &(*(0 as *const __va_list_tag)).gp_offset as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:793:19 [INFO] [stdout] | [INFO] [stdout] 793 | unsafe { &(*(0 as *const __va_list_tag)).fp_offset as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:803:19 [INFO] [stdout] | [INFO] [stdout] 803 | unsafe { &(*(0 as *const __va_list_tag)).overflow_arg_area as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/ffi.rs:813:19 [INFO] [stdout] | [INFO] [stdout] 813 | unsafe { &(*(0 as *const __va_list_tag)).reg_save_area as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: yoga-sys@0.2.3: c/YGNodeList.cpp: In function 'YGNodeList* YGNodeListNew(uint32_t)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/YGNodeList.cpp:22:7: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 22 | (const YGNodeListRef)malloc(sizeof(struct YGNodeList)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGNode* YGNodeNewWithConfig(YGConfigRef)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:174:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 174 | const YGNodeRef node = (const YGNodeRef)malloc(sizeof(YGNode)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGNode* YGNodeClone(YGNodeRef)': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:193:26: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 193 | const YGNodeRef node = (const YGNodeRef)malloc(sizeof(YGNode)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp: In function 'YGConfig* YGConfigNew()': [INFO] [stderr] warning: yoga-sys@0.2.3: c/Yoga.cpp:268:30: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] [INFO] [stderr] warning: yoga-sys@0.2.3: 268 | const YGConfigRef config = (const YGConfigRef)malloc(sizeof(YGConfig)); [INFO] [stderr] warning: yoga-sys@0.2.3: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] error: could not compile `yoga-sys` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "c946a1cfeea52579f3503c5a2a4a92f7c5bb865fd27e81f74b21e821e7c59210", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c946a1cfeea52579f3503c5a2a4a92f7c5bb865fd27e81f74b21e821e7c59210", kill_on_drop: false }` [INFO] [stdout] c946a1cfeea52579f3503c5a2a4a92f7c5bb865fd27e81f74b21e821e7c59210