[INFO] cloning repository https://github.com/Eyon42/rust_audio_playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Eyon42/rust_audio_playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEyon42%2Frust_audio_playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEyon42%2Frust_audio_playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b4c67493ac4a729f1df5f1e005c81f16d810588 [INFO] checking Eyon42/rust_audio_playground against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEyon42%2Frust_audio_playground" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eyon42/rust_audio_playground on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Eyon42/rust_audio_playground [INFO] finished tweaking git repo https://github.com/Eyon42/rust_audio_playground [INFO] tweaked toml for git repo https://github.com/Eyon42/rust_audio_playground written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Eyon42/rust_audio_playground 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jack v0.11.4 [INFO] [stderr] Downloaded jack-sys v0.5.1 [INFO] [stderr] Downloaded autopilot v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42f053af07dd5a2de46d7fcd75967d43f7799082f933cd40d85173ebb855bf74 [INFO] running `Command { std: "docker" "start" "-a" "42f053af07dd5a2de46d7fcd75967d43f7799082f933cd40d85173ebb855bf74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42f053af07dd5a2de46d7fcd75967d43f7799082f933cd40d85173ebb855bf74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42f053af07dd5a2de46d7fcd75967d43f7799082f933cd40d85173ebb855bf74", kill_on_drop: false }` [INFO] [stdout] 42f053af07dd5a2de46d7fcd75967d43f7799082f933cd40d85173ebb855bf74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d0a184099d3782914446e978b850327f7a33fcdd9bd28cdea6f2a73420fc59f [INFO] running `Command { std: "docker" "start" "-a" "5d0a184099d3782914446e978b850327f7a33fcdd9bd28cdea6f2a73420fc59f", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling jack v0.11.4 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling jack-sys v0.5.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling autopilot v0.4.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking ringbuf v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking alsa v0.7.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Checking clap v4.5.1 [INFO] [stderr] Checking audio_playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/freq.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let step = (sample_rate as usize / 20); // 20 hz as minimal detection [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let step = (sample_rate as usize / 20); // 20 hz as minimal detection [INFO] [stdout] 22 + let step = sample_rate as usize / 20; // 20 hz as minimal detection [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/freq.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let step = (sample_rate as usize / 20); // 20 hz as minimal detection [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 22 - let step = (sample_rate as usize / 20); // 20 hz as minimal detection [INFO] [stdout] 22 + let step = sample_rate as usize / 20; // 20 hz as minimal detection [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mouse.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/ex_feedback.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/ex_feedback.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/ex_feedback.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/ex_feedback.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/ex_feedback.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | not(feature = "jack") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/ex_feedback.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | not(feature = "jack") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/example.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/example.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/example.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | not(feature = "jack") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/example.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/jack.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/jack.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | not(feature = "jack") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mouse.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | for i in 0..10000 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/example.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/example.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | not(feature = "jack") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libs::wav::BitDepth` [INFO] [stdout] --> src/osc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libs::wav::BitDepth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/osc.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let raw_f = log_map(220.0, 440.0, (1.0 - ny as f32)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - let raw_f = log_map(220.0, 440.0, (1.0 - ny as f32)); [INFO] [stdout] 61 + let raw_f = log_map(220.0, 440.0, 1.0 - ny as f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/jack.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | feature = "jack" [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `return` value [INFO] [stdout] --> src/libs/amdf.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return (mins[1] - mins[0]); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - return (mins[1] - mins[0]); [INFO] [stdout] 30 + return mins[1] - mins[0]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `jack` [INFO] [stdout] --> src/jack.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | not(feature = "jack") [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `jack` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/libs/wav.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | io::{Error, Read, Seek, Write}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libs::wav::BitDepth` [INFO] [stdout] --> src/osc.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use libs::wav::BitDepth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/osc.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | let raw_f = log_map(220.0, 440.0, (1.0 - ny as f32)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 61 - let raw_f = log_map(220.0, 440.0, (1.0 - ny as f32)); [INFO] [stdout] 61 + let raw_f = log_map(220.0, 440.0, 1.0 - ny as f32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `note_to_freq` is never used [INFO] [stdout] --> src/libs/notation.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn note_to_freq(note: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sine_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn saw_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sine_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn saw_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `amdf` is never used [INFO] [stdout] --> src/libs/amdf.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn amdf(sample: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `amdf` is never used [INFO] [stdout] --> src/libs/amdf.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn amdf(sample: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_notes` is never used [INFO] [stdout] --> src/libs/notation.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn gen_notes() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `note_to_freq` is never used [INFO] [stdout] --> src/libs/notation.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn note_to_freq(note: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `freq_to_note` is never used [INFO] [stdout] --> src/libs/notation.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn freq_to_note(freq: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_to_scale` is never used [INFO] [stdout] --> src/libs/notation.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn fit_to_scale(scale: &Vec, note_freq: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `amdf` is never used [INFO] [stdout] --> src/libs/amdf.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn amdf(sample: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sine_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn saw_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `amdf` is never used [INFO] [stdout] --> src/libs/amdf.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn amdf(sample: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_notes` is never used [INFO] [stdout] --> src/libs/notation.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn gen_notes() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `note_to_freq` is never used [INFO] [stdout] --> src/libs/notation.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn note_to_freq(note: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `freq_to_note` is never used [INFO] [stdout] --> src/libs/notation.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn freq_to_note(freq: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fit_to_scale` is never used [INFO] [stdout] --> src/libs/notation.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn fit_to_scale(scale: &Vec, note_freq: f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sine_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn saw_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_osc` is never used [INFO] [stdout] --> src/osc.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn sine_osc(phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_osc` is never used [INFO] [stdout] --> src/osc.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn square_osc(phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_osc` is never used [INFO] [stdout] --> src/osc.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn saw_osc(phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lin_map` is never used [INFO] [stdout] --> src/osc.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn lin_map(min: f32, max: f32, v: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `amdf` is never used [INFO] [stdout] --> src/libs/amdf.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn amdf(sample: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sine_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn saw_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/libs/wav.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | Err(e) => return Err(invalid_file_error), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_osc` is never used [INFO] [stdout] --> src/osc.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn sine_osc(phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_osc` is never used [INFO] [stdout] --> src/osc.rs:101:4 [INFO] [stdout] | [INFO] [stdout] 101 | fn square_osc(phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_osc` is never used [INFO] [stdout] --> src/osc.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn saw_osc(phase: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lin_map` is never used [INFO] [stdout] --> src/osc.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn lin_map(min: f32, max: f32, v: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `amdf` is never used [INFO] [stdout] --> src/libs/amdf.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn amdf(sample: Vec) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `note_to_freq` is never used [INFO] [stdout] --> src/libs/notation.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn note_to_freq(note: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `freq_to_note` is never used [INFO] [stdout] --> src/libs/notation.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn freq_to_note(freq: f64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave` is never used [INFO] [stdout] --> src/libs/sampling.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn sine_wave( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn sine_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `saw_wave_truncated` is never used [INFO] [stdout] --> src/libs/sampling.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn saw_wave_truncated( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.29s [INFO] running `Command { std: "docker" "inspect" "5d0a184099d3782914446e978b850327f7a33fcdd9bd28cdea6f2a73420fc59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0a184099d3782914446e978b850327f7a33fcdd9bd28cdea6f2a73420fc59f", kill_on_drop: false }` [INFO] [stdout] 5d0a184099d3782914446e978b850327f7a33fcdd9bd28cdea6f2a73420fc59f [INFO] checking Eyon42/rust_audio_playground against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEyon42%2Frust_audio_playground" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Eyon42/rust_audio_playground on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Eyon42/rust_audio_playground [INFO] finished tweaking git repo https://github.com/Eyon42/rust_audio_playground [INFO] tweaked toml for git repo https://github.com/Eyon42/rust_audio_playground written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Eyon42/rust_audio_playground 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a035e714f3e7d0dcfd98f6fa3aa40593450bac7999448868d809782197268f8c [INFO] running `Command { std: "docker" "start" "-a" "a035e714f3e7d0dcfd98f6fa3aa40593450bac7999448868d809782197268f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a035e714f3e7d0dcfd98f6fa3aa40593450bac7999448868d809782197268f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a035e714f3e7d0dcfd98f6fa3aa40593450bac7999448868d809782197268f8c", kill_on_drop: false }` [INFO] [stdout] a035e714f3e7d0dcfd98f6fa3aa40593450bac7999448868d809782197268f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 709d273794b8d1f7ce88127835ba1e9f30b0c3df43dffeb583ec8677c86184d4 [INFO] running `Command { std: "docker" "start" "-a" "709d273794b8d1f7ce88127835ba1e9f30b0c3df43dffeb583ec8677c86184d4", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling jack v0.11.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking anstream v0.6.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling cpal v0.15.2 [INFO] [stderr] Compiling jack-sys v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling autopilot v0.4.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking dasp_sample v0.11.0 [INFO] [stderr] Checking ringbuf v0.3.3 [INFO] [stderr] Checking clap_builder v4.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 825 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 826 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 827 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 828 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 829 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.45/src/lib.rs:479:41 [INFO] [stdout] | [INFO] [stdout] 479 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 831 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "709d273794b8d1f7ce88127835ba1e9f30b0c3df43dffeb583ec8677c86184d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "709d273794b8d1f7ce88127835ba1e9f30b0c3df43dffeb583ec8677c86184d4", kill_on_drop: false }` [INFO] [stdout] 709d273794b8d1f7ce88127835ba1e9f30b0c3df43dffeb583ec8677c86184d4