[INFO] cloning repository https://github.com/mtripiana/agent-snap
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mtripiana/agent-snap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtripiana%2Fagent-snap", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtripiana%2Fagent-snap'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 959846174a3da4ee5b6b1717227141aa188ffbd2
[INFO] checking mtripiana/agent-snap against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmtripiana%2Fagent-snap" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-1-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/mtripiana/agent-snap
[INFO] finished tweaking git repo https://github.com/mtripiana/agent-snap
[INFO] tweaked toml for git repo https://github.com/mtripiana/agent-snap written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mtripiana/agent-snap on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mtripiana/agent-snap 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d
[INFO] running `Command { std: "docker" "start" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d", 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" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d", 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" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]     Checking once_cell v1.21.4
[INFO] [stderr]     Checking agentsnap-core v0.1.0 (/opt/rustwide/workdir/crates/agentsnap-core)
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__user_cap_header_struct` in crate `libc`
[INFO] [stdout]    --> crates/agentsnap-core/src/security.rs:464:24
[INFO] [stdout]     |
[INFO] [stdout] 464 |     let header = libc::__user_cap_header_struct {
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_LINUX_CAPABILITY_VERSION_3` in crate `libc`
[INFO] [stdout]    --> crates/agentsnap-core/src/security.rs:465:24
[INFO] [stdout]     |
[INFO] [stdout] 465 |         version: libc::_LINUX_CAPABILITY_VERSION_3,
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__user_cap_data_struct` in crate `libc`
[INFO] [stdout]    --> crates/agentsnap-core/src/security.rs:470:15
[INFO] [stdout]     |
[INFO] [stdout] 470 |         libc::__user_cap_data_struct {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `__user_cap_data_struct` in crate `libc`
[INFO] [stdout]    --> crates/agentsnap-core/src/security.rs:475:15
[INFO] [stdout]     |
[INFO] [stdout] 475 |         libc::__user_cap_data_struct {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `capset` in crate `libc`
[INFO] [stdout]    --> crates/agentsnap-core/src/security.rs:482:40
[INFO] [stdout]     |
[INFO] [stdout] 482 |     let capset_result = unsafe { libc::capset(&header, data.as_ptr()) };
[INFO] [stdout]     |                                        ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agentsnap-core` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d", kill_on_drop: false }`
[INFO] [stdout] 0f4bda98c5712a382d8c6de51ad004d516d67b9f8fbc9cc86ee6b058116f1b3d
