[INFO] cloning repository https://github.com/LucasGobbs/terminal_screen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LucasGobbs/terminal_screen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasGobbs%2Fterminal_screen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasGobbs%2Fterminal_screen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ad21de654c5b16c8203c18c254ac71add1650ac [INFO] checking LucasGobbs/terminal_screen against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasGobbs%2Fterminal_screen" "/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/LucasGobbs/terminal_screen on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LucasGobbs/terminal_screen [INFO] finished tweaking git repo https://github.com/LucasGobbs/terminal_screen [INFO] tweaked toml for git repo https://github.com/LucasGobbs/terminal_screen written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/LucasGobbs/terminal_screen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d70d7b50c56efee79b855828a5b8145ee141de8ca3a767dc8de0bde80522b6b [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" "3d70d7b50c56efee79b855828a5b8145ee141de8ca3a767dc8de0bde80522b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d70d7b50c56efee79b855828a5b8145ee141de8ca3a767dc8de0bde80522b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d70d7b50c56efee79b855828a5b8145ee141de8ca3a767dc8de0bde80522b6b", kill_on_drop: false }` [INFO] [stdout] 3d70d7b50c56efee79b855828a5b8145ee141de8ca3a767dc8de0bde80522b6b [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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5505e402f319ba19dcbbbac4dfa23fa717af5d93ed6e6e32b1dc714c38143a37 [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" "5505e402f319ba19dcbbbac4dfa23fa717af5d93ed6e6e32b1dc714c38143a37", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Checking ttf-parser v0.6.1 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling vek v0.11.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling hashbrown v0.8.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking ab_glyph v0.2.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.6 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking rodio v0.11.0 [INFO] [stderr] Checking tetra v0.4.0 [INFO] [stderr] Checking terminal_screen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use tetra::input::{self, Key}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use regex::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `self` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::*` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::shape::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffer` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::console::Console` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::console::Console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use tetra::input::{self, Key}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::*` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use regex::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `self` [INFO] [stdout] --> src/main.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | use std::fmt::{self, Display}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::shape::*` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::shape::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::buffer::Buffer` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::buffer::Buffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::console::Console` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::console::Console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn update(&mut self, ctx: &mut Context) -> tetra::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_perm` [INFO] [stdout] --> src/console.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | for (i, (cell_perm,cell_temp)) in izip!(&self.perm_buffer.data, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_perm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_x` [INFO] [stdout] --> src/console.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let sprite_x = (219 / 16) as f32 * 8.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_y` [INFO] [stdout] --> src/console.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let sprite_y = (219 % 16) as f32 * 8.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mx` [INFO] [stdout] --> src/buffer_app.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw(self, mx: i32) -> Buffer { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/component/text_component.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let pos = self.component.pos; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/component/divider_component.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let size = self.component.size; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn update(&mut self, ctx: &mut Context) -> tetra::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_perm` [INFO] [stdout] --> src/console.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | for (i, (cell_perm,cell_temp)) in izip!(&self.perm_buffer.data, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_perm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_x` [INFO] [stdout] --> src/console.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let sprite_x = (219 / 16) as f32 * 8.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sprite_y` [INFO] [stdout] --> src/console.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let sprite_y = (219 % 16) as f32 * 8.0; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sprite_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mx` [INFO] [stdout] --> src/buffer_app.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn draw(self, mx: i32) -> Buffer { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/component/text_component.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let pos = self.component.pos; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/component/divider_component.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | let size = self.component.size; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shape/curve.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cells: Vec<(i32,i32)> = Vec::new(); [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/shape/curve.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut cells: Vec<(i32,i32)> = Vec::new(); [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: associated function is never used: `new` [INFO] [stdout] --> src/shape/circle.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(x0: i32, y0: i32, radius: i32) -> Circle{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x0` [INFO] [stdout] --> src/shape/curve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | x0: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y0` [INFO] [stdout] --> src/shape/curve.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | y0: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x1` [INFO] [stdout] --> src/shape/curve.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | x1: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y1` [INFO] [stdout] --> src/shape/curve.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | y1: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x2` [INFO] [stdout] --> src/shape/curve.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | x2: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y2` [INFO] [stdout] --> src/shape/curve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | y2: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/curve.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(x0: i32, y0: i32, x1: i32, y1: i32, x2: i32, y2: i32) -> Curve { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/console.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(font: Texture, width: usize, height: usize) -> Console { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/console.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/console.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_buffer` [INFO] [stdout] --> src/buffer_app.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn add_buffer(mut self, n_buf: Buffer){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/component/component_drawable.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn default() -> Component { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos` [INFO] [stdout] --> src/component/component_drawable.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pos(mut self, x: i32, y: i32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `centered` [INFO] [stdout] --> src/component/divider_component.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn centered(&mut self) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[crate_type = "bin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[crate_type = "bin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/circle.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(x0: i32, y0: i32, radius: i32) -> Circle{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x0` [INFO] [stdout] --> src/shape/curve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | x0: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y0` [INFO] [stdout] --> src/shape/curve.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | y0: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x1` [INFO] [stdout] --> src/shape/curve.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | x1: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y1` [INFO] [stdout] --> src/shape/curve.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | y1: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x2` [INFO] [stdout] --> src/shape/curve.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | x2: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y2` [INFO] [stdout] --> src/shape/curve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | y2: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shape/curve.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(x0: i32, y0: i32, x1: i32, y1: i32, x2: i32, y2: i32) -> Curve { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/console.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(font: Texture, width: usize, height: usize) -> Console { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `clear` [INFO] [stdout] --> src/console.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/console.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_buffer` [INFO] [stdout] --> src/buffer_app.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn add_buffer(mut self, n_buf: Buffer){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `default` [INFO] [stdout] --> src/component/component_drawable.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn default() -> Component { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pos` [INFO] [stdout] --> src/component/component_drawable.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn pos(mut self, x: i32, y: i32) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `centered` [INFO] [stdout] --> src/component/divider_component.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn centered(&mut self) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[crate_type = "bin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[crate_type = "bin"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "5505e402f319ba19dcbbbac4dfa23fa717af5d93ed6e6e32b1dc714c38143a37", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5505e402f319ba19dcbbbac4dfa23fa717af5d93ed6e6e32b1dc714c38143a37", kill_on_drop: false }` [INFO] [stdout] 5505e402f319ba19dcbbbac4dfa23fa717af5d93ed6e6e32b1dc714c38143a37