[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] testing weargoggles/netnoise against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Fnetnoise" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weargoggles/netnoise on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cea27d61e30be9ac9dd41eaed6b3e84f93e7c89113da64483137eb3f37b61a1f [INFO] running `Command { std: "docker" "start" "-a" "cea27d61e30be9ac9dd41eaed6b3e84f93e7c89113da64483137eb3f37b61a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cea27d61e30be9ac9dd41eaed6b3e84f93e7c89113da64483137eb3f37b61a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea27d61e30be9ac9dd41eaed6b3e84f93e7c89113da64483137eb3f37b61a1f", kill_on_drop: false }` [INFO] [stdout] cea27d61e30be9ac9dd41eaed6b3e84f93e7c89113da64483137eb3f37b61a1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf37c2e56d102ee8c2a6e2ad128bb37ad7a59c3a7e6c19e2cdc7b98237e4e3d [INFO] running `Command { std: "docker" "start" "-a" "cdf37c2e56d102ee8c2a6e2ad128bb37ad7a59c3a7e6c19e2cdc7b98237e4e3d", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.30 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Compiling lazy_static v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling rand v0.3.16 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling sdl2 v0.30.0 [INFO] [stderr] Compiling netnoise v0.1.0 (/opt/rustwide/workdir) [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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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` (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` (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` (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` (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` (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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: `#[warn(unused_variables)]` 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] [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: constant is never used: `DECAY` [INFO] [stdout] --> src/synth.rs:4:1 [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 is never used: `gen_wave` [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.59s [INFO] running `Command { std: "docker" "inspect" "cdf37c2e56d102ee8c2a6e2ad128bb37ad7a59c3a7e6c19e2cdc7b98237e4e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf37c2e56d102ee8c2a6e2ad128bb37ad7a59c3a7e6c19e2cdc7b98237e4e3d", kill_on_drop: false }` [INFO] [stdout] cdf37c2e56d102ee8c2a6e2ad128bb37ad7a59c3a7e6c19e2cdc7b98237e4e3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50da0d1d6aef6225572f44ef4511a3739bcee0b72911b3201326cad337c14e38 [INFO] running `Command { std: "docker" "start" "-a" "50da0d1d6aef6225572f44ef4511a3739bcee0b72911b3201326cad337c14e38", kill_on_drop: false }` [INFO] [stderr] Compiling netnoise v0.1.0 (/opt/rustwide/workdir) [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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (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` (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` (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` (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` (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` (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` (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` (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` (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` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: `#[warn(unused_variables)]` 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] [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: constant is never used: `DECAY` [INFO] [stdout] --> src/synth.rs:4:1 [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 is never used: `gen_wave` [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/netnoise-d84c03b7941cac9f) [INFO] running `Command { std: "docker" "inspect" "50da0d1d6aef6225572f44ef4511a3739bcee0b72911b3201326cad337c14e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50da0d1d6aef6225572f44ef4511a3739bcee0b72911b3201326cad337c14e38", kill_on_drop: false }` [INFO] [stdout] 50da0d1d6aef6225572f44ef4511a3739bcee0b72911b3201326cad337c14e38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6df64fc3a121c61c5b12fcdb99788781f6b9b9a8e6e80908faafbb33f773c666 [INFO] running `Command { std: "docker" "start" "-a" "6df64fc3a121c61c5b12fcdb99788781f6b9b9a8e6e80908faafbb33f773c666", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:17:26 [INFO] [stderr] | [INFO] [stderr] 17 | const QUANTIZE_NS: u64 = (1000000000 / (SAMPLE_RATE as u64)); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 17 - const QUANTIZE_NS: u64 = (1000000000 / (SAMPLE_RATE as u64)); [INFO] [stderr] 17 + const QUANTIZE_NS: u64 = 1000000000 / (SAMPLE_RATE as u64); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/music.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stderr] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stderr] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stderr] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/music.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / lazy_static! { [INFO] [stderr] 5 | | pub static ref IONIAN: Vec = vec![2, 2, 1, 2, 2, 2, 1]; [INFO] [stderr] 6 | | pub static ref HARMONIC_MAJOR: Vec = vec![2, 2, 1, 2, 1, 2, 1]; [INFO] [stderr] 7 | | pub static ref AEOLIAN: Vec = vec![2, 1, 2, 2, 1, 2, 2]; [INFO] [stderr] 8 | | pub static ref PHRYGIAN_DOMINANT: Vec = vec![1, 3, 1, 2, 1, 2, 2]; [INFO] [stderr] 9 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/music.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / lazy_static! { [INFO] [stderr] 13 | | static ref A: f32 = (2.0 as f32).powf(1.0/12.0); [INFO] [stderr] 14 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `spec` [INFO] [stderr] --> src/main.rs:106:70 [INFO] [stderr] | [INFO] [stderr] 106 | let device = audio_subsystem.open_playback(None, &desired_spec, |spec| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_spec` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:128:17 [INFO] [stderr] | [INFO] [stderr] 128 | Err(e) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/music.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | let mut scale = vec![tonic]; // in G [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `DECAY` [INFO] [stderr] --> src/synth.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | const DECAY: f32 = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_wave` [INFO] [stderr] --> src/synth.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn gen_wave(samples_to_write: i32, frequency: f32, sample_rate: i32) -> Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `netnoise` (bin "netnoise" test) generated 16 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/netnoise-d84c03b7941cac9f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6df64fc3a121c61c5b12fcdb99788781f6b9b9a8e6e80908faafbb33f773c666", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6df64fc3a121c61c5b12fcdb99788781f6b9b9a8e6e80908faafbb33f773c666", kill_on_drop: false }` [INFO] [stdout] 6df64fc3a121c61c5b12fcdb99788781f6b9b9a8e6e80908faafbb33f773c666