[INFO] cloning repository https://github.com/AlexCharlton/op-patch-util [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlexCharlton/op-patch-util" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCharlton%2Fop-patch-util", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCharlton%2Fop-patch-util'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b3d50240dfd5871489178ef6a3d5464fb35588f [INFO] checking AlexCharlton/op-patch-util/3b3d50240dfd5871489178ef6a3d5464fb35588f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlexCharlton%2Fop-patch-util" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AlexCharlton/op-patch-util on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AlexCharlton/op-patch-util [INFO] finished tweaking git repo https://github.com/AlexCharlton/op-patch-util [INFO] tweaked toml for git repo https://github.com/AlexCharlton/op-patch-util written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AlexCharlton/op-patch-util 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b225f815d820bcf5fe5e8de7e201d1abd3712c6765afe5190d0190f2999d2b84 [INFO] running `Command { std: "docker" "start" "-a" "b225f815d820bcf5fe5e8de7e201d1abd3712c6765afe5190d0190f2999d2b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b225f815d820bcf5fe5e8de7e201d1abd3712c6765afe5190d0190f2999d2b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b225f815d820bcf5fe5e8de7e201d1abd3712c6765afe5190d0190f2999d2b84", kill_on_drop: false }` [INFO] [stdout] b225f815d820bcf5fe5e8de7e201d1abd3712c6765afe5190d0190f2999d2b84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65ea2889ae7c7d25c9d18881b0fc0b667ba748ac71db24e5b3be76a2711ace2c [INFO] running `Command { std: "docker" "start" "-a" "65ea2889ae7c7d25c9d18881b0fc0b667ba748ac71db24e5b3be76a2711ace2c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking riff v1.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking wav v1.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking stderrlog v0.5.1 [INFO] [stderr] Checking op-patch-util v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chunks.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | InvalidID(ChunkID), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 43 | InvalidID(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chunks.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | InvalidFormType(ChunkID), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 44 | InvalidFormType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/chunks.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | InvalidSize(i32, i32), // expected, got, [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 | InvalidSize((), ()), // expected, got, [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chunks.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | InvalidData(String), // failed to parse something [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 46 | InvalidData(()), // failed to parse something [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/chunks.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FormChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 69 | pub size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `position`, and `marker_name` are never read [INFO] [stdout] --> src/chunks.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Marker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 337 | id: MarkerId, [INFO] [stdout] | ^^ [INFO] [stdout] 338 | position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 339 | marker_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Marker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `num_markers`, and `markers` are never read [INFO] [stdout] --> src/chunks.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 358 | pub struct MarkerChunk { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 359 | pub size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 360 | pub num_markers: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 361 | pub markers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarkerChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_type`, `size`, and `text` are never read [INFO] [stdout] --> src/chunks.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 392 | pub struct TextChunk { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 393 | pub chunk_type: TextChunkType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 394 | pub size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 395 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `play_mode`, `begin_loop`, and `end_loop` are never read [INFO] [stdout] --> src/chunks.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 431 | // 0 no looping / 1 foward loop / 2 forward backward loop - use enum? [INFO] [stdout] 432 | play_mode: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 433 | begin_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 434 | end_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/chunks.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub struct InstrumentChunk { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 455 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 456 | base_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | detune: i8, // -50..50 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 458 | low_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 459 | high_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 460 | low_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 461 | high_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 462 | gain: i16, // in db [INFO] [stdout] | ^^^^ [INFO] [stdout] 463 | sustain_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 464 | release_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstrumentChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 497 | pub struct MIDIDataChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 498 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 499 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MIDIDataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 514 | pub struct AudioRecordingChunk { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 515 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | data: [u8; 24], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioRecordingChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `marker_id`, `count`, and `text` are never read [INFO] [stdout] --> src/chunks.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 597 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 598 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 599 | marker_id: MarkerId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 600 | count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 601 | text: String, // padded to an even # of bytes [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `num_comments`, and `comments` are never read [INFO] [stdout] --> src/chunks.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 625 | pub struct CommentsChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 626 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 627 | num_comments: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 628 | comments: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentsChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | fn io_command_with_default<'a, 'b>(command: App<'a, 'b>, default: &'static str) -> App<'a, 'b> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | / command [INFO] [stdout] 218 | | .arg(Arg::with_name("INPUT").index(1).help("Omit to use STDIN.")) [INFO] [stdout] 219 | | .arg( [INFO] [stdout] 220 | | Arg::with_name("OUTPUT") [INFO] [stdout] 221 | | .index(2) [INFO] [stdout] 222 | | .help("Use `-` to send output to STDOUT."), [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 216 | fn io_command_with_default<'a, 'b>(command: App<'a, 'b>, default: &'static str) -> App<'a, 'b> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | / Arg::with_name("OUTPUT_FILE") [INFO] [stdout] 226 | | .short("o") [INFO] [stdout] 227 | | .long("output") [INFO] [stdout] 228 | | .default_value(default), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 233 | command: App<'a, 'b>, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | .arg(Arg::with_name(name) [INFO] [stdout] | ______________^ [INFO] [stdout] 239 | | .short(&long[0..1]) [INFO] [stdout] 240 | | .long(long) [INFO] [stdout] 241 | | .value_name(name) [INFO] [stdout] 242 | | .use_delimiter(true) [INFO] [stdout] 243 | | .required(true) [INFO] [stdout] 244 | | .help("One or more comma-separated numbers between 1-24, representing the keys on the OP that are to be modified. Colons can be used to represent inclusive ranges. E.g.: `1,2,13,14` is both F and F# keys; `1:7,13:19` is both sets of F to B keys.... [INFO] [stdout] | |____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/op1.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/op1.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `op-patch-util` (bin "op-patch-util" test) due to 6 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chunks.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | InvalidID(ChunkID), [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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] 43 | InvalidID(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chunks.rs:44:21 [INFO] [stdout] | [INFO] [stdout] 44 | InvalidFormType(ChunkID), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 44 | InvalidFormType(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/chunks.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | InvalidSize(i32, i32), // expected, got, [INFO] [stdout] | ----------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 45 | InvalidSize((), ()), // expected, got, [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/chunks.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | InvalidData(String), // failed to parse something [INFO] [stdout] | ----------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ChunkError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 46 | InvalidData(()), // failed to parse something [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/chunks.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FormChunk { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 69 | pub size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `position`, and `marker_name` are never read [INFO] [stdout] --> src/chunks.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 336 | pub struct Marker { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 337 | id: MarkerId, [INFO] [stdout] | ^^ [INFO] [stdout] 338 | position: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 339 | marker_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Marker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `num_markers`, and `markers` are never read [INFO] [stdout] --> src/chunks.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 358 | pub struct MarkerChunk { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 359 | pub size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 360 | pub num_markers: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 361 | pub markers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MarkerChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `chunk_type`, `size`, and `text` are never read [INFO] [stdout] --> src/chunks.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 392 | pub struct TextChunk { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 393 | pub chunk_type: TextChunkType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 394 | pub size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 395 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `play_mode`, `begin_loop`, and `end_loop` are never read [INFO] [stdout] --> src/chunks.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 430 | pub struct Loop { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 431 | // 0 no looping / 1 foward loop / 2 forward backward loop - use enum? [INFO] [stdout] 432 | play_mode: i16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 433 | begin_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 434 | end_loop: MarkerId, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Loop` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/chunks.rs:455:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub struct InstrumentChunk { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 455 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 456 | base_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 457 | detune: i8, // -50..50 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 458 | low_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 459 | high_note: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 460 | low_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 461 | high_velocity: i8, // MIDI [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 462 | gain: i16, // in db [INFO] [stdout] | ^^^^ [INFO] [stdout] 463 | sustain_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 464 | release_loop: Loop, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InstrumentChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 497 | pub struct MIDIDataChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 498 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 499 | data: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MIDIDataChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size` and `data` are never read [INFO] [stdout] --> src/chunks.rs:515:5 [INFO] [stdout] | [INFO] [stdout] 514 | pub struct AudioRecordingChunk { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 515 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | data: [u8; 24], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AudioRecordingChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp`, `marker_id`, `count`, and `text` are never read [INFO] [stdout] --> src/chunks.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 597 | pub struct Comment { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 598 | timestamp: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 599 | marker_id: MarkerId, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 600 | count: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 601 | text: String, // padded to an even # of bytes [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Comment` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `size`, `num_comments`, and `comments` are never read [INFO] [stdout] --> src/chunks.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 625 | pub struct CommentsChunk { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 626 | size: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 627 | num_comments: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 628 | comments: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommentsChunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 216 | fn io_command_with_default<'a, 'b>(command: App<'a, 'b>, default: &'static str) -> App<'a, 'b> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 217 | / command [INFO] [stdout] 218 | | .arg(Arg::with_name("INPUT").index(1).help("Omit to use STDIN.")) [INFO] [stdout] 219 | | .arg( [INFO] [stdout] 220 | | Arg::with_name("OUTPUT") [INFO] [stdout] 221 | | .index(2) [INFO] [stdout] 222 | | .help("Use `-` to send output to STDOUT."), [INFO] [stdout] 223 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 216 | fn io_command_with_default<'a, 'b>(command: App<'a, 'b>, default: &'static str) -> App<'a, 'b> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | / Arg::with_name("OUTPUT_FILE") [INFO] [stdout] 226 | | .short("o") [INFO] [stdout] 227 | | .long("output") [INFO] [stdout] 228 | | .default_value(default), [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 233 | command: App<'a, 'b>, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | .arg(Arg::with_name(name) [INFO] [stdout] | ______________^ [INFO] [stdout] 239 | | .short(&long[0..1]) [INFO] [stdout] 240 | | .long(long) [INFO] [stdout] 241 | | .value_name(name) [INFO] [stdout] 242 | | .use_delimiter(true) [INFO] [stdout] 243 | | .required(true) [INFO] [stdout] 244 | | .help("One or more comma-separated numbers between 1-24, representing the keys on the OP that are to be modified. Colons can be used to represent inclusive ranges. E.g.: `1,2,13,14` is both F and F# keys; `1:7,13:19` is both sets of F to B keys.... [INFO] [stdout] | |____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/op1.rs:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/op1.rs:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `op-patch-util` (bin "op-patch-util") due to 6 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "65ea2889ae7c7d25c9d18881b0fc0b667ba748ac71db24e5b3be76a2711ace2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ea2889ae7c7d25c9d18881b0fc0b667ba748ac71db24e5b3be76a2711ace2c", kill_on_drop: false }` [INFO] [stdout] 65ea2889ae7c7d25c9d18881b0fc0b667ba748ac71db24e5b3be76a2711ace2c