[INFO] cloning repository https://github.com/Trangar/mayjun_2017
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trangar/mayjun_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5e51be1695882c4f50a70959f9bda45dbaea3d37
[INFO] checking Trangar/mayjun_2017 against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/Trangar/mayjun_2017
[INFO] finished tweaking git repo https://github.com/Trangar/mayjun_2017
[INFO] tweaked toml for git repo https://github.com/Trangar/mayjun_2017 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Trangar/mayjun_2017 on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Trangar/mayjun_2017 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded weezl v0.1.0
[INFO] [stderr]   Downloaded itertools v0.10.0
[INFO] [stderr]   Downloaded vcpkg v0.2.10
[INFO] [stderr]   Downloaded num-iter v0.1.41
[INFO] [stderr]   Downloaded freetype-sys v0.7.1
[INFO] [stderr]   Downloaded num-rational v0.3.0
[INFO] [stderr]   Downloaded glium_text v0.14.0
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded gif v0.11.1
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded gl_generator v0.10.0
[INFO] [stderr]   Downloaded num-traits v0.2.12
[INFO] [stderr]   Downloaded rayon-core v1.7.0
[INFO] [stderr]   Downloaded png v0.16.5
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded glutin v0.19.0
[INFO] [stderr]   Downloaded rayon v1.3.0
[INFO] [stderr]   Downloaded winit v0.18.1
[INFO] [stderr]   Downloaded image v0.23.13
[INFO] [stderr]   Downloaded libz-sys v1.0.25
[INFO] [stderr]   Downloaded glium v0.23.0
[INFO] [stderr]   Downloaded tiff v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a
[INFO] running `Command { std: "docker" "start" "6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]    Compiling glutin v0.19.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking gimli v0.21.0
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]    Compiling glium v0.23.0
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]    Compiling freetype-sys v0.7.1
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking weezl v0.1.0
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking object v0.19.0
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking addr2line v0.12.1
[INFO] [stderr]     Checking gif v0.11.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking png v0.16.5
[INFO] [stderr]     Checking tiff v0.6.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking itertools v0.10.0
[INFO] [stderr]     Checking backtrace v0.3.48
[INFO] [stderr]     Checking image v0.23.13
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking winit v0.18.1
[INFO] [stderr]     Checking glium_text v0.14.0
[INFO] [stderr]     Checking rust_card_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Rc` and `Weak`
[INFO] [stdout]  --> src/cards/mod.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use std::rc::{Rc, Weak};
[INFO] [stdout]   |                   ^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/player.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if let Some(card) = self.deck.try_remove(0) {
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:84:59
[INFO] [stdout]    |
[INFO] [stdout] 84 |             AreaReference::PlayerHand => self.player.hand.try_remove(reference.index),
[INFO] [stdout]    |                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:85:61
[INFO] [stdout]    |
[INFO] [stdout] 85 |             AreaReference::PlayerField => self.player.field.try_remove(reference.index),
[INFO] [stdout]    |                                                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:86:63
[INFO] [stdout]    |
[INFO] [stdout] 86 |             AreaReference::OpponentHand => self.opponent.hand.try_remove(reference.index),
[INFO] [stdout]    |                                                               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:87:65
[INFO] [stdout]    |
[INFO] [stdout] 87 |             AreaReference::OpponentField => self.opponent.field.try_remove(reference.index),
[INFO] [stdout]    |                                                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cost`, `attack`, `health`, `health_mut`, and `debug_text` are never used
[INFO] [stdout]   --> src/cards/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Card {
[INFO] [stdout]    |           ---- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cost(&self) -> Vec<(ResourceType, u8)>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn attack(&self) -> Option<&u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn health(&self) -> Option<&u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn health_mut(&mut self) -> Option<&mut u8> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn debug_text(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `health` is never read
[INFO] [stdout]  --> src/cards/light_elemental.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LightElemental {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     pub health: u8,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `LightElemental` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `health`, and `resources` are never read
[INFO] [stdout]  --> src/gamestate/player.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Player {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub health: i32,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 9 |     pub resources: Vec<(ResourceType, u8)>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Rc` and `Weak`
[INFO] [stdout]  --> src/cards/mod.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub use std::rc::{Rc, Weak};
[INFO] [stdout]   |                   ^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/player.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |         if let Some(card) = self.deck.try_remove(0) {
[INFO] [stdout]    |                                       ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:84:59
[INFO] [stdout]    |
[INFO] [stdout] 84 |             AreaReference::PlayerHand => self.player.hand.try_remove(reference.index),
[INFO] [stdout]    |                                                           ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:85:61
[INFO] [stdout]    |
[INFO] [stdout] 85 |             AreaReference::PlayerField => self.player.field.try_remove(reference.index),
[INFO] [stdout]    |                                                             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:86:63
[INFO] [stdout]    |
[INFO] [stdout] 86 |             AreaReference::OpponentHand => self.opponent.hand.try_remove(reference.index),
[INFO] [stdout]    |                                                               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/gamestate/mod.rs:87:65
[INFO] [stdout]    |
[INFO] [stdout] 87 |             AreaReference::OpponentField => self.opponent.field.try_remove(reference.index),
[INFO] [stdout]    |                                                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: call with fully qualified syntax `VecUtils::try_remove(...)` to keep using the current method
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout] help: add `#![feature(vec_try_remove)]` to the crate attributes to enable `Vec::<T, A>::try_remove`
[INFO] [stdout]   --> src/main.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout]  3 + #![feature(vec_try_remove)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `cost`, `attack`, `health`, `health_mut`, and `debug_text` are never used
[INFO] [stdout]   --> src/cards/mod.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait Card {
[INFO] [stdout]    |           ---- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn cost(&self) -> Vec<(ResourceType, u8)>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn attack(&self) -> Option<&u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 |     fn health(&self) -> Option<&u8> {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 38 |     fn health_mut(&mut self) -> Option<&mut u8> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     fn debug_text(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `health` is never read
[INFO] [stdout]  --> src/cards/light_elemental.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct LightElemental {
[INFO] [stdout]   |            -------------- field in this struct
[INFO] [stdout] 7 |     pub health: u8,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `LightElemental` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `health`, and `resources` are never read
[INFO] [stdout]  --> src/gamestate/player.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Player {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub health: i32,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 9 |     pub resources: Vec<(ResourceType, u8)>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: glutin v0.19.0, winit v0.18.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a", kill_on_drop: false }`
[INFO] [stdout] 6dd62713961aff075fd05625b81b1ec5ce0cc51ee8c31378d22a839e7a4c708a
