[INFO] updating cached repository https://github.com/anluin/cardinal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] warning: no common commits [INFO] [stderr] From https://github.com/anluin/cardinal [INFO] [stderr] + 93cad3d...88870a4 develop -> develop (forced update) [INFO] [stderr] * [new branch] feature/select-future -> feature/select-future [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 88870a48839cceef74730b8326978a7e2fc31787 [INFO] testing anluin/cardinal against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanluin%2Fcardinal" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anluin/cardinal on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/anluin/cardinal [INFO] finished tweaking git repo https://github.com/anluin/cardinal [INFO] tweaked toml for git repo https://github.com/anluin/cardinal written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fc55663e89c82fa0720aec33b173efeaeff59dec8bb5b23e6d8ad74b1ee8076b [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" "fc55663e89c82fa0720aec33b173efeaeff59dec8bb5b23e6d8ad74b1ee8076b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fc55663e89c82fa0720aec33b173efeaeff59dec8bb5b23e6d8ad74b1ee8076b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc55663e89c82fa0720aec33b173efeaeff59dec8bb5b23e6d8ad74b1ee8076b", kill_on_drop: false }` [INFO] [stdout] fc55663e89c82fa0720aec33b173efeaeff59dec8bb5b23e6d8ad74b1ee8076b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c22857f48a06119785aa90db30c0af317c8bd48e83adece11b784352b1086fd7 [INFO] running `Command { std: "docker" "start" "-a" "c22857f48a06119785aa90db30c0af317c8bd48e83adece11b784352b1086fd7", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling cardinal v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `kevent` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | events: Vec, [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `servent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/macros.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `kevent` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | new_events: Vec, [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `servent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/macros.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kqueue` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | self.file_descriptor = 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/task/queue.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | new_events.push(libc::kevent { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `servent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/macros.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_TIMER` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:80:39 [INFO] [stdout] | [INFO] [stdout] 80 | filter: libc::EVFILT_TIMER, [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/task/queue.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [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/task/queue.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `IN_ONESHOT` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/unix/linux_like/linux/mod.rs:2431:1 [INFO] [stdout] | [INFO] [stdout] 2431 | pub const IN_ONESHOT: u32 = 0x8000_0000; [INFO] [stdout] | ---------------------------------------- similarly named constant `IN_ONESHOT` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CLEAR` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:81:72 [INFO] [stdout] | [INFO] [stdout] 81 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [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/task/queue.rs:88:43 [INFO] [stdout] | [INFO] [stdout] 88 | new_events.push(libc::kevent { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `servent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/macros.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_READ` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:90:39 [INFO] [stdout] | [INFO] [stdout] 90 | 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/task/queue.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [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/task/queue.rs:91:53 [INFO] [stdout] | [INFO] [stdout] 91 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `IN_ONESHOT` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/unix/linux_like/linux/mod.rs:2431:1 [INFO] [stdout] | [INFO] [stdout] 2431 | pub const IN_ONESHOT: u32 = 0x8000_0000; [INFO] [stdout] | ---------------------------------------- similarly named constant `IN_ONESHOT` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CLEAR` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:91:72 [INFO] [stdout] | [INFO] [stdout] 91 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [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/task/queue.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | new_events.push(libc::kevent { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `servent` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/macros.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct $i { $($field)* } [INFO] [stdout] | ------------- similarly named struct `servent` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EVFILT_WRITE` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:100:39 [INFO] [stdout] | [INFO] [stdout] 100 | filter: libc::EVFILT_WRITE, [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/task/queue.rs:101:38 [INFO] [stdout] | [INFO] [stdout] 101 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [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/task/queue.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [INFO] [stdout] | ^^^^^^^^^^ help: a constant with a similar name exists: `IN_ONESHOT` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/unix/linux_like/linux/mod.rs:2431:1 [INFO] [stdout] | [INFO] [stdout] 2431 | pub const IN_ONESHOT: u32 = 0x8000_0000; [INFO] [stdout] | ---------------------------------------- similarly named constant `IN_ONESHOT` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_CLEAR` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:101:72 [INFO] [stdout] | [INFO] [stdout] 101 | flags: libc::EV_ADD | libc::EV_ONESHOT | libc::EV_CLEAR, [INFO] [stdout] | ^^^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `kevent` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:128:25 [INFO] [stdout] | [INFO] [stdout] 128 | match libc::kevent( [INFO] [stdout] | ^^^^^^ not found in `libc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_ERROR` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:145:53 [INFO] [stdout] | [INFO] [stdout] 145 | callback(if event.flags & libc::EV_ERROR > 0 { [INFO] [stdout] | ^^^^^^^^ help: a constant with a similar name exists: `SO_ERROR` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:522:1 [INFO] [stdout] | [INFO] [stdout] 522 | pub const SO_ERROR: ::c_int = 4; [INFO] [stdout] | -------------------------------- similarly named constant `SO_ERROR` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EV_EOF` in crate `libc` [INFO] [stdout] --> src/task/queue.rs:147:51 [INFO] [stdout] | [INFO] [stdout] 147 | } else if event.flags & libc::EV_EOF > 0 { [INFO] [stdout] | ^^^^^^ help: a constant with a similar name exists: `VEOF` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.73/src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs:408:1 [INFO] [stdout] | [INFO] [stdout] 408 | pub const VEOF: usize = 4; [INFO] [stdout] | -------------------------- similarly named constant `VEOF` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/task/queue.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | events: Vec::new(), [INFO] [stdout] | ^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0422, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cardinal`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "c22857f48a06119785aa90db30c0af317c8bd48e83adece11b784352b1086fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c22857f48a06119785aa90db30c0af317c8bd48e83adece11b784352b1086fd7", kill_on_drop: false }` [INFO] [stdout] c22857f48a06119785aa90db30c0af317c8bd48e83adece11b784352b1086fd7