[INFO] cloning repository https://github.com/gmbeard/rust-async-kqueue [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmbeard/rust-async-kqueue" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Frust-async-kqueue", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Frust-async-kqueue'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43b0252ff153825b67d44be3b90f1d5fd00a37f2 [INFO] checking gmbeard/rust-async-kqueue against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmbeard%2Frust-async-kqueue" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmbeard/rust-async-kqueue on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gmbeard/rust-async-kqueue [INFO] finished tweaking git repo https://github.com/gmbeard/rust-async-kqueue [INFO] tweaked toml for git repo https://github.com/gmbeard/rust-async-kqueue written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/gmbeard/rust-async-kqueue already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9737e782eda6531dc6f5ab6d210bb8810ad4decfe10495510fccd1fb68969673 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9737e782eda6531dc6f5ab6d210bb8810ad4decfe10495510fccd1fb68969673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9737e782eda6531dc6f5ab6d210bb8810ad4decfe10495510fccd1fb68969673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9737e782eda6531dc6f5ab6d210bb8810ad4decfe10495510fccd1fb68969673", kill_on_drop: false }` [INFO] [stdout] 9737e782eda6531dc6f5ab6d210bb8810ad4decfe10495510fccd1fb68969673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcf14ec80e096849b11f60d4f68e5665f007e80419f17b6485a2e6f28b4df979 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bcf14ec80e096849b11f60d4f68e5665f007e80419f17b6485a2e6f28b4df979", 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] [stderr] Checking libc v0.2.20 [INFO] [stderr] Checking async v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | filter: libc::EVFILT_READ, [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:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | flags: libc::EV_ADD | libc::EV_ONESHOT, [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ONESHOT` in crate `libc` [INFO] [stdout] --> src/main.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | flags: libc::EV_ADD | libc::EV_ONESHOT, [INFO] [stdout] | ^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__error` in crate `libc` [INFO] [stdout] --> src/main.rs:104:71 [INFO] [stdout] | [INFO] [stdout] 104 | panic!("Couldn't add async operation - {}", unsafe { *libc::__error() }) [INFO] [stdout] | ^^^^^^^ help: a function with a similar name exists: `dlerror` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.20/src/unix/mod.rs:649:5 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn dlerror() -> *mut ::c_char; [INFO] [stdout] | ---------------------------------- similarly named function `dlerror` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MyHandler` [INFO] [stdout] --> src/main.rs:214:27 [INFO] [stdout] | [INFO] [stdout] 214 | use super::{AsyncQueue, MyHandler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let ev_buff: [KEvent; 16] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | filter: libc::EVFILT_READ, [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:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | flags: libc::EV_ADD | libc::EV_ONESHOT, [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ONESHOT` in crate `libc` [INFO] [stdout] --> src/main.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | flags: libc::EV_ADD | libc::EV_ONESHOT, [INFO] [stdout] | ^^^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `__error` in crate `libc` [INFO] [stdout] --> src/main.rs:104:71 [INFO] [stdout] | [INFO] [stdout] 104 | panic!("Couldn't add async operation - {}", unsafe { *libc::__error() }) [INFO] [stdout] | ^^^^^^^ help: a function with a similar name exists: `dlerror` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.20/src/unix/mod.rs:649:5 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn dlerror() -> *mut ::c_char; [INFO] [stdout] | ---------------------------------- similarly named function `dlerror` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:132:37 [INFO] [stdout] | [INFO] [stdout] 132 | let ev_buff: [KEvent; 16] = std::mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bcf14ec80e096849b11f60d4f68e5665f007e80419f17b6485a2e6f28b4df979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcf14ec80e096849b11f60d4f68e5665f007e80419f17b6485a2e6f28b4df979", kill_on_drop: false }` [INFO] [stdout] bcf14ec80e096849b11f60d4f68e5665f007e80419f17b6485a2e6f28b4df979