[INFO] fetching crate ext-php-rs 0.15.15... [INFO] checking ext-php-rs-0.15.15 against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] extracting crate ext-php-rs 0.15.15 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate ext-php-rs 0.15.15 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ext-php-rs 0.15.15 [INFO] tweaked toml for crates.io crate ext-php-rs 0.15.15 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ext-php-rs 0.15.15 on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ext-php-rs 0.15.15 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d [INFO] running `Command { std: "docker" "start" "47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling bitflags v2.12.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ext-php-rs-bindgen v0.72.1-extphprs.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling darling_core v0.23.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 regex v1.12.3 [INFO] [stderr] Compiling log v0.4.31 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling ext-php-rs-build v0.1.1 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling convert_case v0.11.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling ext-php-rs-derive v0.11.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking inventory v0.3.24 [INFO] [stderr] Compiling ext-php-rs v0.15.15 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #[cfg_attr(windows, path = "windows_build.rs")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(misleading_cfg_in_build_script)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | #[cfg_attr(not(windows), path = "unix_build.rs")] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ext-php-rs` (build script) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d", kill_on_drop: false }` [INFO] [stdout] 47f4d87df84a3c52f4560537bf55c1954f9ca0d365cd99134c6bc5003c8ec00d