[INFO] cloning repository https://github.com/Cu3PO42/nix-darwin-agent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cu3PO42/nix-darwin-agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCu3PO42%2Fnix-darwin-agent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCu3PO42%2Fnix-darwin-agent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 440d5d69f4da6db5754e90adb9bb36fe65c9e865
[INFO] checking Cu3PO42/nix-darwin-agent against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCu3PO42%2Fnix-darwin-agent" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Cu3PO42/nix-darwin-agent on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Cu3PO42/nix-darwin-agent
[INFO] finished tweaking git repo https://github.com/Cu3PO42/nix-darwin-agent
[INFO] tweaked toml for git repo https://github.com/Cu3PO42/nix-darwin-agent written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Cu3PO42/nix-darwin-agent 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c775da9a904a294f6da22612909a348f751417c963424f19204410e386546137
[INFO] running `Command { std: "docker" "start" "-a" "c775da9a904a294f6da22612909a348f751417c963424f19204410e386546137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c775da9a904a294f6da22612909a348f751417c963424f19204410e386546137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c775da9a904a294f6da22612909a348f751417c963424f19204410e386546137", kill_on_drop: false }`
[INFO] [stdout] c775da9a904a294f6da22612909a348f751417c963424f19204410e386546137
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 22dcba1831f1e93794cfc8c28a90de79d2c2228653c542b10c5e0cc76df869d6
[INFO] running `Command { std: "docker" "start" "-a" "22dcba1831f1e93794cfc8c28a90de79d2c2228653c542b10c5e0cc76df869d6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]     Checking core-foundation-sys v0.8.4
[INFO] [stderr]     Checking security-framework-sys v2.9.0
[INFO] [stderr]     Checking core-foundation v0.9.3
[INFO] [stderr]     Checking security-framework v2.9.1
[INFO] [stderr]     Checking nix-launch-agent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `kqueue` in crate `libc`
[INFO] [stdout]   --> src/main.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let kq = unsafe { libc::kqueue() };
[INFO] [stdout]    |                             ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `kevent` in crate `libc`
[INFO] [stdout]    --> src/main.rs:45:34
[INFO] [stdout]     |
[INFO] [stdout] 45  |       let mut kernel_event = libc::kevent {
[INFO] [stdout]     |                                    ^^^^^^ help: a struct with a similar name exists: `servent`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.147/src/unix/mod.rs:54:1
[INFO] [stdout]     |
[INFO] [stdout] 54  | / s! {
[INFO] [stdout] 55  | |     pub struct group {
[INFO] [stdout] 56  | |         pub gr_name: *mut ::c_char,
[INFO] [stdout] 57  | |         pub gr_passwd: *mut ::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 207 | | }
[INFO] [stdout]     | |_- similarly named struct `servent` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVFILT_FS` in crate `libc`
[INFO] [stdout]   --> src/main.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         filter: libc::EVFILT_FS,
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in crate `libc`
[INFO] [stdout]   --> src/main.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         flags: libc::EV_ADD,
[INFO] [stdout]    |                      ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc`
[INFO] [stdout]   --> src/main.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     if unsafe { libc::kevent(kq.as_raw_fd(), &kernel_event, 1, std::ptr::null_mut(), 0, std::ptr::null()) == -1 } {
[INFO] [stdout]    |                       ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc`
[INFO] [stdout]   --> src/main.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |         unsafe { libc::kevent(kq.as_raw_fd(), std::ptr::null(), 0, &mut kernel_event, 1, std::ptr::null()) };
[INFO] [stdout]    |                        ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `kqueue` in crate `libc`
[INFO] [stdout]   --> src/main.rs:38:29
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let kq = unsafe { libc::kqueue() };
[INFO] [stdout]    |                             ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `kevent` in crate `libc`
[INFO] [stdout]    --> src/main.rs:45:34
[INFO] [stdout]     |
[INFO] [stdout] 45  |       let mut kernel_event = libc::kevent {
[INFO] [stdout]     |                                    ^^^^^^ help: a struct with a similar name exists: `servent`
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.147/src/unix/mod.rs:54:1
[INFO] [stdout]     |
[INFO] [stdout] 54  | / s! {
[INFO] [stdout] 55  | |     pub struct group {
[INFO] [stdout] 56  | |         pub gr_name: *mut ::c_char,
[INFO] [stdout] 57  | |         pub gr_passwd: *mut ::c_char,
[INFO] [stdout] ...   |
[INFO] [stdout] 207 | | }
[INFO] [stdout]     | |_- similarly named struct `servent` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVFILT_FS` in crate `libc`
[INFO] [stdout]   --> src/main.rs:47:23
[INFO] [stdout]    |
[INFO] [stdout] 47 |         filter: libc::EVFILT_FS,
[INFO] [stdout]    |                       ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EV_ADD` in crate `libc`
[INFO] [stdout]   --> src/main.rs:48:22
[INFO] [stdout]    |
[INFO] [stdout] 48 |         flags: libc::EV_ADD,
[INFO] [stdout]    |                      ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc`
[INFO] [stdout]   --> src/main.rs:59:23
[INFO] [stdout]    |
[INFO] [stdout] 59 |     if unsafe { libc::kevent(kq.as_raw_fd(), &kernel_event, 1, std::ptr::null_mut(), 0, std::ptr::null()) == -1 } {
[INFO] [stdout]    |                       ^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc`
[INFO] [stdout]   --> src/main.rs:69:24
[INFO] [stdout]    |
[INFO] [stdout] 69 |         unsafe { libc::kevent(kq.as_raw_fd(), std::ptr::null(), 0, &mut kernel_event, 1, std::ptr::null()) };
[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 `nix-launch-agent` (bin "nix-launch-agent") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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 `nix-launch-agent` (bin "nix-launch-agent" test) due to 6 previous errors
[INFO] running `Command { std: "docker" "inspect" "22dcba1831f1e93794cfc8c28a90de79d2c2228653c542b10c5e0cc76df869d6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22dcba1831f1e93794cfc8c28a90de79d2c2228653c542b10c5e0cc76df869d6", kill_on_drop: false }`
[INFO] [stdout] 22dcba1831f1e93794cfc8c28a90de79d2c2228653c542b10c5e0cc76df869d6
