[INFO] cloning repository https://github.com/mabruckner/solitaire [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mabruckner/solitaire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmabruckner%2Fsolitaire", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmabruckner%2Fsolitaire'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0e8cce769f4cbcc71e6155838da4579ae9ca2e6 [INFO] checking mabruckner/solitaire against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmabruckner%2Fsolitaire" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mabruckner/solitaire on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mabruckner/solitaire [INFO] finished tweaking git repo https://github.com/mabruckner/solitaire [INFO] tweaked toml for git repo https://github.com/mabruckner/solitaire written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/mabruckner/solitaire already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded d3dcompiler-sys v0.2.0 [INFO] [stderr] Downloaded imagefmt v4.0.0 [INFO] [stderr] Downloaded gfx_window_glutin v0.14.0 [INFO] [stderr] Downloaded num-bigint v0.1.36 [INFO] [stderr] Downloaded cgmath v0.7.0 [INFO] [stderr] Downloaded gfx v0.14.0 [INFO] [stderr] Downloaded d3d11-sys v0.2.0 [INFO] [stderr] Downloaded dxguid-sys v0.2.0 [INFO] [stderr] Downloaded gfx_core v0.5.1 [INFO] [stderr] Downloaded specs v0.7.1 [INFO] [stderr] Downloaded serde v0.9.9 [INFO] [stderr] Downloaded threadpool v1.3.2 [INFO] [stderr] Downloaded cgmath v0.12.0 [INFO] [stderr] Downloaded atom v0.3.4 [INFO] [stderr] Downloaded wavefront_obj v5.0.0 [INFO] [stderr] Downloaded gfx_window_dxgi v0.5.0 [INFO] [stderr] Downloaded genmesh v0.4.1 [INFO] [stderr] Downloaded gfx_device_dx11 v0.4.0 [INFO] [stderr] Downloaded dds-rs v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de39462c66514075370d61d8505d08a982c0b4d18b4472c9c3fc3cac2cf72b60 [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" "de39462c66514075370d61d8505d08a982c0b4d18b4472c9c3fc3cac2cf72b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de39462c66514075370d61d8505d08a982c0b4d18b4472c9c3fc3cac2cf72b60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de39462c66514075370d61d8505d08a982c0b4d18b4472c9c3fc3cac2cf72b60", kill_on_drop: false }` [INFO] [stdout] de39462c66514075370d61d8505d08a982c0b4d18b4472c9c3fc3cac2cf72b60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76fec8a7770572e91a7723df3cbfdfd68f2602d442a1b1e21373c56de6bc46d9 [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" "76fec8a7770572e91a7723df3cbfdfd68f2602d442a1b1e21373c56de6bc46d9", kill_on_drop: false }` [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling num-traits v0.1.37 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling serde v0.9.9 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Checking byteorder v1.0.0 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking atom v0.3.4 [INFO] [stderr] Checking threadpool v1.3.2 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking wavefront_obj v5.0.0 [INFO] [stderr] Checking dds-rs v0.4.0 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num_cpus v1.2.1 [INFO] [stderr] Checking num-complex v0.1.36 [INFO] [stderr] Checking cgmath v0.12.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Checking gfx_core v0.6.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking num-bigint v0.1.36 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking amethyst_config v0.2.1 (https://github.com/amethyst/amethyst.git?branch=release-0.4#21176327) [INFO] [stderr] Checking pulse v0.5.3 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Checking specs v0.7.1 [INFO] [stderr] Compiling miniz-sys v0.1.9 [INFO] [stderr] Checking num-rational v0.1.36 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking cgmath v0.7.0 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.0 [INFO] [stderr] Checking flate2 v0.2.17 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Checking imagefmt v4.0.0 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Checking gfx v0.14.0 [INFO] [stderr] Checking genmesh v0.4.1 [INFO] [stderr] Compiling serde_json v0.9.8 [INFO] [stderr] Checking gfx_device_gl v0.13.0 [INFO] [stderr] Compiling libloading v0.3.2 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.7.8 [INFO] [stderr] Checking wayland-kbd v0.6.3 [INFO] [stderr] Checking wayland-window v0.4.4 [INFO] [stderr] Checking winit v0.5.11 [INFO] [stderr] Checking gfx_window_glutin v0.14.0 [INFO] [stderr] Checking amethyst_renderer v0.4.1 (https://github.com/amethyst/amethyst.git?branch=release-0.4#21176327) [INFO] [stderr] Checking amethyst v0.4.1 (https://github.com/amethyst/amethyst.git?branch=release-0.4#21176327) [INFO] [stderr] Checking solitaire v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::char` [INFO] [stdout] --> src/cmdline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::char; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath` [INFO] [stdout] --> src/raytrace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseAction` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | MouseAction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char` [INFO] [stdout] --> src/cmdline.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::char; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath` [INFO] [stdout] --> src/raytrace.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use cgmath; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseAction` [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | MouseAction, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_list` [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let card_list = percept.get_cards(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | for (card, transform, render) in (&cards, &mut transform, &mut render).iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render` [INFO] [stdout] --> src/main.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | for (card, transform, render) in (&cards, &mut transform, &mut render).iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(data) = percept.get_data_for(card.card.clone()) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_manager` [INFO] [stdout] --> src/main.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | fn refresh(&mut self, asset_manager: &mut AssetManager, world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `near` [INFO] [stdout] --> src/main.rs:209:94 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `far` [INFO] [stdout] --> src/main.rs:209:104 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_list` [INFO] [stdout] --> src/main.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | let card_list = percept.get_cards(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe` [INFO] [stdout] --> src/main.rs:431:110 [INFO] [stdout] | [INFO] [stdout] 431 | fn handle_events(&mut self, events: &[WindowEvent], world: &mut World, asset_manager: &mut AssetManager, pipe: &mut Pipeline) -> Trans { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pipe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card` [INFO] [stdout] --> src/cmdline.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(card) = deck.last() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/game/solitaire.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | for j in 0..i+1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game/solitaire.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | for i in 0..suits { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_list` [INFO] [stdout] --> src/main.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let card_list = percept.get_cards(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/main.rs:131:20 [INFO] [stdout] | [INFO] [stdout] 131 | for (card, transform, render) in (&cards, &mut transform, &mut render).iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `render` [INFO] [stdout] --> src/main.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | for (card, transform, render) in (&cards, &mut transform, &mut render).iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/main.rs:132:25 [INFO] [stdout] | [INFO] [stdout] 132 | if let Some(data) = percept.get_data_for(card.card.clone()) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `asset_manager` [INFO] [stdout] --> src/main.rs:177:27 [INFO] [stdout] | [INFO] [stdout] 177 | fn refresh(&mut self, asset_manager: &mut AssetManager, world: &mut World) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_asset_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `near` [INFO] [stdout] --> src/main.rs:209:94 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `far` [INFO] [stdout] --> src/main.rs:209:104 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card_list` [INFO] [stdout] --> src/main.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | let card_list = percept.get_cards(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_card_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pipe` [INFO] [stdout] --> src/main.rs:431:110 [INFO] [stdout] | [INFO] [stdout] 431 | fn handle_events(&mut self, events: &[WindowEvent], world: &mut World, asset_manager: &mut AssetManager, pipe: &mut Pipeline) -> Trans { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_pipe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `card` [INFO] [stdout] --> src/cmdline.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | if let Some(card) = deck.last() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_card` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/game/solitaire.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | for j in 0..i+1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/game/solitaire.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | for i in 0..suits { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | for (subject, mut transform) in (&world.read::(), &mut world.write::()).iter() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | let mut data = percept.get_data_for(card).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:226:39 [INFO] [stdout] | [INFO] [stdout] 226 | for (subject, mut transform) in (&world.read::(), &mut world.write::()).iter() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmdline.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut stdin = std::io::stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | let mut data = percept.get_data_for(card).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/solitaire.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | while let Some(mut test) = out.get_mut_stack_for(StackId(i,j)) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/solitaire.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(mut stack) = out.get_mut_stack_for(stack.clone()) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cmdline.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut stdin = std::io::stdin(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/springy.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (mut transform, mut target) in (&mut transform, &mut target).iter() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/solitaire.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | while let Some(mut test) = out.get_mut_stack_for(StackId(i,j)) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game/solitaire.rs:198:29 [INFO] [stdout] | [INFO] [stdout] 198 | if let Some(mut stack) = out.get_mut_stack_for(stack.clone()) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/springy.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | for (mut transform, mut target) in (&mut transform, &mut target).iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `card_str` [INFO] [stdout] --> src/cmdline.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn card_str(&(_, ref card): &(Ident, Option)) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_percept` [INFO] [stdout] --> src/cmdline.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn print_percept(p: &CardGamePercept) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmd_solitare` [INFO] [stdout] --> src/cmdline.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn cmd_solitare() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/grid.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(major: i32, minor: i32) -> GridValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spacing` [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | spacing: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `top:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^ help: use shorthand field pattern: `top` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `bottom:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use shorthand field pattern: `bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `left:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:64 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `right:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:76 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^^^ help: use shorthand field pattern: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `near:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:89 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^ help: use shorthand field pattern: `near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `far:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:100 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^ help: use shorthand field pattern: `far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/springy.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | for (mut transform, mut target) in (&mut transform, &mut target).iter() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/springy.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | for (mut transform, mut target) in (&mut transform, &mut target).iter() { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `card_str` [INFO] [stdout] --> src/cmdline.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn card_str(&(_, ref card): &(Ident, Option)) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_percept` [INFO] [stdout] --> src/cmdline.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn print_percept(p: &CardGamePercept) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cmd_solitare` [INFO] [stdout] --> src/cmdline.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn cmd_solitare() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/grid.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(major: i32, minor: i32) -> GridValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `spacing` [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | spacing: [f32; 3], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `top:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:38 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^ help: use shorthand field pattern: `top` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_shorthand_field_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `bottom:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:48 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use shorthand field pattern: `bottom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `left:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:64 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^^ help: use shorthand field pattern: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `right:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:76 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^^^ help: use shorthand field pattern: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `near:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:89 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^^^ help: use shorthand field pattern: `near` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `far:` in this pattern is redundant [INFO] [stdout] --> src/main.rs:209:100 [INFO] [stdout] | [INFO] [stdout] 209 | Projection::Orthographic{top: top, bottom: bottom, left: left, right:right, near:near, far:far} => { [INFO] [stdout] | ^^^^^^^ help: use shorthand field pattern: `far` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "76fec8a7770572e91a7723df3cbfdfd68f2602d442a1b1e21373c56de6bc46d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76fec8a7770572e91a7723df3cbfdfd68f2602d442a1b1e21373c56de6bc46d9", kill_on_drop: false }` [INFO] [stdout] 76fec8a7770572e91a7723df3cbfdfd68f2602d442a1b1e21373c56de6bc46d9