[INFO] cloning repository https://github.com/Aqueuse/offlineStream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aqueuse/offlineStream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAqueuse%2FofflineStream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAqueuse%2FofflineStream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d03f6818734a977b55fe421b58760980ce62795 [INFO] checking Aqueuse/offlineStream/7d03f6818734a977b55fe421b58760980ce62795 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAqueuse%2FofflineStream" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aqueuse/offlineStream on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aqueuse/offlineStream [INFO] finished tweaking git repo https://github.com/Aqueuse/offlineStream [INFO] tweaked toml for git repo https://github.com/Aqueuse/offlineStream written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Aqueuse/offlineStream already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa2d357f656ddc9491fdcbee25f556ab0ee697f8f181fa66cc0abdfa2502cdea [INFO] running `Command { std: "docker" "start" "-a" "fa2d357f656ddc9491fdcbee25f556ab0ee697f8f181fa66cc0abdfa2502cdea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa2d357f656ddc9491fdcbee25f556ab0ee697f8f181fa66cc0abdfa2502cdea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2d357f656ddc9491fdcbee25f556ab0ee697f8f181fa66cc0abdfa2502cdea", kill_on_drop: false }` [INFO] [stdout] fa2d357f656ddc9491fdcbee25f556ab0ee697f8f181fa66cc0abdfa2502cdea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7236c0433cc196412f35414a592c6632cf2bd62a76944dac1864fcfe8f4ee20 [INFO] running `Command { std: "docker" "start" "-a" "f7236c0433cc196412f35414a592c6632cf2bd62a76944dac1864fcfe8f4ee20", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking offlineStream v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0670]: `async fn` is not permitted in Rust 2015 [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^^ to use `async fn`, switch to Rust 2018 or later [INFO] [stdout] | [INFO] [stdout] = help: set `edition = "2021"` in `Cargo.toml` [INFO] [stdout] = note: for more on editions, read https://doc.rust-lang.org/edition-guide [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `async move` blocks are only allowed in Rust 2018 or later [INFO] [stdout] --> src/main.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let join_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0670]: `async fn` is not permitted in Rust 2015 [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^^ to use `async fn`, switch to Rust 2018 or later [INFO] [stdout] | [INFO] [stdout] = help: set `edition = "2021"` in `Cargo.toml` [INFO] [stdout] = note: for more on editions, read https://doc.rust-lang.org/edition-guide [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `async move` blocks are only allowed in Rust 2018 or later [INFO] [stdout] --> src/main.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | let join_handle = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `twitch_irc` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use twitch_irc::login::StaticLoginCredentials; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `twitch_irc` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `twitch_irc` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate twitch_irc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: you might be missing crate `twitch_irc` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use twitch_irc::login::StaticLoginCredentials; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `twitch_irc` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `twitch_irc` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate twitch_irc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_irc` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use twitch_irc::TwitchIRCClient; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `twitch_irc` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `twitch_irc` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate twitch_irc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_irc` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use twitch_irc::{ClientConfig, SecureTCPTransport}; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `twitch_irc` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `twitch_irc` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate twitch_irc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_irc` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use twitch_irc::TwitchIRCClient; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `twitch_irc` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `twitch_irc` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate twitch_irc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `twitch_irc` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use twitch_irc::{ClientConfig, SecureTCPTransport}; [INFO] [stdout] | ^^^^^^^^^^ you might be missing crate `twitch_irc` [INFO] [stdout] | [INFO] [stdout] help: consider importing the `twitch_irc` crate [INFO] [stdout] | [INFO] [stdout] 1 + extern crate twitch_irc; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0670, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0670. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `offlineStream` (bin "offlineStream") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `offlineStream` (bin "offlineStream" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "f7236c0433cc196412f35414a592c6632cf2bd62a76944dac1864fcfe8f4ee20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7236c0433cc196412f35414a592c6632cf2bd62a76944dac1864fcfe8f4ee20", kill_on_drop: false }` [INFO] [stdout] f7236c0433cc196412f35414a592c6632cf2bd62a76944dac1864fcfe8f4ee20