[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] checking stelzch/effective-octo-barnacle against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstelzch%2Feffective-octo-barnacle" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stelzch/effective-octo-barnacle on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b1c6243e9d49d1084f623863061cb968af597d864c7433eb3deb302f93cb2a3 [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" "7b1c6243e9d49d1084f623863061cb968af597d864c7433eb3deb302f93cb2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b1c6243e9d49d1084f623863061cb968af597d864c7433eb3deb302f93cb2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1c6243e9d49d1084f623863061cb968af597d864c7433eb3deb302f93cb2a3", kill_on_drop: false }` [INFO] [stdout] 7b1c6243e9d49d1084f623863061cb968af597d864c7433eb3deb302f93cb2a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0229eb0cd95dc62d5cbf312ef6893ac1b231ed125440a7c0736fc8384f133835 [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" "0229eb0cd95dc62d5cbf312ef6893ac1b231ed125440a7c0736fc8384f133835", kill_on_drop: false }` [INFO] [stderr] Compiling libpulse-sys v1.12.1 [INFO] [stderr] Compiling libpulse-simple-sys v1.12.1 [INFO] [stderr] Checking libpulse-binding v2.15.0 [INFO] [stderr] Checking libpulse-simple-binding v2.15.0 [INFO] [stderr] Checking 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 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: 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 is never used: `func_to_wavetable` [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 is never used: `sine_wavetable` [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 is never used: `Matrix2D` [INFO] [stdout] --> src/graphics.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Matrix2D = [[f64; 2]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotation_matrix` [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: associated function is never used: `transform` [INFO] [stdout] --> src/graphics.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn transform(&mut self, matrix: &Matrix2D) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/graphics.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/graphics.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn translate(&mut self, dx: f64, dy: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/graphics.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn scale(&mut self, sx: f64, sy: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/graphics.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/graphics.rs:135:12 [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 is never used: `new` [INFO] [stdout] --> src/graphics.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(x : f64, y : f64, width : f64, height : f64) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `func_to_wavetable` [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 is never used: `sine_wavetable` [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 is never used: `Matrix2D` [INFO] [stdout] --> src/graphics.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub type Matrix2D = [[f64; 2]; 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotation_matrix` [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: associated function is never used: `transform` [INFO] [stdout] --> src/graphics.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn transform(&mut self, matrix: &Matrix2D) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/graphics.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `translate` [INFO] [stdout] --> src/graphics.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn translate(&mut self, dx: f64, dy: f64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/graphics.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn scale(&mut self, sx: f64, sy: f64) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/graphics.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn rotate(&mut self, angle: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/graphics.rs:135:12 [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 is never used: `new` [INFO] [stdout] --> src/graphics.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn new(x : f64, y : f64, width : f64, height : f64) -> Rectangle { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `BALL_RADIUS` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | const BALL_RADIUS : f64 = 0.07; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.65s [INFO] running `Command { std: "docker" "inspect" "0229eb0cd95dc62d5cbf312ef6893ac1b231ed125440a7c0736fc8384f133835", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0229eb0cd95dc62d5cbf312ef6893ac1b231ed125440a7c0736fc8384f133835", kill_on_drop: false }` [INFO] [stdout] 0229eb0cd95dc62d5cbf312ef6893ac1b231ed125440a7c0736fc8384f133835