[INFO] fetching crate imagemusic 1.0.1...
[INFO] checking imagemusic-1.0.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate imagemusic 1.0.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate imagemusic 1.0.1 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate imagemusic 1.0.1
[INFO] finished tweaking crates.io crate imagemusic 1.0.1
[INFO] tweaked toml for crates.io crate imagemusic 1.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate crates.io crate imagemusic 1.0.1 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-integer v0.1.43
[INFO] [stderr]   Downloaded num-rational v0.3.0
[INFO] [stderr]   Downloaded num-iter v0.1.41
[INFO] [stderr]   Downloaded adler32 v1.1.0
[INFO] [stderr]   Downloaded memoffset v0.5.4
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.63
[INFO] [stderr]   Downloaded adler v0.2.2
[INFO] [stderr]   Downloaded oorandom v11.1.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.63
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.63
[INFO] [stderr]   Downloaded bincode v1.2.1
[INFO] [stderr]   Downloaded bytemuck v1.2.0
[INFO] [stderr]   Downloaded tiff v0.5.0
[INFO] [stderr]   Downloaded half v1.6.0
[INFO] [stderr]   Downloaded criterion v0.3.3
[INFO] [stderr]   Downloaded aho-corasick v0.7.10
[INFO] [stderr]   Downloaded clap v2.33.1
[INFO] [stderr]   Downloaded plotters v0.2.15
[INFO] [stderr]   Downloaded csv v1.1.3
[INFO] [stderr]   Downloaded web-sys v0.3.40
[INFO] [stderr]   Downloaded jpeg-decoder v0.1.19
[INFO] [stderr]   Downloaded syn v1.0.30
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.63
[INFO] [stderr]   Downloaded bstr v0.2.13
[INFO] [stderr]   Downloaded flate2 v1.0.16
[INFO] [stderr]   Downloaded image v0.23.6
[INFO] [stderr]   Downloaded rayon v1.3.1
[INFO] [stderr]   Downloaded miniz_oxide v0.4.0
[INFO] [stderr]   Downloaded js-sys v0.3.40
[INFO] [stderr]   Downloaded serde v1.0.111
[INFO] [stderr]   Downloaded serde_derive v1.0.111
[INFO] [stderr]   Downloaded base64 v0.12.1
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded png v0.16.6
[INFO] [stderr]   Downloaded rayon-core v1.7.1
[INFO] [stderr]   Downloaded tinytemplate v1.1.0
[INFO] [stderr]   Downloaded serde_json v1.0.55
[INFO] [stderr]   Downloaded minidom v0.12.0
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.63
[INFO] [stderr]   Downloaded cast v0.2.3
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7740486a19d8ef6a6cbccffa0e94993847f782bb8981479706b93520886c3c26
[INFO] running `Command { std: "docker" "start" "-a" "7740486a19d8ef6a6cbccffa0e94993847f782bb8981479706b93520886c3c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7740486a19d8ef6a6cbccffa0e94993847f782bb8981479706b93520886c3c26", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7740486a19d8ef6a6cbccffa0e94993847f782bb8981479706b93520886c3c26", kill_on_drop: false }`
[INFO] [stdout] 7740486a19d8ef6a6cbccffa0e94993847f782bb8981479706b93520886c3c26
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 25d42369f0ad88d464a5a520774aed79b6e4c46073931db894df6705541464db
[INFO] running `Command { std: "docker" "start" "-a" "25d42369f0ad88d464a5a520774aed79b6e4c46073931db894df6705541464db", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling serde_json v1.0.55
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.63
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling bumpalo v3.4.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.63
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking adler32 v1.1.0
[INFO] [stderr]     Checking maybe-uninit v2.0.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking adler v0.2.2
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking png v0.16.6
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking quick-xml v0.17.2
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking memchr v2.3.3
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking minidom v0.12.0
[INFO] [stderr]     Checking criterion-plot v0.4.3
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking flate2 v1.0.16
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.63
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking base64 v0.12.1
[INFO] [stderr]     Checking image v0.23.6
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking oorandom v11.1.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking bitflags v1.2.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.63
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.63
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking tinytemplate v1.1.0
[INFO] [stderr]     Checking criterion v0.3.3
[INFO] [stderr]     Checking js-sys v0.3.40
[INFO] [stderr]     Checking web-sys v0.3.40
[INFO] [stderr]     Checking imagemusic v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Box::from_raw(song);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = Box::from_raw(song);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:350:22
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for part_list in root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 350 |     while let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~~~~         ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 350 |     if let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~         ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:352:23
[INFO] [stdout]     |
[INFO] [stdout] 352 |             for id in score_part.attr("id") {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 352 |             while let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~~~~  ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 352 |             if let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~  ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:353:29
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 for name in score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 while let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~~~~    ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 if let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~    ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Box::from_raw(song);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = Box::from_raw(song);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:350:22
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for part_list in root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 350 |     while let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~~~~         ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 350 |     if let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~         ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:352:23
[INFO] [stdout]     |
[INFO] [stdout] 352 |             for id in score_part.attr("id") {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 352 |             while let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~~~~  ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 352 |             if let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~  ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:353:29
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 for name in score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 while let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~~~~    ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 if let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~    ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]  --> src/bin/render.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("imagemusic {input song} {output pcm}");
[INFO] [stdout]   |                            ^          ^ ^          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("{}", "imagemusic {input song} {output pcm}");
[INFO] [stdout]   |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]  --> src/bin/decode.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("imagemusic {input song}");
[INFO] [stdout]   |                            ^          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("{}", "imagemusic {input song}");
[INFO] [stdout]   |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]   --> src/bin/from-musicxml.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |         panic!("imagemusic {input song}");
[INFO] [stdout]    |                            ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]    |
[INFO] [stdout] 10 |         panic!("{}", "imagemusic {input song}");
[INFO] [stdout]    |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]   --> src/bin/encode.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 |         panic!("imagemusic {input song} {input image} {output image}");
[INFO] [stdout]    |                            ^          ^ ^           ^ ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]    |
[INFO] [stdout] 12 |         panic!("{}", "imagemusic {input song} {input image} {output image}");
[INFO] [stdout]    |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Box::from_raw(song);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = Box::from_raw(song);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:350:22
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for part_list in root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 350 |     while let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~~~~         ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 350 |     if let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~         ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:352:23
[INFO] [stdout]     |
[INFO] [stdout] 352 |             for id in score_part.attr("id") {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 352 |             while let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~~~~  ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 352 |             if let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~  ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:353:29
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 for name in score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 while let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~~~~    ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 if let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~    ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]  --> src/bin/render.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("imagemusic {input song} {output pcm}");
[INFO] [stdout]   |                            ^          ^ ^          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("{}", "imagemusic {input song} {output pcm}");
[INFO] [stdout]   |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]  --> src/bin/decode.rs:9:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("imagemusic {input song}");
[INFO] [stdout]   |                            ^          ^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]   = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]   |
[INFO] [stdout] 9 |         panic!("{}", "imagemusic {input song}");
[INFO] [stdout]   |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]   --> src/bin/from-musicxml.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 |         panic!("imagemusic {input song}");
[INFO] [stdout]    |                            ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]    |
[INFO] [stdout] 10 |         panic!("{}", "imagemusic {input song}");
[INFO] [stdout]    |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message contains braces
[INFO] [stdout]   --> src/bin/encode.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 |         panic!("imagemusic {input song} {input image} {output image}");
[INFO] [stdout]    |                            ^          ^ ^           ^ ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this message is not used as a format string, but will be in Rust 2021
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: add a "{}" format string to use the message literally
[INFO] [stdout]    |
[INFO] [stdout] 12 |         panic!("{}", "imagemusic {input song} {input image} {output image}");
[INFO] [stdout]    |                +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 15.12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.3, quick-xml v0.17.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "25d42369f0ad88d464a5a520774aed79b6e4c46073931db894df6705541464db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25d42369f0ad88d464a5a520774aed79b6e4c46073931db894df6705541464db", kill_on_drop: false }`
[INFO] [stdout] 25d42369f0ad88d464a5a520774aed79b6e4c46073931db894df6705541464db
[INFO] checking imagemusic-1.0.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate imagemusic 1.0.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate imagemusic 1.0.1 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate imagemusic 1.0.1
[INFO] finished tweaking crates.io crate imagemusic 1.0.1
[INFO] tweaked toml for crates.io crate imagemusic 1.0.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate crates.io crate imagemusic 1.0.1 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f50100fd29545e68b319a029bb9c315971fcab0178cb93b920d4221f096c0a1b
[INFO] running `Command { std: "docker" "start" "-a" "f50100fd29545e68b319a029bb9c315971fcab0178cb93b920d4221f096c0a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f50100fd29545e68b319a029bb9c315971fcab0178cb93b920d4221f096c0a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f50100fd29545e68b319a029bb9c315971fcab0178cb93b920d4221f096c0a1b", kill_on_drop: false }`
[INFO] [stdout] f50100fd29545e68b319a029bb9c315971fcab0178cb93b920d4221f096c0a1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 887f807b99cc887050126f9bc9c9f61b570310f03276d97b90f39f5b4e24521e
[INFO] running `Command { std: "docker" "start" "-a" "887f807b99cc887050126f9bc9c9f61b570310f03276d97b90f39f5b4e24521e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.18
[INFO] [stderr]    Compiling syn v1.0.30
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling serde v1.0.111
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.63
[INFO] [stderr]    Compiling serde_json v1.0.55
[INFO] [stderr]    Compiling rayon-core v1.7.1
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling bumpalo v3.4.0
[INFO] [stderr]    Compiling rayon v1.3.1
[INFO] [stderr]    Compiling wasm-bindgen v0.2.63
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking adler32 v1.1.0
[INFO] [stderr]     Checking maybe-uninit v2.0.0
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]     Checking crossbeam-queue v0.2.3
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking regex-automata v0.1.9
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking adler v0.2.2
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking png v0.16.6
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking quick-xml v0.17.2
[INFO] [stderr]     Checking memchr v2.3.3
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking criterion-plot v0.4.3
[INFO] [stderr]     Checking jpeg-decoder v0.1.19
[INFO] [stderr]     Checking minidom v0.12.0
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking flate2 v1.0.16
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.63
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking plotters v0.2.15
[INFO] [stderr]     Checking image v0.23.6
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking oorandom v11.1.2
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking base64 v0.12.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking bitflags v1.2.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.63
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling serde_derive v1.0.111
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.63
[INFO] [stderr]     Checking toml v0.5.6
[INFO] [stderr]     Checking bincode v1.2.1
[INFO] [stderr]     Checking bstr v0.2.13
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]     Checking csv v1.1.3
[INFO] [stderr]     Checking tinytemplate v1.1.0
[INFO] [stderr]     Checking js-sys v0.3.40
[INFO] [stderr]     Checking criterion v0.3.3
[INFO] [stderr]     Checking web-sys v0.3.40
[INFO] [stderr]     Checking imagemusic v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]   --> src/lib.rs:70:9
[INFO] [stdout]    |
[INFO] [stdout] 70 |         Box::from_raw(song);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let _ = Box::from_raw(song);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/instrument.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Serialize, Deserialize, Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout]   |                 ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Instrument`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/instrument.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Serialize, Deserialize, Copy, Clone, Hash, PartialEq, Eq, PartialOrd, Ord)]
[INFO] [stdout]   |                            ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Instrument`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:350:22
[INFO] [stdout]     |
[INFO] [stdout] 350 |     for part_list in root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(for_loops_over_fallibles)]` on by default
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 350 |     while let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~~~~         ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 350 |     if let Some(part_list) = root.children().find(|e| e.name() == "part-list") {
[INFO] [stdout]     |     ~~~~~~~~~~~~         ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:352:23
[INFO] [stdout]     |
[INFO] [stdout] 352 |             for id in score_part.attr("id") {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 352 |             while let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~~~~  ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 352 |             if let Some(id) = score_part.attr("id") {
[INFO] [stdout]     |             ~~~~~~~~~~~~  ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement
[INFO] [stdout]    --> src/musicxml.rs:353:29
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 for name in score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: to check pattern in a loop use `while let`
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 while let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~~~~    ~~~
[INFO] [stdout] help: consider using `if let` to clear intent
[INFO] [stdout]     |
[INFO] [stdout] 353 |                 if let Some(name) = score_part.children().find(|e| e.name() == "part-name") {
[INFO] [stdout]     |                 ~~~~~~~~~~~~    ~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/note.rs:9:30
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_NoteName`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/note.rs:9:41
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                         ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_NoteName`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/song.rs:12:17
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Song`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/song.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Song`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/voice.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Voice`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/voice.rs:10:28
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Voice`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `imagemusic` (lib) due to 9 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "887f807b99cc887050126f9bc9c9f61b570310f03276d97b90f39f5b4e24521e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "887f807b99cc887050126f9bc9c9f61b570310f03276d97b90f39f5b4e24521e", kill_on_drop: false }`
[INFO] [stdout] 887f807b99cc887050126f9bc9c9f61b570310f03276d97b90f39f5b4e24521e
