[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 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-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gmbeard/rust-async-kqueue on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 21f13f7bf50377bd5c6ebd510d1bea2aa05bf514163838ea996e8cdc79b7a7f6 [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" "21f13f7bf50377bd5c6ebd510d1bea2aa05bf514163838ea996e8cdc79b7a7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21f13f7bf50377bd5c6ebd510d1bea2aa05bf514163838ea996e8cdc79b7a7f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21f13f7bf50377bd5c6ebd510d1bea2aa05bf514163838ea996e8cdc79b7a7f6", kill_on_drop: false }` [INFO] [stdout] 21f13f7bf50377bd5c6ebd510d1bea2aa05bf514163838ea996e8cdc79b7a7f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f17d2505dd02cd976cc7d0343b7d5773de9b44076557f5b0699bc78003dab4 [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" "e1f17d2505dd02cd976cc7d0343b7d5773de9b44076557f5b0699bc78003dab4", kill_on_drop: false }` [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] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e1f17d2505dd02cd976cc7d0343b7d5773de9b44076557f5b0699bc78003dab4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f17d2505dd02cd976cc7d0343b7d5773de9b44076557f5b0699bc78003dab4", kill_on_drop: false }` [INFO] [stdout] e1f17d2505dd02cd976cc7d0343b7d5773de9b44076557f5b0699bc78003dab4