[INFO] cloning repository https://github.com/weargoggles/netnoise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weargoggles/netnoise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Fnetnoise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Fnetnoise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c272fa49ea3d183b275e23ca400e35977857589 [INFO] checking weargoggles/netnoise against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Fnetnoise" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weargoggles/netnoise on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/weargoggles/netnoise [INFO] finished tweaking git repo https://github.com/weargoggles/netnoise [INFO] tweaked toml for git repo https://github.com/weargoggles/netnoise written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/weargoggles/netnoise 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b585120de3ff79daa07ceb964691f231ce23f54aa3edbaec421261c4decac256 [INFO] running `Command { std: "docker" "start" "-a" "b585120de3ff79daa07ceb964691f231ce23f54aa3edbaec421261c4decac256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b585120de3ff79daa07ceb964691f231ce23f54aa3edbaec421261c4decac256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b585120de3ff79daa07ceb964691f231ce23f54aa3edbaec421261c4decac256", kill_on_drop: false }` [INFO] [stdout] b585120de3ff79daa07ceb964691f231ce23f54aa3edbaec421261c4decac256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9477e5493aae172d5ef15a39e9916c30464e0ab33aa23d8332060f1986468174 [INFO] running `Command { std: "docker" "start" "-a" "9477e5493aae172d5ef15a39e9916c30464e0ab33aa23d8332060f1986468174", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking libc v0.2.30 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking netnoise v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/synth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [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/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | const QUANTIZE_NS: u64 = (1000000000 / (SAMPLE_RATE as u64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - const QUANTIZE_NS: u64 = (1000000000 / (SAMPLE_RATE as u64)); [INFO] [stdout] 17 + const QUANTIZE_NS: u64 = 1000000000 / (SAMPLE_RATE as u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/synth.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | const QUANTIZE_NS: u64 = (1000000000 / (SAMPLE_RATE as u64)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 17 - const QUANTIZE_NS: u64 = (1000000000 / (SAMPLE_RATE as u64)); [INFO] [stdout] 17 + const QUANTIZE_NS: u64 = 1000000000 / (SAMPLE_RATE as u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref A: f32 = (2.0 as f32).powf(1.0/12.0); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref A: f32 = (2.0 as f32).powf(1.0/12.0); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / lazy_static! { [INFO] [stdout] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stdout] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stdout] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stdout] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref A: f32 = (2.0 as f32).powf(1.0/12.0); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/music.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static! { [INFO] [stdout] 13 | | static ref A: f32 = (2.0 as f32).powf(1.0/12.0); [INFO] [stdout] 14 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/music.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scale = vec![tonic]; // in G [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: `e` [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Err(e) => { [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: `spec` [INFO] [stdout] --> src/main.rs:106:70 [INFO] [stdout] | [INFO] [stdout] 106 | let device = audio_subsystem.open_playback(None, &desired_spec, |spec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DECAY` is never used [INFO] [stdout] --> src/synth.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DECAY: f32 = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_wave` is never used [INFO] [stdout] --> src/synth.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn gen_wave(samples_to_write: i32, frequency: f32, sample_rate: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/music.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut scale = vec![tonic]; // in G [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: `e` [INFO] [stdout] --> src/main.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | Err(e) => { [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: `spec` [INFO] [stdout] --> src/main.rs:106:70 [INFO] [stdout] | [INFO] [stdout] 106 | let device = audio_subsystem.open_playback(None, &desired_spec, |spec| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DECAY` is never used [INFO] [stdout] --> src/synth.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DECAY: f32 = 0.0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gen_wave` is never used [INFO] [stdout] --> src/synth.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn gen_wave(samples_to_write: i32, frequency: f32, sample_rate: i32) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.83s [INFO] running `Command { std: "docker" "inspect" "9477e5493aae172d5ef15a39e9916c30464e0ab33aa23d8332060f1986468174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9477e5493aae172d5ef15a39e9916c30464e0ab33aa23d8332060f1986468174", kill_on_drop: false }` [INFO] [stdout] 9477e5493aae172d5ef15a39e9916c30464e0ab33aa23d8332060f1986468174