[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 1.59.0 for beta-1.60-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 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25ba962c896c9dcaf1b6137b07e56857a48c44804663b0e45a4cff0375fe65ae [INFO] running `Command { std: "docker" "start" "-a" "25ba962c896c9dcaf1b6137b07e56857a48c44804663b0e45a4cff0375fe65ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25ba962c896c9dcaf1b6137b07e56857a48c44804663b0e45a4cff0375fe65ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25ba962c896c9dcaf1b6137b07e56857a48c44804663b0e45a4cff0375fe65ae", kill_on_drop: false }` [INFO] [stdout] 25ba962c896c9dcaf1b6137b07e56857a48c44804663b0e45a4cff0375fe65ae [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32119d24f275cc6ad4a321e725fa0efa060798d27439974664361ed3f5c2b851 [INFO] running `Command { std: "docker" "start" "-a" "32119d24f275cc6ad4a321e725fa0efa060798d27439974664361ed3f5c2b851", 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 bitflags v0.7.0 [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 5.44s [INFO] running `Command { std: "docker" "inspect" "32119d24f275cc6ad4a321e725fa0efa060798d27439974664361ed3f5c2b851", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32119d24f275cc6ad4a321e725fa0efa060798d27439974664361ed3f5c2b851", kill_on_drop: false }` [INFO] [stdout] 32119d24f275cc6ad4a321e725fa0efa060798d27439974664361ed3f5c2b851 [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b41e51a44dff3aa1cb1ddb4527b34a22d2f34c4109e06e36101a29308ec70ad1 [INFO] running `Command { std: "docker" "start" "-a" "b41e51a44dff3aa1cb1ddb4527b34a22d2f34c4109e06e36101a29308ec70ad1", 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.39s [INFO] running `Command { std: "docker" "inspect" "b41e51a44dff3aa1cb1ddb4527b34a22d2f34c4109e06e36101a29308ec70ad1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41e51a44dff3aa1cb1ddb4527b34a22d2f34c4109e06e36101a29308ec70ad1", kill_on_drop: false }` [INFO] [stdout] b41e51a44dff3aa1cb1ddb4527b34a22d2f34c4109e06e36101a29308ec70ad1 [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d64cce1a3768ebea601839a534741f8e9d671467eb6aa4a557d90535ad19d71c [INFO] running `Command { std: "docker" "start" "-a" "d64cce1a3768ebea601839a534741f8e9d671467eb6aa4a557d90535ad19d71c", 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.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/netnoise-d1130b5aa319394b) [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" "d64cce1a3768ebea601839a534741f8e9d671467eb6aa4a557d90535ad19d71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64cce1a3768ebea601839a534741f8e9d671467eb6aa4a557d90535ad19d71c", kill_on_drop: false }` [INFO] [stdout] d64cce1a3768ebea601839a534741f8e9d671467eb6aa4a557d90535ad19d71c