[INFO] cloning repository https://github.com/triangle-rustaceans/hicard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/triangle-rustaceans/hicard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftriangle-rustaceans%2Fhicard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70f83e8bc9f44ee44bd7cc6f91205f8d097c18ad [INFO] testing triangle-rustaceans/hicard 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%2Ftriangle-rustaceans%2Fhicard" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/triangle-rustaceans/hicard 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/triangle-rustaceans/hicard [INFO] finished tweaking git repo https://github.com/triangle-rustaceans/hicard [INFO] tweaked toml for git repo https://github.com/triangle-rustaceans/hicard written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/triangle-rustaceans/hicard 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8386901bffa4c92d0ffc8f71b955be23b30b8dbdb8e33c30786e23216e60cc33 [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" "8386901bffa4c92d0ffc8f71b955be23b30b8dbdb8e33c30786e23216e60cc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8386901bffa4c92d0ffc8f71b955be23b30b8dbdb8e33c30786e23216e60cc33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8386901bffa4c92d0ffc8f71b955be23b30b8dbdb8e33c30786e23216e60cc33", kill_on_drop: false }` [INFO] [stdout] 8386901bffa4c92d0ffc8f71b955be23b30b8dbdb8e33c30786e23216e60cc33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cb42f6a0faa995b6603160deed1c8c5f3611e83d67fcc1bc10ebea4699d123a [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" "1cb42f6a0faa995b6603160deed1c8c5f3611e83d67fcc1bc10ebea4699d123a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bumpalo v3.2.0 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Compiling anyhow v1.0.26 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling discard v1.0.4 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling yew v0.12.0 [INFO] [stderr] Compiling urlencoding v1.0.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling headers v0.3.1 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling deckofcards v0.4.0 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling thiserror-impl v1.0.11 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Compiling yew-macro v0.12.0 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.11 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling hyper v0.13.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir/game) [INFO] [stderr] Compiling warp v0.2.1 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Compiling hicard-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stdout] error[E0596]: cannot borrow `aGame` as mutable, as it is not declared as mutable [INFO] [stdout] --> backend/src/main.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 17 | pub async fn join_game(player: Player, aGame: Game) -> Result { [INFO] [stdout] | ----- help: consider changing this to be mutable: `mut aGame` [INFO] [stdout] ... [INFO] [stdout] 20 | let mut response = warp::reply::json(aGame.join(&player.name)).into_response(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> backend/src/main.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | let mut response = warp::reply::json(aGame.play(player_id)).into_response(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found enum `Option` [INFO] [stdout] | help: consider borrowing here: `&aGame.play(player_id)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `show` found for struct `Game` in the current scope [INFO] [stdout] --> backend/src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | let mut response = warp::reply::json(aGame.show()).into_response(); [INFO] [stdout] | ^^^^ method not found in `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Game` in the current scope [INFO] [stdout] --> backend/src/main.rs:50:52 [INFO] [stdout] | [INFO] [stdout] 50 | let game_filter = warp::any().map(move || game.clone()); [INFO] [stdout] | ^^^^^ method not found in `Game` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> backend/src/main.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn play_game(player_id: &Uuid, aGame: Game) -> Result { [INFO] [stdout] | --------------------------------------------------------------------------------------------- found signature of `for<'_> fn(&Uuid, Game) -> _` [INFO] [stdout] ... [INFO] [stdout] 80 | .and_then(play_game) [INFO] [stdout] | -------- ^^^^^^^^^ expected signature of `fn(Player, _) -> _` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `warp::generic::Func<(Player, _)>` for `for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with` exists for struct `warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>`, but its trait bounds were not satisfied [INFO] [stdout] --> backend/src/main.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | .with(cors); [INFO] [stdout] | ^^^^ method cannot be called on `warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/warp-0.2.1/src/filter/and_then.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AndThen { [INFO] [stdout] | ------------------------ [INFO] [stdout] | | [INFO] [stdout] | doesn't satisfy `_: warp::Filter` [INFO] [stdout] | doesn't satisfy `_: warp::filter::FilterBase` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>: warp::Filter` [INFO] [stdout] `&warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>: warp::Filter` [INFO] [stdout] `&mut warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>: warp::filter::FilterBase` [INFO] [stdout] which is required by `&mut warp::filter::and_then::AndThen + warp::Filter + std::marker::Copy, Exact>>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + std::marker::Copy>, impl warp::filter::FilterBase + warp::Filter + Clone>, warp::filter::map::Map + warp::Filter + std::marker::Copy, _>>, for<'_> fn(&Uuid, Game) -> impl warp::Future> {play_game}>: warp::Filter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0596, E0599, E0631. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hicard-backend` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1cb42f6a0faa995b6603160deed1c8c5f3611e83d67fcc1bc10ebea4699d123a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cb42f6a0faa995b6603160deed1c8c5f3611e83d67fcc1bc10ebea4699d123a", kill_on_drop: false }` [INFO] [stdout] 1cb42f6a0faa995b6603160deed1c8c5f3611e83d67fcc1bc10ebea4699d123a