[INFO] cloning repository https://github.com/stelzch/effective-octo-barnacle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stelzch/effective-octo-barnacle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstelzch%2Feffective-octo-barnacle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstelzch%2Feffective-octo-barnacle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f0bc1d2d5c7d53838423e36591647b614392f58 [INFO] building stelzch/effective-octo-barnacle against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstelzch%2Feffective-octo-barnacle" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stelzch/effective-octo-barnacle on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stelzch/effective-octo-barnacle [INFO] finished tweaking git repo https://github.com/stelzch/effective-octo-barnacle [INFO] tweaked toml for git repo https://github.com/stelzch/effective-octo-barnacle written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/stelzch/effective-octo-barnacle 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libpulse-simple-sys v1.12.1 [INFO] [stderr] Downloaded libpulse-simple-binding v2.15.0 [INFO] [stderr] Downloaded libpulse-binding v2.15.0 [INFO] [stderr] Downloaded libpulse-sys v1.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fde383dd46bb83a8b37acaccf0526ce7b8aa3e2a52cabb20ab13739e472fc18e [INFO] running `Command { std: "docker" "start" "-a" "fde383dd46bb83a8b37acaccf0526ce7b8aa3e2a52cabb20ab13739e472fc18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fde383dd46bb83a8b37acaccf0526ce7b8aa3e2a52cabb20ab13739e472fc18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fde383dd46bb83a8b37acaccf0526ce7b8aa3e2a52cabb20ab13739e472fc18e", kill_on_drop: false }` [INFO] [stdout] fde383dd46bb83a8b37acaccf0526ce7b8aa3e2a52cabb20ab13739e472fc18e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1202eeb8b5710831abfc931b743d2489fae03113b2e513caffd093aed649d8b [INFO] running `Command { std: "docker" "start" "-a" "d1202eeb8b5710831abfc931b743d2489fae03113b2e513caffd093aed649d8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling libpulse-sys v1.12.1 [INFO] [stderr] Compiling libpulse-simple-sys v1.12.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling libpulse-binding v2.15.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling libpulse-simple-binding v2.15.0 [INFO] [stderr] Compiling rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphics::Polygon` [INFO] [stdout] --> src/audio/generator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::graphics::Polygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/audio/generator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/audio/generator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_samples` [INFO] [stdout] --> src/engine.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let entity_samples : usize = (entity.perimeter() / total_perimeter * f64::from(self.num_samples as i32)) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_samples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BALL_RADIUS` is never used [INFO] [stdout] --> src/main.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | const BALL_RADIUS : f64 = 0.07; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_to_wavetable` is never used [INFO] [stdout] --> src/audio/generator.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn func_to_wavetable(num_samples : usize, f : impl Fn(usize) -> i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wavetable` is never used [INFO] [stdout] --> src/audio/generator.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn sine_wavetable(freq : u32, phase : f64, amplitude : f64, offset : f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix2D` is never used [INFO] [stdout] --> src/graphics.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Matrix2D = [[f64; 2]; 2]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_matrix` is never used [INFO] [stdout] --> src/graphics.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn rotation_matrix(angle: f64) -> Matrix2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transform`, `rotate`, `translate`, and `scale` are never used [INFO] [stdout] --> src/graphics.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Point2D { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn transform(&mut self, matrix: &Matrix2D) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn translate(&mut self, dx: f64, dy: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn scale(&mut self, sx: f64, sy: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/graphics.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Polygon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 53 | pub points: Vec, [INFO] [stdout] 54 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 55 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Polygon` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate` and `scale` are never used [INFO] [stdout] --> src/graphics.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn scale(&mut self, sx: f64, sy: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graphics.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 161 | pub fn new(x : f64, y : f64, width : f64, height : f64) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounding_box` and `direction` are never read [INFO] [stdout] --> src/engine.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | pub geometry: Polygon, [INFO] [stdout] 12 | pub bounding_box: Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | pub pos : Point2D, [INFO] [stdout] 14 | pub direction : Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | audio.pa.write(&entity_to_wavetable(samples, &self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = audio.pa.write(&entity_to_wavetable(samples, &self)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "d1202eeb8b5710831abfc931b743d2489fae03113b2e513caffd093aed649d8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1202eeb8b5710831abfc931b743d2489fae03113b2e513caffd093aed649d8b", kill_on_drop: false }` [INFO] [stdout] d1202eeb8b5710831abfc931b743d2489fae03113b2e513caffd093aed649d8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03ec449e20a9b4a42d793a478363f70ef632f62b3d41f7e5232f1c78a2e55ca4 [INFO] running `Command { std: "docker" "start" "-a" "03ec449e20a9b4a42d793a478363f70ef632f62b3d41f7e5232f1c78a2e55ca4", kill_on_drop: false }` [INFO] [stderr] Compiling rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::graphics::Polygon` [INFO] [stdout] --> src/audio/generator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::graphics::Polygon; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> src/audio/generator.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice` [INFO] [stdout] --> src/audio/generator.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::slice; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> src/engine.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_samples` [INFO] [stdout] --> src/engine.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let entity_samples : usize = (entity.perimeter() / total_perimeter * f64::from(self.num_samples as i32)) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_samples` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_to_wavetable` is never used [INFO] [stdout] --> src/audio/generator.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn func_to_wavetable(num_samples : usize, f : impl Fn(usize) -> i16) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wavetable` is never used [INFO] [stdout] --> src/audio/generator.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn sine_wavetable(freq : u32, phase : f64, amplitude : f64, offset : f64) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix2D` is never used [INFO] [stdout] --> src/graphics.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Matrix2D = [[f64; 2]; 2]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_matrix` is never used [INFO] [stdout] --> src/graphics.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn rotation_matrix(angle: f64) -> Matrix2D { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `transform`, `rotate`, `translate`, and `scale` are never used [INFO] [stdout] --> src/graphics.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Point2D { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn transform(&mut self, matrix: &Matrix2D) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn translate(&mut self, dx: f64, dy: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn scale(&mut self, sx: f64, sy: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/graphics.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct Polygon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 53 | pub points: Vec, [INFO] [stdout] 54 | pub x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 55 | pub y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Polygon` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rotate` and `scale` are never used [INFO] [stdout] --> src/graphics.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Polygon { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn scale(&mut self, sx: f64, sy: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graphics.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl Rectangle { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 161 | pub fn new(x : f64, y : f64, width : f64, height : f64) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `bounding_box` and `direction` are never read [INFO] [stdout] --> src/engine.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Entity { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | pub geometry: Polygon, [INFO] [stdout] 12 | pub bounding_box: Rectangle, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | pub pos : Point2D, [INFO] [stdout] 14 | pub direction : Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/engine.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | audio.pa.write(&entity_to_wavetable(samples, &self)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 19 | let _ = audio.pa.write(&entity_to_wavetable(samples, &self)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "03ec449e20a9b4a42d793a478363f70ef632f62b3d41f7e5232f1c78a2e55ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ec449e20a9b4a42d793a478363f70ef632f62b3d41f7e5232f1c78a2e55ca4", kill_on_drop: false }` [INFO] [stdout] 03ec449e20a9b4a42d793a478363f70ef632f62b3d41f7e5232f1c78a2e55ca4