[INFO] cloning repository https://github.com/house-of-vanity/swkb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/house-of-vanity/swkb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhouse-of-vanity%2Fswkb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhouse-of-vanity%2Fswkb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab127dc5805ce61226e97e4713fdf9f1ba475393 [INFO] checking house-of-vanity/swkb against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhouse-of-vanity%2Fswkb" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/house-of-vanity/swkb on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/house-of-vanity/swkb [INFO] finished tweaking git repo https://github.com/house-of-vanity/swkb [INFO] tweaked toml for git repo https://github.com/house-of-vanity/swkb written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/house-of-vanity/swkb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: packaging [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-14/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: packaging [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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f84f60bc6fd1d67ba9f2b138eff1e6a5a2d4ad25a24246dc94b723afb9a3007 [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" "7f84f60bc6fd1d67ba9f2b138eff1e6a5a2d4ad25a24246dc94b723afb9a3007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f84f60bc6fd1d67ba9f2b138eff1e6a5a2d4ad25a24246dc94b723afb9a3007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f84f60bc6fd1d67ba9f2b138eff1e6a5a2d4ad25a24246dc94b723afb9a3007", kill_on_drop: false }` [INFO] [stdout] 7f84f60bc6fd1d67ba9f2b138eff1e6a5a2d4ad25a24246dc94b723afb9a3007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 066ce97ca91f105e773409b2e21dec8c9d04f42bbce56ce1c89f88a552e5c098 [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" "066ce97ca91f105e773409b2e21dec8c9d04f42bbce56ce1c89f88a552e5c098", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: packaging [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-process v1.0.1 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking async-std v1.8.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking swayipc v2.7.2 [INFO] [stderr] Checking swkb v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[async_std::main] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `async_std` [INFO] [stdout] --> src/main.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[async_std::main] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `async_std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `EventStream` in the current scope [INFO] [stdout] --> src/main.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(event) = events.next().await { [INFO] [stdout] | ^^^^ method not found in `EventStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Iterator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::pattern::Searcher; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::read::Read; [INFO] [stdout] | [INFO] [stdout] 1 | use swayipc::async_std::stream::StreamExt; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `next` found for struct `EventStream` in the current scope [INFO] [stdout] --> src/main.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 57 | while let Some(event) = events.next().await { [INFO] [stdout] | ^^^^ method not found in `EventStream` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::Iterator; [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::pattern::Searcher; [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::read::Read; [INFO] [stdout] | [INFO] [stdout] 1 | use swayipc::async_std::stream::StreamExt; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl Future` [INFO] [stdout] --> src/main.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | async fn main() -> Fallible<()> { [INFO] [stdout] | ^^^^^^^^^^^^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | async fn main() -> Fallible<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swkb` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "066ce97ca91f105e773409b2e21dec8c9d04f42bbce56ce1c89f88a552e5c098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066ce97ca91f105e773409b2e21dec8c9d04f42bbce56ce1c89f88a552e5c098", kill_on_drop: false }` [INFO] [stdout] 066ce97ca91f105e773409b2e21dec8c9d04f42bbce56ce1c89f88a552e5c098