[INFO] cloning repository https://github.com/Saetch/glorper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Saetch/glorper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaetch%2Fglorper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaetch%2Fglorper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1dcec13623c5341f26d5d84fc6de87528ad3c34f [INFO] testing Saetch/glorper against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSaetch%2Fglorper" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Saetch/glorper on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Saetch/glorper [INFO] finished tweaking git repo https://github.com/Saetch/glorper [INFO] tweaked toml for git repo https://github.com/Saetch/glorper written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/Saetch/glorper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded flume v0.10.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ba50352b27a79bf625136fcb6a2389535ca8aa6e8fb5fc95d3bbfbaa6b4c249 [INFO] running `Command { std: "docker" "start" "-a" "5ba50352b27a79bf625136fcb6a2389535ca8aa6e8fb5fc95d3bbfbaa6b4c249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ba50352b27a79bf625136fcb6a2389535ca8aa6e8fb5fc95d3bbfbaa6b4c249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ba50352b27a79bf625136fcb6a2389535ca8aa6e8fb5fc95d3bbfbaa6b4c249", kill_on_drop: false }` [INFO] [stdout] 5ba50352b27a79bf625136fcb6a2389535ca8aa6e8fb5fc95d3bbfbaa6b4c249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69d6b45cc7f3234dd4db4f2574b52512fdfeff7f7e2eeb761f800581b55346a0 [INFO] running `Command { std: "docker" "start" "-a" "69d6b45cc7f3234dd4db4f2574b52512fdfeff7f7e2eeb761f800581b55346a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling piston-viewport v1.0.1 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling piston2d-graphics v0.41.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling nanorand v0.6.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.9 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling pistoncore-input v1.0.1 [INFO] [stderr] Compiling pistoncore-window v0.47.1 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.1 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.79.0 [INFO] [stderr] Compiling piston v0.53.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling glorper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FIELDHEIGHT`, `FIELDWIDTH` [INFO] [stdout] --> src/main.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{controller::controller::{Controller}, constants::{FIELDWIDTH, FIELDHEIGHT}, model::model::Model, view::view::View}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::Path`, `sync::Arc` [INFO] [stdout] --> src/view/view.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, path::Path}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let elapsed = start.elapsed(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/model/model.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn update(&self, args : &UpdateArgs){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/view/view.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let window_width = args.window_size[0]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/view/view.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let window_height = args.window_size[1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIELDWIDTH` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const FIELDWIDTH : u32 = 600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIELDHEIGHT` [INFO] [stdout] --> src/constants.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub const FIELDHEIGHT: u32 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/view/view.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 0.5]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/view/view.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | const RED: [f32; 4] = [1.0, 0.0, 0.0, 0.7]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLUE` [INFO] [stdout] --> src/view/view.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | const BLUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DARKGREY` [INFO] [stdout] --> src/view/view.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | const DARKGREY: [f32; 4] = [0.2, 0.2, 0.2, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_screen_coordinates` [INFO] [stdout] --> src/view/view.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn to_screen_coordinates(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "69d6b45cc7f3234dd4db4f2574b52512fdfeff7f7e2eeb761f800581b55346a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d6b45cc7f3234dd4db4f2574b52512fdfeff7f7e2eeb761f800581b55346a0", kill_on_drop: false }` [INFO] [stdout] 69d6b45cc7f3234dd4db4f2574b52512fdfeff7f7e2eeb761f800581b55346a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d683da39e6554942e27265321f6752bfdb942408c447ae03ae5c13be34fec6a4 [INFO] running `Command { std: "docker" "start" "-a" "d683da39e6554942e27265321f6752bfdb942408c447ae03ae5c13be34fec6a4", kill_on_drop: false }` [INFO] [stderr] Compiling glorper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FIELDHEIGHT`, `FIELDWIDTH` [INFO] [stdout] --> src/main.rs:8:63 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{controller::controller::{Controller}, constants::{FIELDWIDTH, FIELDHEIGHT}, model::model::Model, view::view::View}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `path::Path`, `sync::Arc` [INFO] [stdout] --> src/view/view.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{sync::Arc, path::Path}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elapsed` [INFO] [stdout] --> src/main.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let elapsed = start.elapsed(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/model/model.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn update(&self, args : &UpdateArgs){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_width` [INFO] [stdout] --> src/view/view.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | let window_width = args.window_size[0]; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_height` [INFO] [stdout] --> src/view/view.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | let window_height = args.window_size[1]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIELDWIDTH` [INFO] [stdout] --> src/constants.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub const FIELDWIDTH : u32 = 600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `FIELDHEIGHT` [INFO] [stdout] --> src/constants.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub const FIELDHEIGHT: u32 = 400; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GREEN` [INFO] [stdout] --> src/view/view.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 0.5]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/view/view.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | const RED: [f32; 4] = [1.0, 0.0, 0.0, 0.7]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BLUE` [INFO] [stdout] --> src/view/view.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | const BLUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DARKGREY` [INFO] [stdout] --> src/view/view.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | const DARKGREY: [f32; 4] = [0.2, 0.2, 0.2, 1.0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_screen_coordinates` [INFO] [stdout] --> src/view/view.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn to_screen_coordinates(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.42s [INFO] running `Command { std: "docker" "inspect" "d683da39e6554942e27265321f6752bfdb942408c447ae03ae5c13be34fec6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d683da39e6554942e27265321f6752bfdb942408c447ae03ae5c13be34fec6a4", kill_on_drop: false }` [INFO] [stdout] d683da39e6554942e27265321f6752bfdb942408c447ae03ae5c13be34fec6a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0d2f1c4262d1ececb4197081d0ccbb08cee57dce088b74e772e34b5675831ef [INFO] running `Command { std: "docker" "start" "-a" "e0d2f1c4262d1ececb4197081d0ccbb08cee57dce088b74e772e34b5675831ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `FIELDHEIGHT`, `FIELDWIDTH` [INFO] [stderr] --> src/main.rs:8:63 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::{controller::controller::{Controller}, constants::{FIELDWIDTH, FIELDHEIGHT}, model::model::Model, view::view::View}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `path::Path`, `sync::Arc` [INFO] [stderr] --> src/view/view.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{sync::Arc, path::Path}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `elapsed` [INFO] [stderr] --> src/main.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | let elapsed = start.elapsed(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_elapsed` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `args` [INFO] [stderr] --> src/model/model.rs:10:26 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn update(&self, args : &UpdateArgs){ [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_width` [INFO] [stderr] --> src/view/view.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | let window_width = args.window_size[0]; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window_height` [INFO] [stderr] --> src/view/view.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let window_height = args.window_size[1]; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_height` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FIELDWIDTH` [INFO] [stderr] --> src/constants.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | pub const FIELDWIDTH : u32 = 600; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `FIELDHEIGHT` [INFO] [stderr] --> src/constants.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | pub const FIELDHEIGHT: u32 = 400; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GREEN` [INFO] [stderr] --> src/view/view.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | const GREEN: [f32; 4] = [0.0, 1.0, 0.0, 0.5]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `RED` [INFO] [stderr] --> src/view/view.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | const RED: [f32; 4] = [1.0, 0.0, 0.0, 0.7]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `BLUE` [INFO] [stderr] --> src/view/view.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | const BLUE: [f32; 4] = [0.0, 0.0, 1.0, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DARKGREY` [INFO] [stderr] --> src/view/view.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | const DARKGREY: [f32; 4] = [0.2, 0.2, 0.2, 1.0]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `to_screen_coordinates` [INFO] [stderr] --> src/view/view.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn to_screen_coordinates(){ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `glorper` (bin "glorper" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.20s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/glorper-db9504eeb56f3938) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0d2f1c4262d1ececb4197081d0ccbb08cee57dce088b74e772e34b5675831ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d2f1c4262d1ececb4197081d0ccbb08cee57dce088b74e772e34b5675831ef", kill_on_drop: false }` [INFO] [stdout] e0d2f1c4262d1ececb4197081d0ccbb08cee57dce088b74e772e34b5675831ef