[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 eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fmayjun_2017" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Trangar/mayjun_2017 on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `rust_card_game` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-5-tc1/source/target/.../rust_card_game
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `rust-card-game`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 - name = "rust_card_game"
[INFO] [stderr] 11 + name = "rust-card-game"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `rust-card-game`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:12:19
[INFO] [stderr]    |
[INFO] [stderr] 12 ~ version = "0.1.0"
[INFO] [stderr] 13 + [[bin]]
[INFO] [stderr] 14 + name = "rust-card-game"
[INFO] [stderr] 15 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `rust_card_game` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded miniz_oxide v0.4.3
[INFO] [stderr]   Downloaded xdg v2.2.0
[INFO] [stderr]   Downloaded stable_deref_trait v1.1.1
[INFO] [stderr]   Downloaded num-iter v0.1.41
[INFO] [stderr]   Downloaded line_drawing v0.7.0
[INFO] [stderr]   Downloaded vcpkg v0.2.10
[INFO] [stderr]   Downloaded adler v0.2.3
[INFO] [stderr]   Downloaded wayland-commons v0.21.13
[INFO] [stderr]   Downloaded wayland-sys v0.21.13
[INFO] [stderr]   Downloaded hermit-abi v0.1.13
[INFO] [stderr]   Downloaded cgl v0.2.3
[INFO] [stderr]   Downloaded andrew v0.2.1
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.3
[INFO] [stderr]   Downloaded ordered-float v1.0.2
[INFO] [stderr]   Downloaded wayland-scanner v0.21.13
[INFO] [stderr]   Downloaded memmap v0.7.0
[INFO] [stderr]   Downloaded android_glue v0.2.3
[INFO] [stderr]   Downloaded downcast-rs v1.1.1
[INFO] [stderr]   Downloaded gif v0.11.1
[INFO] [stderr]   Downloaded smallvec v0.6.13
[INFO] [stderr]   Downloaded lock_api v0.1.5
[INFO] [stderr]   Downloaded glium_text v0.14.0
[INFO] [stderr]   Downloaded stb_truetype v0.3.1
[INFO] [stderr]   Downloaded gl_generator v0.13.1
[INFO] [stderr]   Downloaded freetype-sys v0.7.1
[INFO] [stderr]   Downloaded libloading v0.6.2
[INFO] [stderr]   Downloaded parking_lot_core v0.4.0
[INFO] [stderr]   Downloaded gl_generator v0.10.0
[INFO] [stderr]   Downloaded gleam v0.6.19
[INFO] [stderr]   Downloaded parking_lot v0.7.1
[INFO] [stderr]   Downloaded core-foundation v0.6.4
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded core-graphics v0.17.3
[INFO] [stderr]   Downloaded rusttype v0.8.3
[INFO] [stderr]   Downloaded dlib v0.4.2
[INFO] [stderr]   Downloaded num-rational v0.3.0
[INFO] [stderr]   Downloaded rusttype v0.7.9
[INFO] [stderr]   Downloaded cocoa v0.18.5
[INFO] [stderr]   Downloaded weezl v0.1.0
[INFO] [stderr]   Downloaded png v0.16.5
[INFO] [stderr]   Downloaded num-traits v0.2.12
[INFO] [stderr]   Downloaded x11-dl v2.18.5
[INFO] [stderr]   Downloaded cc v1.0.54
[INFO] [stderr]   Downloaded backtrace v0.3.48
[INFO] [stderr]   Downloaded glutin v0.19.0
[INFO] [stderr]   Downloaded xml-rs v0.8.3
[INFO] [stderr]   Downloaded wayland-client v0.21.13
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.4.6
[INFO] [stderr]   Downloaded wayland-protocols v0.21.13
[INFO] [stderr]   Downloaded addr2line v0.12.1
[INFO] [stderr]   Downloaded object v0.19.0
[INFO] [stderr]   Downloaded winit v0.18.1
[INFO] [stderr]   Downloaded image v0.23.13
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.19
[INFO] [stderr]   Downloaded libc v0.2.71
[INFO] [stderr]   Downloaded gimli v0.21.0
[INFO] [stderr]   Downloaded itertools v0.10.0
[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-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d
[INFO] running `Command { std: "docker" "start" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d", 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" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d", 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" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `rust_card_game` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../rust_card_game
[INFO] [stderr]    |                          ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `rust-card-game`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 - name = "rust_card_game"
[INFO] [stderr] 11 + name = "rust-card-game"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `rust-card-game`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:12:19
[INFO] [stderr]    |
[INFO] [stderr] 12 ~ version = "0.1.0"
[INFO] [stderr] 13 + [[bin]]
[INFO] [stderr] 14 + name = "rust-card-game"
[INFO] [stderr] 15 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `rust_card_game` (manifest) generated 1 warning
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling libc v0.2.71
[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 unicode-xid v0.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling libloading v0.6.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking downcast-rs v1.1.1
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[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 smallvec v0.6.13
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking lock_api v0.1.5
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking memmap v0.7.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]    Compiling glutin v0.19.0
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking parking_lot v0.7.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.3
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking gimli v0.21.0
[INFO] [stderr]    Compiling libz-sys v1.0.25
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]    Compiling glium v0.23.0
[INFO] [stderr]    Compiling freetype-sys v0.7.1
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]     Checking adler v0.2.3
[INFO] [stderr]     Checking object v0.19.0
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking weezl v0.1.0
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking addr2line v0.12.1
[INFO] [stderr]     Checking gif v0.11.1
[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: 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/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: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: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: 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: 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] warning: unused dependency `image`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | image = "0.23"
[INFO] [stderr]   | ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `image`
[INFO] [stderr] warning: unused dependency `itertools`
[INFO] [stderr]  --> Cargo.toml:6:1
[INFO] [stderr]   |
[INFO] [stderr] 6 | itertools = "0.10"
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] help: consider removing the dependency on `itertools`
[INFO] [stderr] warning: `rust_card_game` (manifest) generated 2 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[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" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d", kill_on_drop: false }`
[INFO] [stdout] af6f549ffd50ff6375f5f836837903f387c86c0eb033d0dd477c5c675462412d
