[INFO] cloning repository https://github.com/decentninja/Cheatstrument
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/decentninja/Cheatstrument" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2FCheatstrument", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2FCheatstrument'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 044ef2a5ff53f0dc71eca891365f7c6109dec5b5
[INFO] checking decentninja/Cheatstrument against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2FCheatstrument" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/decentninja/Cheatstrument
[INFO] finished tweaking git repo https://github.com/decentninja/Cheatstrument
[INFO] tweaked toml for git repo https://github.com/decentninja/Cheatstrument written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/decentninja/Cheatstrument on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/decentninja/Cheatstrument 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fb9fc112959730d686ad58d36177e8c8849411675867bd6791b7bd29ac831ef
[INFO] running `Command { std: "docker" "start" "-a" "0fb9fc112959730d686ad58d36177e8c8849411675867bd6791b7bd29ac831ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fb9fc112959730d686ad58d36177e8c8849411675867bd6791b7bd29ac831ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fb9fc112959730d686ad58d36177e8c8849411675867bd6791b7bd29ac831ef", kill_on_drop: false }`
[INFO] [stdout] 0fb9fc112959730d686ad58d36177e8c8849411675867bd6791b7bd29ac831ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3bca19961ef5f8c93c87a9d37a1a84c52a70559e2fec91851e13277f83310eb7
[INFO] running `Command { std: "docker" "start" "-a" "3bca19961ef5f8c93c87a9d37a1a84c52a70559e2fec91851e13277f83310eb7", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking portmidi v0.2.2
[INFO] [stderr]     Checking cheatstrument v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::thread;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:25:23
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let context = try!(pm::PortMidi::new());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let device = try!(context.device(1));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let output_port = try!(context.output_port(device, 1024));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 |     midi: MidiWrapper
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |     midi: dyn MidiWrapper
[INFO] [stdout]    |           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:25:23
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let context = try!(pm::PortMidi::new());
[INFO] [stdout]    |                       ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:26:22
[INFO] [stdout]    |
[INFO] [stdout] 26 |         let device = try!(context.device(1));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:27:27
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let output_port = try!(context.output_port(device, 1024));
[INFO] [stdout]    |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:74:11
[INFO] [stdout]    |
[INFO] [stdout] 74 |     midi: MidiWrapper
[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 <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 74 |     midi: dyn MidiWrapper
[INFO] [stdout]    |           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Cheatstrument` is never constructed
[INFO] [stdout]   --> src/main.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Cheatstrument {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/main.rs:8:15
[INFO] [stdout]   |
[INFO] [stdout] 8 |     SendError(pm::Error)
[INFO] [stdout]   |     --------- ^^^^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 8 -     SendError(pm::Error)
[INFO] [stdout] 8 +     SendError(())
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_down` is never used
[INFO] [stdout]   --> src/main.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait MidiWrapper {
[INFO] [stdout]    |       ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 14 |     fn get_down(&self) -> &HashSet<u8>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `midi` is never read
[INFO] [stdout]   --> src/main.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Cheatstrument {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 74 |     midi: MidiWrapper
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Cheatstrument` is never constructed
[INFO] [stdout]   --> src/main.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Cheatstrument {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]    = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MidiError` is never used
[INFO] [stdout]  --> src/main.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | enum MidiError {
[INFO] [stdout]   |      ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `down`, `up`, and `get_down` are never used
[INFO] [stdout]   --> src/main.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | trait MidiWrapper {
[INFO] [stdout]    |       ----------- methods in this trait
[INFO] [stdout] 12 |     fn down(&mut self, note: u8, velocity: u8) -> Result<(), MidiError>;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 13 |     fn up(&mut self, note: u8) -> Result<(), MidiError>;
[INFO] [stdout]    |        ^^
[INFO] [stdout] 14 |     fn get_down(&self) -> &HashSet<u8>;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PortMidiWrapper` is never constructed
[INFO] [stdout]   --> src/main.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | struct PortMidiWrapper {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `send` are never used
[INFO] [stdout]   --> src/main.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl PortMidiWrapper {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 24 |     pub fn new() -> Result<Self, pm::Error> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn send(&mut self, note: u8, velocity: u8, isdown: bool) -> Result<(), MidiError> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `midi` is never read
[INFO] [stdout]   --> src/main.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Cheatstrument {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] 74 |     midi: MidiWrapper
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `cheatstrument` (bin "cheatstrument" test) due to 1 previous error; 7 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `cheatstrument` (bin "cheatstrument") due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3bca19961ef5f8c93c87a9d37a1a84c52a70559e2fec91851e13277f83310eb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bca19961ef5f8c93c87a9d37a1a84c52a70559e2fec91851e13277f83310eb7", kill_on_drop: false }`
[INFO] [stdout] 3bca19961ef5f8c93c87a9d37a1a84c52a70559e2fec91851e13277f83310eb7
