[INFO] fetching crate scaleless_music 0.0.8... [INFO] testing scaleless_music-0.0.8 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate scaleless_music 0.0.8 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate scaleless_music 0.0.8 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate scaleless_music 0.0.8 [INFO] finished tweaking crates.io crate scaleless_music 0.0.8 [INFO] tweaked toml for crates.io crate scaleless_music 0.0.8 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f99c118c137f6134139d87a54b05cb3d5fb2edbfb80a31b166176b93e191c9d [INFO] running `Command { std: "docker" "start" "-a" "3f99c118c137f6134139d87a54b05cb3d5fb2edbfb80a31b166176b93e191c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f99c118c137f6134139d87a54b05cb3d5fb2edbfb80a31b166176b93e191c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f99c118c137f6134139d87a54b05cb3d5fb2edbfb80a31b166176b93e191c9d", kill_on_drop: false }` [INFO] [stdout] 3f99c118c137f6134139d87a54b05cb3d5fb2edbfb80a31b166176b93e191c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07930c1f3efb1e8442db2cfddeccbb468429cd44fa8b3e47147c6a6ea347e89c [INFO] running `Command { std: "docker" "start" "-a" "07930c1f3efb1e8442db2cfddeccbb468429cd44fa8b3e47147c6a6ea347e89c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling scaleless_music v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound/progress.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let timer = try!(Timer::new(sample_rate)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | #![deny(deprecated, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/sound/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | Ok((1.0 / sample_rate)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | unused_comparisons, unused_features, unused_parens, while_true)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - Ok((1.0 / sample_rate)) [INFO] [stdout] 114 + Ok(1.0 / sample_rate) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | sound_fade_out: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 - sound_fade_out: Rc, [INFO] [stdout] 309 + sound_fade_out: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | sound_fade_in: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - sound_fade_in: Rc, [INFO] [stdout] 310 + sound_fade_in: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | amp_funct_array: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 489 - amp_funct_array: Vec>, [INFO] [stdout] 489 + amp_funct_array: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude_overtones.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | amplitudes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 - amplitudes: Vec>, [INFO] [stdout] 308 + amplitudes: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | amplitude_overtones: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - amplitude_overtones: Rc, [INFO] [stdout] 67 + amplitude_overtones: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - sound: Rc, [INFO] [stdout] 161 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/note.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - sound: Rc, [INFO] [stdout] 20 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/errors.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 111 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude.rs:507:41 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 507 - pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] 507 + pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | amplitude_overtones: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - amplitude_overtones: Rc, [INFO] [stdout] 76 + amplitude_overtones: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | amplitude_overtones: Rc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - amplitude_overtones: Rc) [INFO] [stdout] 102 + amplitude_overtones: Rc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - sound: Rc, [INFO] [stdout] 189 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | sound_fade_out: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 - sound_fade_out: Rc, [INFO] [stdout] 324 + sound_fade_out: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | sound_fade_in: Rc) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - sound_fade_in: Rc) [INFO] [stdout] 325 + sound_fade_in: Rc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sound/errors.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sound/amplitude_overtones.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut amplitude_overtone = &mut amplitude[overtone]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | unknown_lints, unsafe_code, unused, unused_allocation, unused_attributes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_mut)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/frequency.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] note: `Vibrato` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/frequency.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `note_value` [INFO] [stdout] --> src/sound/frequency.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | note_value: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vibrato` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/frequency.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/amplitude.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeDecayExp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/amplitude_overtones.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeDecayExpOvertones` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude_overtones.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amplitude_index` [INFO] [stdout] --> src/sound/amplitude_overtones.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | amplitude_index: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeOvertonesSequence` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude_overtones.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 305 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `overtone_max` [INFO] [stdout] --> src/sound/wave.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | overtone_max: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Timbre` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/wave.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/sound/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | interval: Interval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `onset_time` [INFO] [stdout] --> src/sound/note.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | onset_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sustain` [INFO] [stdout] --> src/sound/note.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sustain: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `duration` [INFO] [stdout] --> src/sound/note.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | duration: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tempo` [INFO] [stdout] --> src/sound/note.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tempo: Tempo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sound` [INFO] [stdout] --> src/sound/note.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency_buffer` [INFO] [stdout] --> src/sound/note.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | frequency_buffer: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wave_buffer` [INFO] [stdout] --> src/sound/note.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | wave_buffer: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_size` [INFO] [stdout] --> src/sound/note.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NoteSequence` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 29s [INFO] running `Command { std: "docker" "inspect" "07930c1f3efb1e8442db2cfddeccbb468429cd44fa8b3e47147c6a6ea347e89c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07930c1f3efb1e8442db2cfddeccbb468429cd44fa8b3e47147c6a6ea347e89c", kill_on_drop: false }` [INFO] [stdout] 07930c1f3efb1e8442db2cfddeccbb468429cd44fa8b3e47147c6a6ea347e89c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15a40c38dd07006a2fea359dc0c63f23a071e2045b9e4355215b09e2c5c26738 [INFO] running `Command { std: "docker" "start" "-a" "15a40c38dd07006a2fea359dc0c63f23a071e2045b9e4355215b09e2c5c26738", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling piston-float v0.2.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling shader_version v0.2.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling piston-texture v0.5.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling interpolation v0.1.0 [INFO] [stderr] Compiling read_color v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound/progress.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let timer = try!(Timer::new(sample_rate)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | #![deny(deprecated, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/sound/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | Ok((1.0 / sample_rate)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | unused_comparisons, unused_features, unused_parens, while_true)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - Ok((1.0 / sample_rate)) [INFO] [stdout] 114 + Ok(1.0 / sample_rate) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | sound_fade_out: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 - sound_fade_out: Rc, [INFO] [stdout] 309 + sound_fade_out: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | sound_fade_in: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - sound_fade_in: Rc, [INFO] [stdout] 310 + sound_fade_in: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | amp_funct_array: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 489 - amp_funct_array: Vec>, [INFO] [stdout] 489 + amp_funct_array: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude_overtones.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | amplitudes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 - amplitudes: Vec>, [INFO] [stdout] 308 + amplitudes: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | amplitude_overtones: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - amplitude_overtones: Rc, [INFO] [stdout] 67 + amplitude_overtones: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - sound: Rc, [INFO] [stdout] 161 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/note.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - sound: Rc, [INFO] [stdout] 20 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/errors.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 111 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude.rs:507:41 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 507 - pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] 507 + pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | amplitude_overtones: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - amplitude_overtones: Rc, [INFO] [stdout] 76 + amplitude_overtones: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | amplitude_overtones: Rc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - amplitude_overtones: Rc) [INFO] [stdout] 102 + amplitude_overtones: Rc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - sound: Rc, [INFO] [stdout] 189 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | sound_fade_out: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 - sound_fade_out: Rc, [INFO] [stdout] 324 + sound_fade_out: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | sound_fade_in: Rc) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - sound_fade_in: Rc) [INFO] [stdout] 325 + sound_fade_in: Rc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sound/errors.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sound/amplitude_overtones.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut amplitude_overtone = &mut amplitude[overtone]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | unknown_lints, unsafe_code, unused, unused_allocation, unused_attributes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_mut)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/frequency.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] note: `Vibrato` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/frequency.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `note_value` [INFO] [stdout] --> src/sound/frequency.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | note_value: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vibrato` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/frequency.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/amplitude.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeDecayExp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/amplitude_overtones.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeDecayExpOvertones` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude_overtones.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amplitude_index` [INFO] [stdout] --> src/sound/amplitude_overtones.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | amplitude_index: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeOvertonesSequence` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude_overtones.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 305 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `overtone_max` [INFO] [stdout] --> src/sound/wave.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | overtone_max: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Timbre` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/wave.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/sound/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | interval: Interval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `onset_time` [INFO] [stdout] --> src/sound/note.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | onset_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sustain` [INFO] [stdout] --> src/sound/note.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sustain: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `duration` [INFO] [stdout] --> src/sound/note.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | duration: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tempo` [INFO] [stdout] --> src/sound/note.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tempo: Tempo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sound` [INFO] [stdout] --> src/sound/note.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency_buffer` [INFO] [stdout] --> src/sound/note.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | frequency_buffer: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wave_buffer` [INFO] [stdout] --> src/sound/note.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | wave_buffer: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_size` [INFO] [stdout] --> src/sound/note.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NoteSequence` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling draw_state v0.6.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling piston-viewport v0.2.0 [INFO] [stderr] Compiling vecmath v0.2.0 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling petgraph v0.2.10 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling memmap v0.2.3 [INFO] [stderr] Compiling pistoncore-input v0.14.0 [INFO] [stderr] Compiling piston2d-graphics v0.19.0 [INFO] [stderr] Compiling daggy v0.4.1 [INFO] [stderr] Compiling stb_truetype v0.2.8 [INFO] [stderr] Compiling flate2 v0.2.20 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling gfx_core v0.4.0 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling rusttype v0.2.4 [INFO] [stderr] Compiling png v0.5.2 [INFO] [stderr] Compiling gfx v0.12.2 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling pistoncore-window v0.23.0 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling pistoncore-event_loop v0.26.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling piston v0.26.0 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.10.4 [INFO] [stderr] Compiling gfx_device_gl v0.11.2 [INFO] [stderr] Compiling piston-gfx_texture v0.18.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.33.2 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.7.8 [INFO] [stderr] Compiling wayland-sys v0.5.11 [INFO] [stderr] Compiling wayland-kbd v0.3.6 [INFO] [stderr] Compiling wayland-window v0.2.3 [INFO] [stderr] Compiling wayland-kbd v0.6.3 [INFO] [stderr] Compiling wayland-window v0.4.4 [INFO] [stderr] Compiling winit v0.5.11 [INFO] [stderr] Compiling pistoncore-glutin_window v0.31.0 [INFO] [stderr] Compiling piston_window v0.57.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.32.0 [INFO] [stderr] Compiling conrod v0.46.2 [INFO] [stderr] Compiling scaleless_music v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow` [INFO] [stdout] --> src/lib.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | #![forbid(bad_style, exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired [INFO] [stdout] --> src/lib.rs:27:57 [INFO] [stdout] | [INFO] [stdout] 27 | non_shorthand_field_patterns, overflowing_literals, plugin_as_library, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported [INFO] [stdout] --> src/lib.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported [INFO] [stdout] --> src/lib.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | private_no_mangle_fns, private_no_mangle_statics, stable_features, unconditional_recursion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sound/progress.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | let timer = try!(Timer::new(sample_rate)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | #![deny(deprecated, improper_ctypes, missing_docs, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/sound/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | Ok((1.0 / sample_rate)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:30:42 [INFO] [stdout] | [INFO] [stdout] 30 | unused_comparisons, unused_features, unused_parens, while_true)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - Ok((1.0 / sample_rate)) [INFO] [stdout] 114 + Ok(1.0 / sample_rate) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoundInterface` [INFO] [stdout] --> examples/instrument1.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | let mut sound = SoundInterface::new(48000, BUFFER_SIZE_DEFAULT, 2, sound_generator) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SoundInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SoundInterface` [INFO] [stdout] --> examples/instrument_overtone.rs:138:21 [INFO] [stdout] | [INFO] [stdout] 138 | let mut sound = SoundInterface::new(48000, BUFFER_SIZE_DEFAULT, 2, sound_generator) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SoundInterface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/instrument1.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> examples/instrument_overtone.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:309:24 [INFO] [stdout] | [INFO] [stdout] 309 | sound_fade_out: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 309 - sound_fade_out: Rc, [INFO] [stdout] 309 + sound_fade_out: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:310:23 [INFO] [stdout] | [INFO] [stdout] 310 | sound_fade_in: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 310 - sound_fade_in: Rc, [INFO] [stdout] 310 + sound_fade_in: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | amp_funct_array: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 489 - amp_funct_array: Vec>, [INFO] [stdout] 489 + amp_funct_array: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude_overtones.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | amplitudes: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 308 - amplitudes: Vec>, [INFO] [stdout] 308 + amplitudes: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | amplitude_overtones: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - amplitude_overtones: Rc, [INFO] [stdout] 67 + amplitude_overtones: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 161 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - sound: Rc, [INFO] [stdout] 161 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/note.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - sound: Rc, [INFO] [stdout] 20 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/errors.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 - fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] 111 + fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/amplitude.rs:507:41 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 507 - pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] 507 + pub fn add(&mut self, amplitude: Rc) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:76:40 [INFO] [stdout] | [INFO] [stdout] 76 | amplitude_overtones: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 76 - amplitude_overtones: Rc, [INFO] [stdout] 76 + amplitude_overtones: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | amplitude_overtones: Rc) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - amplitude_overtones: Rc) [INFO] [stdout] 102 + amplitude_overtones: Rc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 189 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 189 - sound: Rc, [INFO] [stdout] 189 + sound: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:324:35 [INFO] [stdout] | [INFO] [stdout] 324 | sound_fade_out: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 324 - sound_fade_out: Rc, [INFO] [stdout] 324 + sound_fade_out: Rc, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sound/wave.rs:325:34 [INFO] [stdout] | [INFO] [stdout] 325 | sound_fade_in: Rc) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 325 - sound_fade_in: Rc) [INFO] [stdout] 325 + sound_fade_in: Rc) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scaleless_music` due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/sound/errors.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 74 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scaleless_music` due to 2 previous errors; 1 warning emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sound/amplitude_overtones.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let mut amplitude_overtone = &mut amplitude[overtone]; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | unknown_lints, unsafe_code, unused, unused_allocation, unused_attributes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_mut)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/frequency.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` implied by `#[warn(unused)]` [INFO] [stdout] note: `Vibrato` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/frequency.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `note_value` [INFO] [stdout] --> src/sound/frequency.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | note_value: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Vibrato` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/frequency.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | #[derive(Debug, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/amplitude.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeDecayExp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude.rs:258:10 [INFO] [stdout] | [INFO] [stdout] 258 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sample_time` [INFO] [stdout] --> src/sound/amplitude_overtones.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | sample_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeDecayExpOvertones` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude_overtones.rs:154:10 [INFO] [stdout] | [INFO] [stdout] 154 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amplitude_index` [INFO] [stdout] --> src/sound/amplitude_overtones.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | amplitude_index: Cell, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `AmplitudeOvertonesSequence` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/amplitude_overtones.rs:305:10 [INFO] [stdout] | [INFO] [stdout] 305 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `overtone_max` [INFO] [stdout] --> src/sound/wave.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | overtone_max: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Timbre` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/wave.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/sound/note.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | interval: Interval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `onset_time` [INFO] [stdout] --> src/sound/note.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | onset_time: SampleCalc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sustain` [INFO] [stdout] --> src/sound/note.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sustain: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `duration` [INFO] [stdout] --> src/sound/note.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | duration: NoteValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tempo` [INFO] [stdout] --> src/sound/note.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | tempo: Tempo, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sound` [INFO] [stdout] --> src/sound/note.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | sound: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frequency_buffer` [INFO] [stdout] --> src/sound/note.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | frequency_buffer: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wave_buffer` [INFO] [stdout] --> src/sound/note.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | wave_buffer: RefCell>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Note` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `buffer_size` [INFO] [stdout] --> src/sound/note.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | buffer_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `NoteSequence` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/sound/note.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "15a40c38dd07006a2fea359dc0c63f23a071e2045b9e4355215b09e2c5c26738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a40c38dd07006a2fea359dc0c63f23a071e2045b9e4355215b09e2c5c26738", kill_on_drop: false }` [INFO] [stdout] 15a40c38dd07006a2fea359dc0c63f23a071e2045b9e4355215b09e2c5c26738