[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 try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanluin%2Fcardinal" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anluin/cardinal on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", 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] cc28690d33ff9a0b6274a9296539c4423acf6ac9bef6bdc0fb477a48750ba3ce [INFO] running `Command { std: "docker" "start" "-a" "cc28690d33ff9a0b6274a9296539c4423acf6ac9bef6bdc0fb477a48750ba3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc28690d33ff9a0b6274a9296539c4423acf6ac9bef6bdc0fb477a48750ba3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc28690d33ff9a0b6274a9296539c4423acf6ac9bef6bdc0fb477a48750ba3ce", kill_on_drop: false }` [INFO] [stdout] cc28690d33ff9a0b6274a9296539c4423acf6ac9bef6bdc0fb477a48750ba3ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd139e99aeeda2085d36e32b1b33484831ffc17e8be9e38c32e7c5443246d622 [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" "bd139e99aeeda2085d36e32b1b33484831ffc17e8be9e38c32e7c5443246d622", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [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" "bd139e99aeeda2085d36e32b1b33484831ffc17e8be9e38c32e7c5443246d622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd139e99aeeda2085d36e32b1b33484831ffc17e8be9e38c32e7c5443246d622", kill_on_drop: false }` [INFO] [stdout] bd139e99aeeda2085d36e32b1b33484831ffc17e8be9e38c32e7c5443246d622