[INFO] fetching crate scaleless_music 0.0.8... [INFO] checking scaleless_music-0.0.8 against master#2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36 for pr-95819 [INFO] extracting crate scaleless_music 0.0.8 into /workspace/builds/worker-49/source [INFO] validating manifest of crates.io crate scaleless_music 0.0.8 on toolchain 2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "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-49/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston_window v0.57.0 [INFO] [stderr] Downloaded pistoncore-window v0.23.0 [INFO] [stderr] Downloaded image v0.10.4 [INFO] [stderr] Downloaded gfx_core v0.4.0 [INFO] [stderr] Downloaded wayland-client v0.7.8 [INFO] [stderr] Downloaded wayland-scanner v0.7.8 [INFO] [stderr] Downloaded wayland-sys v0.7.8 [INFO] [stderr] Downloaded read_color v0.1.0 [INFO] [stderr] Downloaded piston2d-graphics v0.19.0 [INFO] [stderr] Downloaded draw_state v0.6.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.32.0 [INFO] [stderr] Downloaded winit v0.5.11 [INFO] [stderr] Downloaded petgraph v0.2.10 [INFO] [stderr] Downloaded piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Downloaded pistoncore-event_loop v0.26.0 [INFO] [stderr] Downloaded stb_truetype v0.3.1 [INFO] [stderr] Downloaded piston-texture v0.5.0 [INFO] [stderr] Downloaded byteorder v0.5.3 [INFO] [stderr] Downloaded rusttype v0.2.4 [INFO] [stderr] Downloaded glutin v0.7.4 [INFO] [stderr] Downloaded stb_truetype v0.2.8 [INFO] [stderr] Downloaded wayland-window v0.4.4 [INFO] [stderr] Downloaded piston2d-gfx_graphics v0.33.2 [INFO] [stderr] Downloaded wayland-sys v0.5.11 [INFO] [stderr] Downloaded daggy v0.4.1 [INFO] [stderr] Downloaded wayland-kbd v0.6.3 [INFO] [stderr] Downloaded vecmath v0.2.0 [INFO] [stderr] Downloaded gfx v0.12.2 [INFO] [stderr] Downloaded memmap v0.2.3 [INFO] [stderr] Downloaded wayland-scanner v0.5.11 [INFO] [stderr] Downloaded glutin v0.6.2 [INFO] [stderr] Downloaded wayland-client v0.5.12 [INFO] [stderr] Downloaded wayland-window v0.2.3 [INFO] [stderr] Downloaded png v0.5.2 [INFO] [stderr] Downloaded piston-viewport v0.2.0 [INFO] [stderr] Downloaded interpolation v0.1.0 [INFO] [stderr] Downloaded piston-float v0.2.0 [INFO] [stderr] Downloaded gl v0.6.5 [INFO] [stderr] Downloaded gfx_device_gl v0.11.2 [INFO] [stderr] Downloaded gfx_gl v0.3.1 [INFO] [stderr] Downloaded piston-gfx_texture v0.18.0 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded gl_generator v0.6.1 [INFO] [stderr] Downloaded shader_version v0.2.2 [INFO] [stderr] Downloaded portaudio v0.7.0 [INFO] [stderr] Downloaded pistoncore-glutin_window v0.31.0 [INFO] [stderr] Downloaded rb v0.2.0 [INFO] [stderr] Downloaded pistoncore-input v0.14.0 [INFO] [stderr] Downloaded piston v0.26.0 [INFO] [stderr] Downloaded wayland-kbd v0.3.6 [INFO] [stderr] Downloaded rsoundio v0.1.6 [INFO] [stderr] Downloaded conrod v0.46.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c69580508a372bb108e6e7899e5ce6074106551792dcfa3ce74fba7f851c992c [INFO] running `Command { std: "docker" "start" "-a" "c69580508a372bb108e6e7899e5ce6074106551792dcfa3ce74fba7f851c992c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c69580508a372bb108e6e7899e5ce6074106551792dcfa3ce74fba7f851c992c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c69580508a372bb108e6e7899e5ce6074106551792dcfa3ce74fba7f851c992c", kill_on_drop: false }` [INFO] [stdout] c69580508a372bb108e6e7899e5ce6074106551792dcfa3ce74fba7f851c992c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+2d5a21f63c98f8a1d5f3c3af93bcb0a8af19af36" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b5abdbcb988801d71823136742faf9733ae614f14fcdb926fe9ace1dfc1657a [INFO] running `Command { std: "docker" "start" "-a" "8b5abdbcb988801d71823136742faf9733ae614f14fcdb926fe9ace1dfc1657a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling khronos_api v1.0.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking piston-float v0.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking bitflags v0.6.0 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking shader_version v0.2.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking inflate v0.1.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking piston-texture v0.5.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking read_color v0.1.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking interpolation v0.1.0 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking piston-shaders_graphics2d v0.2.1 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking draw_state v0.6.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Checking piston-viewport v0.2.0 [INFO] [stderr] Checking vecmath v0.2.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking petgraph v0.2.10 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking stb_truetype v0.2.8 [INFO] [stderr] Checking piston2d-graphics v0.19.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling wayland-scanner v0.7.8 [INFO] [stderr] Compiling wayland-scanner v0.5.11 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking gfx_core v0.4.0 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Compiling gl_generator v0.5.5 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Checking daggy v0.4.1 [INFO] [stderr] Compiling wayland-client v0.7.8 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Checking rusttype v0.2.4 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling wayland-client v0.5.12 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking memmap v0.2.3 [INFO] [stderr] Checking flate2 v0.2.20 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking gfx v0.12.2 [INFO] [stderr] Checking pistoncore-input v0.14.0 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking png v0.5.2 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.6.2 [INFO] [stderr] Compiling glutin v0.7.4 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking pistoncore-window v0.23.0 [INFO] [stderr] Checking pistoncore-event_loop v0.26.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking piston v0.26.0 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking 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] error: 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] error: 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] error: 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] error: 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: `#[deny(unused_mut)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scaleless_music` due to 20 previous errors; 18 warnings emitted [INFO] [stdout] error: 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: `#[deny(dead_code)]` implied by `#[deny(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 error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: 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 error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: 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 error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b5abdbcb988801d71823136742faf9733ae614f14fcdb926fe9ace1dfc1657a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b5abdbcb988801d71823136742faf9733ae614f14fcdb926fe9ace1dfc1657a", kill_on_drop: false }` [INFO] [stdout] 8b5abdbcb988801d71823136742faf9733ae614f14fcdb926fe9ace1dfc1657a