[INFO] cloning repository https://github.com/gespel/GeSynth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gespel/GeSynth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgespel%2FGeSynth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgespel%2FGeSynth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1a76d3077cce34fb83d80740aa99c35d8435f5d [INFO] testing gespel/GeSynth against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgespel%2FGeSynth" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gespel/GeSynth on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gespel/GeSynth [INFO] finished tweaking git repo https://github.com/gespel/GeSynth [INFO] tweaked toml for git repo https://github.com/gespel/GeSynth written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gespel/GeSynth 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c58acafd0e341fabf2952e02a8eeb72f0a9173ae188eb69268b639336398be4 [INFO] running `Command { std: "docker" "start" "-a" "4c58acafd0e341fabf2952e02a8eeb72f0a9173ae188eb69268b639336398be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c58acafd0e341fabf2952e02a8eeb72f0a9173ae188eb69268b639336398be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c58acafd0e341fabf2952e02a8eeb72f0a9173ae188eb69268b639336398be4", kill_on_drop: false }` [INFO] [stdout] 4c58acafd0e341fabf2952e02a8eeb72f0a9173ae188eb69268b639336398be4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 410a6c1f03a79a5861c2a29ebe6bf6d12bec11cc2003b252e22e67d9849cfb04 [INFO] running `Command { std: "docker" "start" "-a" "410a6c1f03a79a5861c2a29ebe6bf6d12bec11cc2003b252e22e67d9849cfb04", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bytemuck v1.13.1 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling encoding_rs v0.8.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling hound v3.5.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling symphonia-core v0.5.2 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling symphonia-metadata v0.5.2 [INFO] [stderr] Compiling getrandom v0.2.9 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling alsa v0.7.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling symphonia v0.5.2 [INFO] [stderr] Compiling rodio v0.17.1 [INFO] [stderr] Compiling gesynth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sample` is never read [INFO] [stdout] --> src/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut sample = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut pseudo_sample = (2.0 * PI * frequency * t).sin(); [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: unused variable: `frequency` [INFO] [stdout] --> src/main.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn calc_sample(&mut self, frequency: f32, phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frequency` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bs` [INFO] [stdout] --> src/main.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | for bs in 0..sample_rate as i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `playtime` [INFO] [stdout] --> src/main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | fn play(&mut self, playtime: f32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_buffer` is never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait Synthesizer { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 7 | fn new(playtime: f32, sample_rate: usize) -> Self; [INFO] [stdout] 8 | fn calc_buffer(&mut self, frequency: f32) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SynthType` is never used [INFO] [stdout] --> src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum SynthType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `playtime` and `sample_rate` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct SineSynth { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | playtime: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | sample_rate: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SquareSynth` is never constructed [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct SquareSynth { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct GeSynth { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 81 | sample_rate: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.98s [INFO] running `Command { std: "docker" "inspect" "410a6c1f03a79a5861c2a29ebe6bf6d12bec11cc2003b252e22e67d9849cfb04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "410a6c1f03a79a5861c2a29ebe6bf6d12bec11cc2003b252e22e67d9849cfb04", kill_on_drop: false }` [INFO] [stdout] 410a6c1f03a79a5861c2a29ebe6bf6d12bec11cc2003b252e22e67d9849cfb04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a9748a359b3860447e6a19f183882c251aafa5b2f0e1b422dd4f4529a464663 [INFO] running `Command { std: "docker" "start" "-a" "8a9748a359b3860447e6a19f183882c251aafa5b2f0e1b422dd4f4529a464663", kill_on_drop: false }` [INFO] [stderr] Compiling gesynth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sample` is never read [INFO] [stdout] --> src/main.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | let mut sample = 0.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut pseudo_sample = (2.0 * PI * frequency * t).sin(); [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: unused variable: `frequency` [INFO] [stdout] --> src/main.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn calc_sample(&mut self, frequency: f32, phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frequency` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bs` [INFO] [stdout] --> src/main.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | for bs in 0..sample_rate as i32 { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `playtime` [INFO] [stdout] --> src/main.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | fn play(&mut self, playtime: f32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calc_buffer` is never used [INFO] [stdout] --> src/main.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | trait Synthesizer { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 7 | fn new(playtime: f32, sample_rate: usize) -> Self; [INFO] [stdout] 8 | fn calc_buffer(&mut self, frequency: f32) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SynthType` is never used [INFO] [stdout] --> src/main.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum SynthType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `playtime` and `sample_rate` are never read [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | struct SineSynth { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | playtime: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | sample_rate: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SquareSynth` is never constructed [INFO] [stdout] --> src/main.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | struct SquareSynth { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sample_rate` is never read [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct GeSynth { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 81 | sample_rate: usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "8a9748a359b3860447e6a19f183882c251aafa5b2f0e1b422dd4f4529a464663", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a9748a359b3860447e6a19f183882c251aafa5b2f0e1b422dd4f4529a464663", kill_on_drop: false }` [INFO] [stdout] 8a9748a359b3860447e6a19f183882c251aafa5b2f0e1b422dd4f4529a464663 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 71462bdb344f6f1f70149d3f2cba98fd6dc7138c6d05ae1e70a9826477103c27 [INFO] running `Command { std: "docker" "start" "-a" "71462bdb344f6f1f70149d3f2cba98fd6dc7138c6d05ae1e70a9826477103c27", kill_on_drop: false }` [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/main.rs:98:9 [INFO] [stderr] | [INFO] [stderr] 98 | while true { [INFO] [stderr] | ^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(while_true)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `sample` is never read [INFO] [stderr] --> src/main.rs:59:21 [INFO] [stderr] | [INFO] [stderr] 59 | let mut sample = 0.0; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | let mut pseudo_sample = (2.0 * PI * frequency * t).sin(); [INFO] [stderr] | ----^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frequency` [INFO] [stderr] --> src/main.rs:73:31 [INFO] [stderr] | [INFO] [stderr] 73 | fn calc_sample(&mut self, frequency: f32, phase: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frequency` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `bs` [INFO] [stderr] --> src/main.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | for bs in 0..sample_rate as i32 { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_bs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `playtime` [INFO] [stderr] --> src/main.rs:91:24 [INFO] [stderr] | [INFO] [stderr] 91 | fn play(&mut self, playtime: f32) { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_playtime` [INFO] [stderr] [INFO] [stderr] warning: method `calc_buffer` is never used [INFO] [stderr] --> src/main.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 6 | trait Synthesizer { [INFO] [stderr] | ----------- method in this trait [INFO] [stderr] 7 | fn new(playtime: f32, sample_rate: usize) -> Self; [INFO] [stderr] 8 | fn calc_buffer(&mut self, frequency: f32) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `SynthType` is never used [INFO] [stderr] --> src/main.rs:11:6 [INFO] [stderr] | [INFO] [stderr] 11 | enum SynthType { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `playtime` and `sample_rate` are never read [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | struct SineSynth { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 17 | playtime: f32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 18 | sample_rate: usize [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SquareSynth` is never constructed [INFO] [stderr] --> src/main.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | struct SquareSynth { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `sample_rate` is never read [INFO] [stderr] --> src/main.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 80 | struct GeSynth { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 81 | sample_rate: usize [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gesynth` (bin "gesynth" test) generated 11 warnings (run `cargo fix --bin "gesynth" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gesynth-aa7358bf73478cff) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gesynth-eb0fdc8f736103dc) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests gesynth [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "71462bdb344f6f1f70149d3f2cba98fd6dc7138c6d05ae1e70a9826477103c27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71462bdb344f6f1f70149d3f2cba98fd6dc7138c6d05ae1e70a9826477103c27", kill_on_drop: false }` [INFO] [stdout] 71462bdb344f6f1f70149d3f2cba98fd6dc7138c6d05ae1e70a9826477103c27