[INFO] cloning repository https://github.com/glektarssza/terminal-fps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/glektarssza/terminal-fps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglektarssza%2Fterminal-fps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglektarssza%2Fterminal-fps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cad6230ffbcd1c1c0f286ea328fecb3a640c9825 [INFO] testing glektarssza/terminal-fps against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fglektarssza%2Fterminal-fps" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/glektarssza/terminal-fps on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/glektarssza/terminal-fps [INFO] finished tweaking git repo https://github.com/glektarssza/terminal-fps [INFO] tweaked toml for git repo https://github.com/glektarssza/terminal-fps written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/glektarssza/terminal-fps already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 36b043f8f61a8e5760ce388a510f2896fb650f361d72eace9f035f6d6dcce82b [INFO] running `Command { std: "docker" "start" "-a" "36b043f8f61a8e5760ce388a510f2896fb650f361d72eace9f035f6d6dcce82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36b043f8f61a8e5760ce388a510f2896fb650f361d72eace9f035f6d6dcce82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b043f8f61a8e5760ce388a510f2896fb650f361d72eace9f035f6d6dcce82b", kill_on_drop: false }` [INFO] [stdout] 36b043f8f61a8e5760ce388a510f2896fb650f361d72eace9f035f6d6dcce82b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a2f5361ce1e02e669596565cbc30322ba4b62aa22654356a52907aaa4b133383 [INFO] running `Command { std: "docker" "start" "-a" "a2f5361ce1e02e669596565cbc30322ba4b62aa22654356a52907aaa4b133383", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling terminal-fps v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gameMap` [INFO] [stdout] --> src/main.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gameMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(x: f32, y: f32, rotation: f32, fov: f32, far_plane: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wall` [INFO] [stdout] --> src/game.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameMapCellType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/game.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/game.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell_count` [INFO] [stdout] --> src/game.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_cell_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells` [INFO] [stdout] --> src/game.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_cells(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_mut` [INFO] [stdout] --> src/game.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_cells_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell` [INFO] [stdout] --> src/game.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cell(&self, x: usize, y: usize) -> GameMapCellType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cell` [INFO] [stdout] --> src/game.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn set_cell(&mut self, x: usize, y: usize, value: GameMapCellType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill` [INFO] [stdout] --> src/game.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn fill(&mut self, value: GameMapCellType) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graphics.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_background_color` [INFO] [stdout] --> src/graphics.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn to_background_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graphics.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(symbol: char, color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graphics.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/graphics.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/graphics.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_count` [INFO] [stdout] --> src/graphics.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_pixel_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixels` [INFO] [stdout] --> src/graphics.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn get_pixels(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixels_mut` [INFO] [stdout] --> src/graphics.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_pixels_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/graphics.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_pixel(&self, x: usize, y: usize) -> &Pixel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_mut` [INFO] [stdout] --> src/graphics.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_pixel_mut(&mut self, x: usize, y: usize) -> &mut Pixel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel` [INFO] [stdout] --> src/graphics.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn set_pixel(&mut self, x: usize, y: usize, pixel: Pixel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel_symbol` [INFO] [stdout] --> src/graphics.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn set_pixel_symbol(&mut self, x: usize, y: usize, symbol: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel_color` [INFO] [stdout] --> src/graphics.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_pixel_color(&mut self, x: usize, y: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/graphics.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill` [INFO] [stdout] --> src/graphics.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn fill(&mut self, pixel: Pixel) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_symbol` [INFO] [stdout] --> src/graphics.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn fill_symbol(&mut self, symbol: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_color` [INFO] [stdout] --> src/graphics.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn fill_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameMap` should have a snake case name [INFO] [stdout] --> src/main.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `game_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.82s [INFO] running `Command { std: "docker" "inspect" "a2f5361ce1e02e669596565cbc30322ba4b62aa22654356a52907aaa4b133383", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f5361ce1e02e669596565cbc30322ba4b62aa22654356a52907aaa4b133383", kill_on_drop: false }` [INFO] [stdout] a2f5361ce1e02e669596565cbc30322ba4b62aa22654356a52907aaa4b133383 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 32f1ab9b5f3695d3196ad346d2ceb4536faf820ff42034b9645e2aad17be8f52 [INFO] running `Command { std: "docker" "start" "-a" "32f1ab9b5f3695d3196ad346d2ceb4536faf820ff42034b9645e2aad17be8f52", kill_on_drop: false }` [INFO] [stderr] Compiling terminal-fps v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/main.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gameMap` [INFO] [stdout] --> src/main.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gameMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render` [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(x: f32, y: f32, rotation: f32, fov: f32, far_plane: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wall` [INFO] [stdout] --> src/game.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Wall, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GameMapCellType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/game.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/game.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/game.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell_count` [INFO] [stdout] --> src/game.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn get_cell_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells` [INFO] [stdout] --> src/game.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn get_cells(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cells_mut` [INFO] [stdout] --> src/game.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn get_cells_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cell` [INFO] [stdout] --> src/game.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn get_cell(&self, x: usize, y: usize) -> GameMapCellType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_cell` [INFO] [stdout] --> src/game.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn set_cell(&mut self, x: usize, y: usize, value: GameMapCellType) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill` [INFO] [stdout] --> src/game.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn fill(&mut self, value: GameMapCellType) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graphics.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(red: u8, green: u8, blue: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_background_color` [INFO] [stdout] --> src/graphics.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn to_background_color(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graphics.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn new(symbol: char, color: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/graphics.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/graphics.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/graphics.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_count` [INFO] [stdout] --> src/graphics.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_pixel_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixels` [INFO] [stdout] --> src/graphics.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn get_pixels(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixels_mut` [INFO] [stdout] --> src/graphics.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn get_pixels_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/graphics.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn get_pixel(&self, x: usize, y: usize) -> &Pixel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_mut` [INFO] [stdout] --> src/graphics.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn get_pixel_mut(&mut self, x: usize, y: usize) -> &mut Pixel { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel` [INFO] [stdout] --> src/graphics.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn set_pixel(&mut self, x: usize, y: usize, pixel: Pixel) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel_symbol` [INFO] [stdout] --> src/graphics.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn set_pixel_symbol(&mut self, x: usize, y: usize, symbol: char) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel_color` [INFO] [stdout] --> src/graphics.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn set_pixel_color(&mut self, x: usize, y: usize, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/graphics.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill` [INFO] [stdout] --> src/graphics.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn fill(&mut self, pixel: Pixel) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_symbol` [INFO] [stdout] --> src/graphics.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub fn fill_symbol(&mut self, symbol: char) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fill_color` [INFO] [stdout] --> src/graphics.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn fill_color(&mut self, color: Color) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `gameMap` should have a snake case name [INFO] [stdout] --> src/main.rs:8:55 [INFO] [stdout] | [INFO] [stdout] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `game_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.92s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/terminal_fps-903465e36cbe5ef9) [INFO] running `Command { std: "docker" "inspect" "32f1ab9b5f3695d3196ad346d2ceb4536faf820ff42034b9645e2aad17be8f52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32f1ab9b5f3695d3196ad346d2ceb4536faf820ff42034b9645e2aad17be8f52", kill_on_drop: false }` [INFO] [stdout] 32f1ab9b5f3695d3196ad346d2ceb4536faf820ff42034b9645e2aad17be8f52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b9cf43fabb07abbf225efda3dedf5d1b08d00b24cc1aead4b369e58701c4aea8 [INFO] running `Command { std: "docker" "start" "-a" "b9cf43fabb07abbf225efda3dedf5d1b08d00b24cc1aead4b369e58701c4aea8", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `camera` [INFO] [stderr] --> src/main.rs:8:38 [INFO] [stderr] | [INFO] [stderr] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gameMap` [INFO] [stderr] --> src/main.rs:8:55 [INFO] [stderr] | [INFO] [stderr] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gameMap` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `render` [INFO] [stderr] --> src/main.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn new(x: f32, y: f32, rotation: f32, fov: f32, far_plane: f32) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Wall` [INFO] [stderr] --> src/game.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | Wall, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `GameMapCellType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/game.rs:48:10 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/game.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_width` [INFO] [stderr] --> src/game.rs:84:12 [INFO] [stderr] | [INFO] [stderr] 84 | pub fn get_width(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_height` [INFO] [stderr] --> src/game.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn get_height(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_cell_count` [INFO] [stderr] --> src/game.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn get_cell_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_cells` [INFO] [stderr] --> src/game.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn get_cells(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_cells_mut` [INFO] [stderr] --> src/game.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn get_cells_mut(&mut self) -> &mut Vec { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_cell` [INFO] [stderr] --> src/game.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn get_cell(&self, x: usize, y: usize) -> GameMapCellType { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_cell` [INFO] [stderr] --> src/game.rs:114:12 [INFO] [stderr] | [INFO] [stderr] 114 | pub fn set_cell(&mut self, x: usize, y: usize, value: GameMapCellType) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fill` [INFO] [stderr] --> src/game.rs:119:12 [INFO] [stderr] | [INFO] [stderr] 119 | pub fn fill(&mut self, value: GameMapCellType) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/graphics.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(red: u8, green: u8, blue: u8) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_background_color` [INFO] [stderr] --> src/graphics.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn to_background_color(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/graphics.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn new(symbol: char, color: Color) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/graphics.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_width` [INFO] [stderr] --> src/graphics.rs:96:12 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn get_width(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_height` [INFO] [stderr] --> src/graphics.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn get_height(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_pixel_count` [INFO] [stderr] --> src/graphics.rs:106:12 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn get_pixel_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_pixels` [INFO] [stderr] --> src/graphics.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn get_pixels(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_pixels_mut` [INFO] [stderr] --> src/graphics.rs:116:12 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn get_pixels_mut(&mut self) -> &mut Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_pixel` [INFO] [stderr] --> src/graphics.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn get_pixel(&self, x: usize, y: usize) -> &Pixel { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_pixel_mut` [INFO] [stderr] --> src/graphics.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn get_pixel_mut(&mut self, x: usize, y: usize) -> &mut Pixel { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_pixel` [INFO] [stderr] --> src/graphics.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn set_pixel(&mut self, x: usize, y: usize, pixel: Pixel) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_pixel_symbol` [INFO] [stderr] --> src/graphics.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn set_pixel_symbol(&mut self, x: usize, y: usize, symbol: char) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_pixel_color` [INFO] [stderr] --> src/graphics.rs:141:12 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn set_pixel_color(&mut self, x: usize, y: usize, color: Color) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `clear` [INFO] [stderr] --> src/graphics.rs:146:12 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn clear(&mut self) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fill` [INFO] [stderr] --> src/graphics.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn fill(&mut self, pixel: Pixel) { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fill_symbol` [INFO] [stderr] --> src/graphics.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub fn fill_symbol(&mut self, symbol: char) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `fill_color` [INFO] [stderr] --> src/graphics.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn fill_color(&mut self, color: Color) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `gameMap` should have a snake case name [INFO] [stderr] --> src/main.rs:8:55 [INFO] [stderr] | [INFO] [stderr] 8 | fn render(framebuffer: &mut Texture, camera: &Camera, gameMap: &GameMap) { [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `game_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `terminal-fps` (bin "terminal-fps" test) generated 33 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/terminal_fps-903465e36cbe5ef9) [INFO] [stdout] [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" "b9cf43fabb07abbf225efda3dedf5d1b08d00b24cc1aead4b369e58701c4aea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9cf43fabb07abbf225efda3dedf5d1b08d00b24cc1aead4b369e58701c4aea8", kill_on_drop: false }` [INFO] [stdout] b9cf43fabb07abbf225efda3dedf5d1b08d00b24cc1aead4b369e58701c4aea8