[INFO] cloning repository https://github.com/kprevas/midi2spc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kprevas/midi2spc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkprevas%2Fmidi2spc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkprevas%2Fmidi2spc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45b161c30f7d6a3cab96de96cc587d09fe2095a6 [INFO] checking kprevas/midi2spc against master#84ec2633defc5c459c682ac0c45efb41715249df for pr-114586 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkprevas%2Fmidi2spc" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kprevas/midi2spc on toolchain 84ec2633defc5c459c682ac0c45efb41715249df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84ec2633defc5c459c682ac0c45efb41715249df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kprevas/midi2spc [INFO] finished tweaking git repo https://github.com/kprevas/midi2spc [INFO] tweaked toml for git repo https://github.com/kprevas/midi2spc written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kprevas/midi2spc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84ec2633defc5c459c682ac0c45efb41715249df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fuchsia-cprng v0.1.0 [INFO] [stderr] Downloaded syn v0.15.24 [INFO] [stderr] Downloaded serde_json v1.0.35 [INFO] [stderr] Downloaded ghakuf v0.5.1 [INFO] [stderr] Downloaded rand_jitter v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+84ec2633defc5c459c682ac0c45efb41715249df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c07f2903562edf62c0b58b9a101c48bcb1b89f2c19c3f60d96d0821aaa16c0 [INFO] running `Command { std: "docker" "start" "-a" "84c07f2903562edf62c0b58b9a101c48bcb1b89f2c19c3f60d96d0821aaa16c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c07f2903562edf62c0b58b9a101c48bcb1b89f2c19c3f60d96d0821aaa16c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c07f2903562edf62c0b58b9a101c48bcb1b89f2c19c3f60d96d0821aaa16c0", kill_on_drop: false }` [INFO] [stdout] 84c07f2903562edf62c0b58b9a101c48bcb1b89f2c19c3f60d96d0821aaa16c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:84cb280c7acaf12c1f874411053406050a24f846e52f817d4d9e64bcbe5ce959" "/opt/rustwide/cargo-home/bin/cargo" "+84ec2633defc5c459c682ac0c45efb41715249df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e7e2e39387908ce66be49da9a95fbd1c16d2f4ea74484187de31656cd6f781e [INFO] running `Command { std: "docker" "start" "-a" "9e7e2e39387908ce66be49da9a95fbd1c16d2f4ea74484187de31656cd6f781e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking ghakuf v0.5.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Checking pbr v1.0.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Checking serde_json v1.0.35 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking midi2spc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | fn converter(optimize: bool, verbose: bool) -> Box Result> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | fn converter(optimize: bool, verbose: bool) -> Box Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | fn converter(optimize: bool, verbose: bool) -> Box Result> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 | fn converter(optimize: bool, verbose: bool) -> Box Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | converter: &Fn(&Path, f32) -> Result, [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 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | converter: &Fn(&Path, f32) -> Result, [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] 134 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | converter: &Fn(&Path, f32) -> Result, [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] 406 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | converter: &Fn(&Path, f32) -> Result, [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 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | converter: &Fn(&Path, f32) -> Result, [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] 423 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | converter: &Fn(&Path, f32) -> Result, [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] 134 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | converter: &Fn(&Path, f32) -> Result, [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] 406 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rom/mod.rs:423:17 [INFO] [stdout] | [INFO] [stdout] 423 | converter: &Fn(&Path, f32) -> Result, [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] 423 | converter: &dyn Fn(&Path, f32) -> Result, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/midi/mod.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | for (i, mut channel) in &mut self.channels.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/midi/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut intervals = &mut channel.intervals; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/midi/mod.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | for (i, mut channel) in &mut self.channels.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/midi/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut intervals = &mut channel.intervals; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel` is never read [INFO] [stdout] --> src/midi/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct VoiceInterval { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | channel: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceInterval` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel` is never read [INFO] [stdout] --> src/midi/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | struct VoiceInterval { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | channel: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceInterval` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.79s [INFO] running `Command { std: "docker" "inspect" "9e7e2e39387908ce66be49da9a95fbd1c16d2f4ea74484187de31656cd6f781e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7e2e39387908ce66be49da9a95fbd1c16d2f4ea74484187de31656cd6f781e", kill_on_drop: false }` [INFO] [stdout] 9e7e2e39387908ce66be49da9a95fbd1c16d2f4ea74484187de31656cd6f781e