[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] checking gespel/GeSynth against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgespel%2FGeSynth" "/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/gespel/GeSynth on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "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-4-tc1/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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getrandom v0.2.9 [INFO] [stderr] Downloaded bumpalo v3.12.1 [INFO] [stderr] Downloaded regex v1.8.1 [INFO] [stderr] Downloaded syn v2.0.15 [INFO] [stderr] Downloaded regex-syntax v0.7.1 [INFO] [stderr] Downloaded winnow v0.4.6 [INFO] [stderr] Downloaded libc v0.2.142 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df3136a5d7c2b61323531617128f43446abe9ba703f1c74d6ba9924d1d2e00fa [INFO] running `Command { std: "docker" "start" "-a" "df3136a5d7c2b61323531617128f43446abe9ba703f1c74d6ba9924d1d2e00fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df3136a5d7c2b61323531617128f43446abe9ba703f1c74d6ba9924d1d2e00fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df3136a5d7c2b61323531617128f43446abe9ba703f1c74d6ba9924d1d2e00fa", kill_on_drop: false }` [INFO] [stdout] df3136a5d7c2b61323531617128f43446abe9ba703f1c74d6ba9924d1d2e00fa [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 008aeac86686a9294246598b5e4ea8f937432e0378197e9d14754f8dbbffea00 [INFO] running `Command { std: "docker" "start" "-a" "008aeac86686a9294246598b5e4ea8f937432e0378197e9d14754f8dbbffea00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Checking hound v3.5.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking symphonia-core v0.5.2 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking symphonia-metadata v0.5.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking alsa v0.7.0 [INFO] [stderr] Checking symphonia-bundle-mp3 v0.5.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking symphonia v0.5.2 [INFO] [stderr] Checking cpal v0.15.2 [INFO] [stderr] Checking rodio v0.17.1 [INFO] [stderr] Checking 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: 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: fields `playtime` and `sample_rate` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct SquareSynth { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | playtime: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | sample_rate: usize [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] [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: 11 warnings emitted [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: fields `playtime` and `sample_rate` are never read [INFO] [stdout] --> src/main.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct SquareSynth { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 43 | playtime: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | sample_rate: usize [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] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.29s [INFO] running `Command { std: "docker" "inspect" "008aeac86686a9294246598b5e4ea8f937432e0378197e9d14754f8dbbffea00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008aeac86686a9294246598b5e4ea8f937432e0378197e9d14754f8dbbffea00", kill_on_drop: false }` [INFO] [stdout] 008aeac86686a9294246598b5e4ea8f937432e0378197e9d14754f8dbbffea00