[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLucasGobbs%2Fterminal_screen" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LucasGobbs/terminal_screen on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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 ttf-parser v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc4d71b05834dbd9bc5b1dff5c0a19669438a72dbe0e65e2980be22780e87656 [INFO] running `Command { std: "docker" "start" "-a" "cc4d71b05834dbd9bc5b1dff5c0a19669438a72dbe0e65e2980be22780e87656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc4d71b05834dbd9bc5b1dff5c0a19669438a72dbe0e65e2980be22780e87656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc4d71b05834dbd9bc5b1dff5c0a19669438a72dbe0e65e2980be22780e87656", kill_on_drop: false }` [INFO] [stdout] cc4d71b05834dbd9bc5b1dff5c0a19669438a72dbe0e65e2980be22780e87656 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f678e096cb0b69d01276464548b51eb7da46e39bb05626f4222680a41fd5763 [INFO] running `Command { std: "docker" "start" "-a" "5f678e096cb0b69d01276464548b51eb7da46e39bb05626f4222680a41fd5763", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] syn v1.0.33 (as host dependency): full, visit [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cc v1.0.56 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling cpal v0.11.0 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking ttf-parser v0.6.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.4.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling hashbrown v0.8.0 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Compiling vek v0.11.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking lewton v0.10.1 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking png v0.16.6 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking ab_glyph v0.2.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking rayon-core v1.7.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling glow v0.4.0 [INFO] [stderr] Checking rayon v1.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking rand v0.7.3 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/shape/curve.rs (1 fix) [INFO] [stderr] Fixed src/component/divider_component.rs (1 fix) [INFO] [stderr] Fixed src/component/text_component.rs (1 fix) [INFO] [stderr] Fixed src/console.rs (3 fixes) [INFO] [stderr] Fixed src/buffer_app.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (7 fixes) [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.83s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking cpal v0.11.0 [INFO] [stderr] Checking rodio v0.11.0 [INFO] [stderr] Checking tetra v0.4.0 [INFO] [stderr] Checking terminal_screen v0.1.0 (/tmp/fixit) [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: 17 warnings emitted [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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.64s [INFO] running `Command { std: "docker" "inspect" "5f678e096cb0b69d01276464548b51eb7da46e39bb05626f4222680a41fd5763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f678e096cb0b69d01276464548b51eb7da46e39bb05626f4222680a41fd5763", kill_on_drop: false }` [INFO] [stdout] 5f678e096cb0b69d01276464548b51eb7da46e39bb05626f4222680a41fd5763