[INFO] cloning repository https://github.com/vitobasso/rust-synth [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vitobasso/rust-synth" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitobasso%2Frust-synth", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitobasso%2Frust-synth'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b7561a9515b2c2ef8d47d282fe8cf147c456f797 [INFO] testing vitobasso/rust-synth against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvitobasso%2Frust-synth" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vitobasso/rust-synth on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vitobasso/rust-synth [INFO] finished tweaking git repo https://github.com/vitobasso/rust-synth [INFO] tweaked toml for git repo https://github.com/vitobasso/rust-synth written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/vitobasso/rust-synth already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 505d8994fb178fc548ebaf552dda91ea5dc8964f7cfe98a740b5fc12a612eb32 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "505d8994fb178fc548ebaf552dda91ea5dc8964f7cfe98a740b5fc12a612eb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "505d8994fb178fc548ebaf552dda91ea5dc8964f7cfe98a740b5fc12a612eb32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "505d8994fb178fc548ebaf552dda91ea5dc8964f7cfe98a740b5fc12a612eb32", kill_on_drop: false }` [INFO] [stdout] 505d8994fb178fc548ebaf552dda91ea5dc8964f7cfe98a740b5fc12a612eb32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b78f1a8ce4ac5b0defae684a5cbd113f635e84431cb8e0a53554ef3e8e3bf6ad [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b78f1a8ce4ac5b0defae684a5cbd113f635e84431cb8e0a53554ef3e8e3bf6ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling proc-macro2 v0.4.21 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num-derive v0.2.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling piston-float v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling stb_truetype v0.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling piston-viewport v0.3.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling smallvec v0.6.5 [INFO] [stderr] Compiling lock_api v0.1.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling daggy v0.5.0 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling tempfile v3.0.4 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rusttype v0.5.2 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-commons v0.20.12 [INFO] [stderr] Compiling glutin v0.17.0 [INFO] [stderr] Compiling glium v0.22.0 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling smithay-client-toolkit v0.2.6 [INFO] [stderr] Compiling winit v0.16.2 [INFO] [stderr] Compiling conrod_derive v0.1.2 [INFO] [stderr] Compiling rimd v0.0.2 (https://github.com/RustAudio/rimd.git#6e623dbc) [INFO] [stderr] Compiling pistoncore-input v0.21.0 [INFO] [stderr] Compiling conrod v0.61.1 [INFO] [stderr] Compiling rust-synth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (f0 * a.powf(n as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/oscillator.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | (((clock + phase) * freq) % 1.) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/envelope.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | (elapsed / self.attack) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/lfo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/core/control/song.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | end: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (f0 * a.powf(n as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/oscillator.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | (((clock + phase) * freq) % 1.) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/envelope.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | (elapsed / self.attack) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/lfo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/core/control/song.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | end: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "b78f1a8ce4ac5b0defae684a5cbd113f635e84431cb8e0a53554ef3e8e3bf6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b78f1a8ce4ac5b0defae684a5cbd113f635e84431cb8e0a53554ef3e8e3bf6ad", kill_on_drop: false }` [INFO] [stdout] b78f1a8ce4ac5b0defae684a5cbd113f635e84431cb8e0a53554ef3e8e3bf6ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daba30f2a863e217526867d78e6e9b759c48b502d8b44e43353d5b04c06cff81 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "daba30f2a863e217526867d78e6e9b759c48b502d8b44e43353d5b04c06cff81", kill_on_drop: false }` [INFO] [stderr] Compiling rust-synth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (f0 * a.powf(n as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/oscillator.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | (((clock + phase) * freq) % 1.) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/envelope.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | (elapsed / self.attack) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/lfo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/core/control/song.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | end: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (f0 * a.powf(n as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/oscillator.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | (((clock + phase) * freq) % 1.) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/envelope.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | (elapsed / self.attack) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | (f0 * a.powf(n as f64)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/oscillator.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | (((clock + phase) * freq) % 1.) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/core/synth/envelope.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | (elapsed / self.attack) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/lfo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stdout] | ^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/instrument.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/synth/lfo.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/core/control/song.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | end: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:15:66 [INFO] [stdout] | [INFO] [stdout] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| panic!(e)); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| panic!("{}", e)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/core/control/song.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | end: Instant, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.60s [INFO] running `Command { std: "docker" "inspect" "daba30f2a863e217526867d78e6e9b759c48b502d8b44e43353d5b04c06cff81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daba30f2a863e217526867d78e6e9b759c48b502d8b44e43353d5b04c06cff81", kill_on_drop: false }` [INFO] [stdout] daba30f2a863e217526867d78e6e9b759c48b502d8b44e43353d5b04c06cff81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b76e05f13f62ecbdd6769b387efcc57ac1fb8be495bea2b9ad2a993b61c4ad53 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b76e05f13f62ecbdd6769b387efcc57ac1fb8be495bea2b9ad2a993b61c4ad53", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | (f0 * a.powf(n as f64)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/synth/oscillator.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | (((clock + phase) * freq) % 1.) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/synth/envelope.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | (elapsed / self.attack) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stderr] | ^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:102:27 [INFO] [stderr] | [INFO] [stderr] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/lfo.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/core/control/song.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | end: Instant, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | (f0 * a.powf(n as f64)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/synth/oscillator.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | (((clock + phase) * freq) % 1.) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/synth/envelope.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | (elapsed / self.attack) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stderr] | ^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:102:27 [INFO] [stderr] | [INFO] [stderr] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/lfo.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/core/control/song.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | end: Instant, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/music_theory/pitch.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | (f0 * a.powf(n as f64)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/synth/oscillator.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | (((clock + phase) * freq) % 1.) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/core/synth/envelope.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | (elapsed / self.attack) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:47:25 [INFO] [stderr] | [INFO] [stderr] 47 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:48:21 [INFO] [stderr] | [INFO] [stderr] 48 | filter: Filter::new(specs.filter, sample_rate), [INFO] [stderr] | ^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/instrument.rs:102:27 [INFO] [stderr] | [INFO] [stderr] 102 | self.oscillator = Oscillator::new(specs) [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/core/synth/lfo.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | oscillator: Oscillator::new(specs.oscillator), [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end` [INFO] [stderr] --> src/core/control/song.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 108 | end: Instant, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:15:66 [INFO] [stderr] | [INFO] [stderr] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| panic!(e)); [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| panic!("{}", e)); [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 15 | let out = audio::Out::initialize().unwrap_or_else(|e| std::panic::panic_any(e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 9 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_synth-40bc8abbe774db5a) [INFO] [stdout] running 28 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_synth-c6ce247db197d8f2) [INFO] [stdout] test core::control::pulse::tests::read_in_time ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::circle_of_fifths ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::scale_degree_to_pitch ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::pitch_class_to_scale_degree ... ok [INFO] [stdout] test core::music_theory::pitch::tests::should_convert_index_to_pitch ... ok [INFO] [stdout] test core::music_theory::pitch::tests::should_convert_pitch_to_freq ... ok [INFO] [stdout] test core::synth::envelope::tests::attack ... ok [INFO] [stdout] test core::synth::envelope::tests::decay ... ok [INFO] [stdout] test core::synth::envelope::tests::release_before_decay ... ok [INFO] [stdout] test core::synth::envelope::tests::sustain ... ok [INFO] [stdout] test core::synth::modulated::tests::base_at_half ... ok [INFO] [stdout] test core::synth::modulated::tests::out_of_bounds ... ok [INFO] [stdout] test core::synth::modulated::tests::up_and_down ... ok [INFO] [stdout] test util::range_map::tests::beginning ... ok [INFO] [stdout] test util::range_map::tests::end ... ok [INFO] [stdout] test util::range_map::tests::overlapping ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::transpose_class_to ... ok [INFO] [stdout] test core::control::pulse::tests::read_too_early ... ok [INFO] [stdout] test core::synth::envelope::tests::release ... ok [INFO] [stdout] test core::synth::modulated::tests::negative_min ... ok [INFO] [stdout] test util::range_map::tests::wrapping ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::transpose_to ... ok [INFO] [stdout] test util::range_map::tests::extrapolating ... ok [INFO] [stdout] test core::control::pulse::tests::read_too_late ... ok [INFO] [stdout] test util::range_map::tests::whole ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::scale_degree_to_pitch_class ... ok [INFO] [stdout] test util::range_map::tests::out_of_bounds ... ok [INFO] [stdout] test util::range_map::tests::middle ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test core::control::pulse::tests::read_too_late ... ok [INFO] [stdout] test core::control::pulse::tests::read_too_early ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::circle_of_fifths ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::transpose_class_to ... ok [INFO] [stdout] test core::control::pulse::tests::read_in_time ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::pitch_class_to_scale_degree ... ok [INFO] [stdout] test core::synth::modulated::tests::negative_min ... ok [INFO] [stdout] test core::synth::envelope::tests::release ... ok [INFO] [stdout] test core::synth::modulated::tests::up_and_down ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::scale_degree_to_pitch ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::scale_degree_to_pitch_class ... ok [INFO] [stdout] test core::synth::modulated::tests::out_of_bounds ... ok [INFO] [stdout] test core::music_theory::pitch::tests::should_convert_pitch_to_freq ... ok [INFO] [stdout] test core::music_theory::diatonic_scale::tests::transpose_to ... ok [INFO] [stdout] test core::synth::envelope::tests::release_before_decay ... ok [INFO] [stdout] test core::music_theory::pitch::tests::should_convert_index_to_pitch ... ok [INFO] [stdout] test core::synth::envelope::tests::attack ... ok [INFO] [stdout] test core::synth::envelope::tests::sustain ... ok [INFO] [stdout] test core::synth::modulated::tests::base_at_half ... ok [INFO] [stdout] test core::synth::envelope::tests::decay ... ok [INFO] [stdout] test util::range_map::tests::middle ... ok [INFO] [stdout] test util::range_map::tests::out_of_bounds ... ok [INFO] [stderr] Doc-tests rust-synth [INFO] [stdout] test util::range_map::tests::overlapping ... ok [INFO] [stdout] test util::range_map::tests::wrapping ... ok [INFO] [stdout] test util::range_map::tests::extrapolating ... ok [INFO] [stdout] test util::range_map::tests::beginning ... ok [INFO] [stdout] test util::range_map::tests::end ... ok [INFO] [stdout] test util::range_map::tests::whole ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/core/music_theory/pitch.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | (f0 * a.powf(n as f64)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/core/synth/oscillator.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | (((clock + phase) * freq) % 1.) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> /opt/rustwide/workdir/src/core/synth/envelope.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | (elapsed / self.attack) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [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" "b76e05f13f62ecbdd6769b387efcc57ac1fb8be495bea2b9ad2a993b61c4ad53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b76e05f13f62ecbdd6769b387efcc57ac1fb8be495bea2b9ad2a993b61c4ad53", kill_on_drop: false }` [INFO] [stdout] b76e05f13f62ecbdd6769b387efcc57ac1fb8be495bea2b9ad2a993b61c4ad53