[INFO] updating cached repository https://github.com/weargoggles/netnoise [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7c272fa49ea3d183b275e23ca400e35977857589 [INFO] testing weargoggles/netnoise against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Fnetnoise" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weargoggles/netnoise on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-11/source/Cargo.toml [INFO] crate git repo https://github.com/weargoggles/netnoise already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] ecdbf5802929bc2c9de5945a0f2f202f760862f75c319ec6055bc5dd4ef1c885 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ecdbf5802929bc2c9de5945a0f2f202f760862f75c319ec6055bc5dd4ef1c885"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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 rand v0.3.16 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling num-integer v0.1.35 [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] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (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 item 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: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.55s [INFO] running `"docker" "inspect" "ecdbf5802929bc2c9de5945a0f2f202f760862f75c319ec6055bc5dd4ef1c885"` [INFO] running `"docker" "rm" "-f" "ecdbf5802929bc2c9de5945a0f2f202f760862f75c319ec6055bc5dd4ef1c885"` [INFO] [stdout] ecdbf5802929bc2c9de5945a0f2f202f760862f75c319ec6055bc5dd4ef1c885 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e8e87823576d3729c9247072e13b719bacef8a0fd49803b5fd35745bb55ca628 [INFO] running `"docker" "start" "-a" "e8e87823576d3729c9247072e13b719bacef8a0fd49803b5fd35745bb55ca628"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling netnoise v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (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 item 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: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `"docker" "inspect" "e8e87823576d3729c9247072e13b719bacef8a0fd49803b5fd35745bb55ca628"` [INFO] running `"docker" "rm" "-f" "e8e87823576d3729c9247072e13b719bacef8a0fd49803b5fd35745bb55ca628"` [INFO] [stdout] e8e87823576d3729c9247072e13b719bacef8a0fd49803b5fd35745bb55ca628 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5a9e31847edb701788aa99fae103cc72d2a93914240f54102fbf4069ff1998ae [INFO] running `"docker" "start" "-a" "5a9e31847edb701788aa99fae103cc72d2a93914240f54102fbf4069ff1998ae"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (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 item 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: 16 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/netnoise-ed6bfc941c0ca669 [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "5a9e31847edb701788aa99fae103cc72d2a93914240f54102fbf4069ff1998ae"` [INFO] running `"docker" "rm" "-f" "5a9e31847edb701788aa99fae103cc72d2a93914240f54102fbf4069ff1998ae"` [INFO] [stdout] 5a9e31847edb701788aa99fae103cc72d2a93914240f54102fbf4069ff1998ae