[INFO] cloning repository https://github.com/libkrun/libkrun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/libkrun/libkrun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibkrun%2Flibkrun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibkrun%2Flibkrun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4bb6e040ad7b6e6a6cf68ffced3b895c2753a18 [INFO] checking libkrun/libkrun against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flibkrun%2Flibkrun" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/libkrun/libkrun [INFO] finished tweaking git repo https://github.com/libkrun/libkrun [INFO] tweaked toml for git repo https://github.com/libkrun/libkrun written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/libkrun/libkrun 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 git repo https://github.com/libkrun/libkrun 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-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763 [INFO] running `Command { std: "docker" "start" "9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763", 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" "9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763", 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" "9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking bitflags v2.11.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling kvm-ioctls v0.24.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking krun-arch-gen v0.1.0-1.18.0 (/opt/rustwide/workdir/src/arch_gen) [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking tokio v1.50.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking virtio-bindings v0.2.7 [INFO] [stderr] Compiling imago v0.2.3 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling nix v0.31.2 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling krun-vmm v0.1.0-1.18.0 (/opt/rustwide/workdir/src/vmm) [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling krun-init-blob v0.1.0-1.18.0 (/opt/rustwide/workdir/src/init_blob) [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling nitro-enclaves v0.6.1 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Compiling libkrun v1.18.0 (/opt/rustwide/workdir/src/libkrun) [INFO] [stderr] Checking jiff v0.2.23 [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> src/libkrun/build.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(target_os = "linux")] [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] --> src/libkrun/build.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(target_os = "macos")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libkrun` (build script) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: krun-init-blob@0.1.0-1.18.0: musl target not available; krun-init will be dynamically linked. Run `rustup target add $(uname -m)-unknown-linux-musl` for a static binary. [INFO] running `Command { std: "docker" "inspect" "9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763", kill_on_drop: false }` [INFO] [stdout] 9d40147a6ae823a86b12938c63add2b62ec2b64eb7c55dc31e9ba40458bf3763