[INFO] cloning repository https://github.com/Tam1SH/simple2d_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tam1SH/simple2d_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTam1SH%2Fsimple2d_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTam1SH%2Fsimple2d_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eff519e3938664d647cf84059e38eba2fe31dcca [INFO] checking Tam1SH/simple2d_rust/eff519e3938664d647cf84059e38eba2fe31dcca against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTam1SH%2Fsimple2d_rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tam1SH/simple2d_rust on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tam1SH/simple2d_rust [INFO] finished tweaking git repo https://github.com/Tam1SH/simple2d_rust [INFO] tweaked toml for git repo https://github.com/Tam1SH/simple2d_rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Tam1SH/simple2d_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.6 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.10 [INFO] [stderr] Downloaded rayon-core v1.9.3 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded rayon v1.5.3 [INFO] [stderr] Downloaded orbclient v0.3.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 595cdca014c6bd1ce5fafa8befec1fda438634b3d9449597da16563fe2ec5267 [INFO] running `Command { std: "docker" "start" "-a" "595cdca014c6bd1ce5fafa8befec1fda438634b3d9449597da16563fe2ec5267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "595cdca014c6bd1ce5fafa8befec1fda438634b3d9449597da16563fe2ec5267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "595cdca014c6bd1ce5fafa8befec1fda438634b3d9449597da16563fe2ec5267", kill_on_drop: false }` [INFO] [stdout] 595cdca014c6bd1ce5fafa8befec1fda438634b3d9449597da16563fe2ec5267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36d926069090624d87cbab44c98d69e251ac0b224272b1fb9ef27c1835b2f55b [INFO] running `Command { std: "docker" "start" "-a" "36d926069090624d87cbab44c98d69e251ac0b224272b1fb9ef27c1835b2f55b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking wayland-commons v0.29.4 [INFO] [stderr] Checking wayland-cursor v0.29.4 [INFO] [stderr] Checking simple2d_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/lib.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | let on_draw: Rc> = Rc::new(Box::new(move |surface| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | let size = window.get_screen_size(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | for i in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `set_color`, `get_color`, and `get_area` are never used [INFO] [stdout] --> src/simple2d/shape.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Shape { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 5 | fn draw(&self, surface: &mut DrawSurface); [INFO] [stdout] 6 | fn move_to(&mut self, point : Point); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn set_color(&mut self, color : u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn get_color(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | fn get_area(&self) -> &DrawingArea; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/main.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | let size = window.get_screen_size(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_buffer`, `get_buffer_index`, and `get_buffer_index_mut` are never used [INFO] [stdout] --> src/simple2d/draw_surface.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl DrawSurface { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_buffer(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_buffer_index(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_buffer_index_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_from_buffer`, `get_area`, `resize`, and `move_to` are never used [INFO] [stdout] --> src/simple2d/drawing_area.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawingArea { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn draw_from_buffer(&self, drawing_area : Rect, draw_surface : &mut DrawSurface, buffer : &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_area(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn resize(&mut self, new_size : Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn move_to(&mut self, new_pos : Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_screen_size` is never used [INFO] [stdout] --> src/simple2d/drawing_window.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn get_screen_size(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | window.subscribe_on_draw(Rc::new(Box::new(move |surface| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | for i in 0..1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/simple2d/ellipse.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ellipse { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn new(pos: Position, size : Rect, color : Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/simple2d/position.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PositionFrom2 { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 27 | fn new(t : T, u : U) -> Position; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_size` is never used [INFO] [stdout] --> src/simple2d/rectangle.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn set_size(&mut self, size : Rect) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/main.rs:54:50 [INFO] [stdout] | [INFO] [stdout] 54 | window.subscribe_on_draw(Rc::new(Box::new(move |surface| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/lib.rs:92:74 [INFO] [stdout] | [INFO] [stdout] 92 | let on_draw: Rc> = Rc::new(Box::new(move |surface| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_u8_rgb` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_u8_rgb(r: u8, g: u8, b: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `set_color`, `get_color`, and `get_area` are never used [INFO] [stdout] --> src/simple2d/shape.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Shape { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 5 | fn draw(&self, surface: &mut DrawSurface); [INFO] [stdout] 6 | fn move_to(&mut self, point : Point); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn set_color(&mut self, color : u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn get_color(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | fn get_area(&self) -> &DrawingArea; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_buffer`, `get_buffer_index`, and `get_buffer_index_mut` are never used [INFO] [stdout] --> src/simple2d/draw_surface.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl DrawSurface { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_buffer(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_buffer_index(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_buffer_index_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_from_buffer`, `get_area`, `resize`, and `move_to` are never used [INFO] [stdout] --> src/simple2d/drawing_area.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawingArea { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn draw_from_buffer(&self, drawing_area : Rect, draw_surface : &mut DrawSurface, buffer : &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_area(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn resize(&mut self, new_size : Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn move_to(&mut self, new_pos : Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe_on_draw` is never used [INFO] [stdout] --> src/simple2d/drawing_window.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn unsubscribe_on_draw(&mut self, o : Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/simple2d/position.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PositionFrom2 { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 27 | fn new(t : T, u : U) -> Position; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_size` and `new` are never used [INFO] [stdout] --> src/simple2d/rectangle.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn set_size(&mut self, size : Rect) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(pos: Position, size : Rect, color : Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `set_color`, `get_color`, and `get_area` are never used [INFO] [stdout] --> src/simple2d/shape.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Shape { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 5 | fn draw(&self, surface: &mut DrawSurface); [INFO] [stdout] 6 | fn move_to(&mut self, point : Point); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn set_color(&mut self, color : u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn get_color(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | fn get_area(&self) -> &DrawingArea; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_buffer`, `get_buffer_index`, and `get_buffer_index_mut` are never used [INFO] [stdout] --> src/simple2d/draw_surface.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl DrawSurface { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_buffer(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_buffer_index(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_buffer_index_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_from_buffer`, `get_area`, `resize`, and `move_to` are never used [INFO] [stdout] --> src/simple2d/drawing_area.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawingArea { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn draw_from_buffer(&self, drawing_area : Rect, draw_surface : &mut DrawSurface, buffer : &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_area(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn resize(&mut self, new_size : Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn move_to(&mut self, new_pos : Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_screen_size` is never used [INFO] [stdout] --> src/simple2d/drawing_window.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 21 | [INFO] [stdout] 22 | pub fn get_screen_size(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/simple2d/ellipse.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 14 | impl Ellipse { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn new(pos: Position, size : Rect, color : Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/simple2d/position.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PositionFrom2 { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 27 | fn new(t : T, u : U) -> Position; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_size` is never used [INFO] [stdout] --> src/simple2d/rectangle.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | impl Rectangle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn set_size(&mut self, size : Rect) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_u8_rgb` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_u8_rgb(r: u8, g: u8, b: u8) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_to`, `set_color`, `get_color`, and `get_area` are never used [INFO] [stdout] --> src/simple2d/shape.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Shape { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 5 | fn draw(&self, surface: &mut DrawSurface); [INFO] [stdout] 6 | fn move_to(&mut self, point : Point); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | fn set_color(&mut self, color : u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 10 | fn get_color(&self) -> u32; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | fn get_area(&self) -> &DrawingArea; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_buffer`, `get_buffer_index`, and `get_buffer_index_mut` are never used [INFO] [stdout] --> src/simple2d/draw_surface.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 8 | impl DrawSurface { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_buffer(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_buffer_index(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_buffer_index_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_from_buffer`, `get_area`, `resize`, and `move_to` are never used [INFO] [stdout] --> src/simple2d/drawing_area.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 12 | impl DrawingArea { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn draw_from_buffer(&self, drawing_area : Rect, draw_surface : &mut DrawSurface, buffer : &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn get_area(&self) -> Rect { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn resize(&mut self, new_size : Rect) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn move_to(&mut self, new_pos : Position) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unsubscribe_on_draw` is never used [INFO] [stdout] --> src/simple2d/drawing_window.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 20 | impl DrawingWindow { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn unsubscribe_on_draw(&mut self, o : Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/simple2d/position.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait PositionFrom2 { [INFO] [stdout] | ------------- associated function in this trait [INFO] [stdout] 27 | fn new(t : T, u : U) -> Position; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_size` and `new` are never used [INFO] [stdout] --> src/simple2d/rectangle.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | impl Rectangle { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn set_size(&mut self, size : Rect) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn new(pos: Position, size : Rect, color : Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.06s [INFO] running `Command { std: "docker" "inspect" "36d926069090624d87cbab44c98d69e251ac0b224272b1fb9ef27c1835b2f55b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36d926069090624d87cbab44c98d69e251ac0b224272b1fb9ef27c1835b2f55b", kill_on_drop: false }` [INFO] [stdout] 36d926069090624d87cbab44c98d69e251ac0b224272b1fb9ef27c1835b2f55b