[INFO] cloning repository https://github.com/AlejandroPenacho/kahoot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlejandroPenacho/kahoot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlejandroPenacho%2Fkahoot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlejandroPenacho%2Fkahoot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a14d706047c28251485efc5b9c16618b26e0236 [INFO] testing AlejandroPenacho/kahoot against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlejandroPenacho%2Fkahoot" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlejandroPenacho/kahoot on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlejandroPenacho/kahoot [INFO] finished tweaking git repo https://github.com/AlejandroPenacho/kahoot [INFO] tweaked toml for git repo https://github.com/AlejandroPenacho/kahoot written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/AlejandroPenacho/kahoot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86edf46d0585eed18bb7bfb5747e52ca47cf869d8b933419152c8f360b719bce [INFO] running `Command { std: "docker" "start" "-a" "86edf46d0585eed18bb7bfb5747e52ca47cf869d8b933419152c8f360b719bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86edf46d0585eed18bb7bfb5747e52ca47cf869d8b933419152c8f360b719bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86edf46d0585eed18bb7bfb5747e52ca47cf869d8b933419152c8f360b719bce", kill_on_drop: false }` [INFO] [stdout] 86edf46d0585eed18bb7bfb5747e52ca47cf869d8b933419152c8f360b719bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7cdd4300e456bc824236d0b227506dba000816054efd93903b69d25356d00f8e [INFO] running `Command { std: "docker" "start" "-a" "7cdd4300e456bc824236d0b227506dba000816054efd93903b69d25356d00f8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling kahoot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> src/central.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | tokio::task::spawn(async { [INFO] [stdout] | - ^ unclosed delimiter [INFO] [stdout] | | [INFO] [stdout] | closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 35 | }); [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: mismatched closing delimiter: `}` [INFO] [stdout] --> src/central.rs:54:27 [INFO] [stdout] | [INFO] [stdout] 49 | loop { [INFO] [stdout] | - closing delimiter possibly meant for this [INFO] [stdout] ... [INFO] [stdout] 54 | tokio::task::spawn(async move { [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 57 | } [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `}` [INFO] [stdout] --> src/central.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | / select!{ [INFO] [stdout] 33 | | _ = connect_players(port_tx) => {}, [INFO] [stdout] 34 | | _ = tokio::time::sleep(std::time::Duration::from_secs(20)); [INFO] [stdout] 35 | | }); [INFO] [stdout] | |_____^ no rules expected this token in macro call [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::select` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found function `mpsc::channel` [INFO] [stdout] --> src/central.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | async fn connect_players(port_tx: mpsc::channel){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/central.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CentralToPort`, `PortToCentral` [INFO] [stdout] --> src/port.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use super::central::{CentralToPort, PortToCentral}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/central.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | / tokio::task::spawn(async move { [INFO] [stdout] 55 | | handle_player(new_stream, port_tx_clone).await; [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | } [INFO] [stdout] | | ^- help: consider using a semicolon here: `;` [INFO] [stdout] | |_____| [INFO] [stdout] | expected `()`, found struct `tokio::task::JoinHandle` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `tokio::task::JoinHandle<()>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kahoot` due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7cdd4300e456bc824236d0b227506dba000816054efd93903b69d25356d00f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cdd4300e456bc824236d0b227506dba000816054efd93903b69d25356d00f8e", kill_on_drop: false }` [INFO] [stdout] 7cdd4300e456bc824236d0b227506dba000816054efd93903b69d25356d00f8e