[INFO] cloning repository https://github.com/ElchananHaas/rustmtg-webserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ElchananHaas/rustmtg-webserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElchananHaas%2Frustmtg-webserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElchananHaas%2Frustmtg-webserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bff38266e92097a75d026442f92e17b16a0c5857 [INFO] testing ElchananHaas/rustmtg-webserver 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%2FElchananHaas%2Frustmtg-webserver" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElchananHaas/rustmtg-webserver 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/ElchananHaas/rustmtg-webserver [INFO] finished tweaking git repo https://github.com/ElchananHaas/rustmtg-webserver [INFO] tweaked toml for git repo https://github.com/ElchananHaas/rustmtg-webserver written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/ElchananHaas/rustmtg-webserver 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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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] bf584574b08841f00b87ccaa0e00e488fde34deed439bde898f78ea0c7b6c815 [INFO] running `Command { std: "docker" "start" "-a" "bf584574b08841f00b87ccaa0e00e488fde34deed439bde898f78ea0c7b6c815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf584574b08841f00b87ccaa0e00e488fde34deed439bde898f78ea0c7b6c815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf584574b08841f00b87ccaa0e00e488fde34deed439bde898f78ea0c7b6c815", kill_on_drop: false }` [INFO] [stdout] bf584574b08841f00b87ccaa0e00e488fde34deed439bde898f78ea0c7b6c815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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] 09a63737d29d81560b4466ee2c3734f89fa940c1ca5ba79a0290155868f25630 [INFO] running `Command { std: "docker" "start" "-a" "09a63737d29d81560b4466ee2c3734f89fa940c1ca5ba79a0290155868f25630", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling count_tts v0.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [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 getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling variant_count v1.1.0 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling mtg_webserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_blocks)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `game::Game`, `mana_cost_string`, `player::Player` [INFO] [stdout] --> src/ability_db.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | game::Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | mana::{mana_cost_string, ManaCostSymbol}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | player::Player, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game::Game` [INFO] [stdout] --> src/card_entities.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | game::Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/card_entities.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `card_types::Subtype` [INFO] [stdout] --> src/card_entities.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | card_types::Subtype, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mana::Mana` [INFO] [stdout] --> src/carddb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::mana::Mana; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/carddb.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/game/actions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ability::Ability` [INFO] [stdout] --> src/game/actions.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{ability::Ability, cost::Cost, entities::CardId, spellabil::KeywordAbility}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Zone` [INFO] [stdout] --> src/game/actions.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::Zone; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/mana.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::ser::SerializeMap` [INFO] [stdout] --> src/mana.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::ser::SerializeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CardId`, `ManaId`, `ent_maps::EntMap`, `game::Game` [INFO] [stdout] --> src/mana.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ent_maps::EntMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | entities::{CardId, ManaId}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 9 | game::Game, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/spellabil.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, num::NonZeroU32, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/spellabil.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 41 | / match keyword { [INFO] [stdout] 42 | | _ => todo!(), [INFO] [stdout] 43 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 44 | res [INFO] [stdout] | ^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SerializeMap` [INFO] [stdout] --> src/card_types.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::ser::{Serialize, SerializeMap, SerializeSeq, Serializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mtg_webserver` due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "09a63737d29d81560b4466ee2c3734f89fa940c1ca5ba79a0290155868f25630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a63737d29d81560b4466ee2c3734f89fa940c1ca5ba79a0290155868f25630", kill_on_drop: false }` [INFO] [stdout] 09a63737d29d81560b4466ee2c3734f89fa940c1ca5ba79a0290155868f25630