[INFO] fetching crate qsv_docopt 1.8.0... [INFO] checking qsv_docopt-1.8.0 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate qsv_docopt 1.8.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate qsv_docopt 1.8.0 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate qsv_docopt 1.8.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate qsv_docopt 1.8.0 [INFO] tweaked toml for crates.io crate qsv_docopt 1.8.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate qsv_docopt 1.8.0 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4d52316fc02f4423d36f548d6b021990fd8f407c29e61c3eeb29708333f85b40 [INFO] running `Command { std: "docker" "start" "-a" "4d52316fc02f4423d36f548d6b021990fd8f407c29e61c3eeb29708333f85b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d52316fc02f4423d36f548d6b021990fd8f407c29e61c3eeb29708333f85b40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d52316fc02f4423d36f548d6b021990fd8f407c29e61c3eeb29708333f85b40", kill_on_drop: false }` [INFO] [stdout] 4d52316fc02f4423d36f548d6b021990fd8f407c29e61c3eeb29708333f85b40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc32423137182729d10e67402f063808f3b992a73f45d3c6f025690533150cc [INFO] running `Command { std: "docker" "start" "-a" "bcc32423137182729d10e67402f063808f3b992a73f45d3c6f025690533150cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking qsv_docopt v1.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `arg_x`, `arg_y`, and `cmd_mine` are never read [INFO] [stdout] --> examples/decode.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | arg_x: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | arg_y: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | cmd_ship: bool, [INFO] [stdout] 31 | cmd_mine: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` 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] [INFO] [stdout] [INFO] [stdout] warning: fields `arg_source`, `arg_dest`, `arg_dir`, `flag_archive`, and `flag_verbose` are never read [INFO] [stdout] --> examples/verbose_multiple.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | arg_source: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | arg_dest: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | arg_dir: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | flag_archive: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 26 | flag_verbose: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` 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] [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: fields `arg_source`, `arg_dest`, `arg_dir`, and `flag_archive` are never read [INFO] [stdout] --> examples/cp.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | arg_source: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | arg_dest: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | arg_dir: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | flag_archive: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` 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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `arg_command` is never read [INFO] [stdout] --> examples/optional_command.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct Args { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 28 | arg_command: Command, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` 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] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> examples/optional_command.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | Unknown(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Command` 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] 68 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arg_command`, `arg_args`, `flag_list`, and `flag_verbose` are never read [INFO] [stdout] --> examples/cargo.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 33 | arg_command: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | arg_args: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 35 | flag_list: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | flag_verbose: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` 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] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test/suggestions.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 20 | let sg = get_suggestion($doc, $args); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Error::WithProgramUsage(e, _) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 38 | / test_suggest!( [INFO] [stdout] 39 | | test_suggest_1, [INFO] [stdout] 40 | | "Usage: prog [--release]", [INFO] [stdout] 41 | | &["--releas"], [INFO] [stdout] 42 | | "Unknown flag: '--releas'. Did you mean '--release'?" [INFO] [stdout] 43 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this error originates in the macro `test_suggest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test/suggestions.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 20 | let sg = get_suggestion($doc, $args); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Error::WithProgramUsage(e, _) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 45 | / test_suggest!( [INFO] [stdout] 46 | | test_suggest_2, [INFO] [stdout] 47 | | "Usage: prog [-a] [INFO] [stdout] 48 | | prog [-a] ... [INFO] [stdout] ... | [INFO] [stdout] 54 | | "Unknown flag: '-d'" [INFO] [stdout] 55 | | ); [INFO] [stdout] | |_- in this macro invocation [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 `test_suggest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test/suggestions.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 20 | let sg = get_suggestion($doc, $args); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Error::WithProgramUsage(e, _) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 57 | / test_suggest!( [INFO] [stdout] 58 | | test_suggest_3, [INFO] [stdout] 59 | | "Usage: prog [-a] [INFO] [stdout] 60 | | prog [-a] ... [INFO] [stdout] ... | [INFO] [stdout] 67 | | "Unknown flag: '--expotr'. Did you mean '--export'?" [INFO] [stdout] 68 | | ); [INFO] [stdout] | |_- in this macro invocation [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 `test_suggest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test/suggestions.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 20 | let sg = get_suggestion($doc, $args); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Error::WithProgramUsage(e, _) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 70 | / test_suggest!( [INFO] [stdout] 71 | | test_suggest_4, [INFO] [stdout] 72 | | "Usage: prog [--import] [--complete] [INFO] [stdout] 73 | | ", [INFO] [stdout] 74 | | &["--mport", "--complte"], [INFO] [stdout] 75 | | "Unknown flag: '--mport'. Did you mean '--import'?" [INFO] [stdout] 76 | | ); [INFO] [stdout] | |_- in this macro invocation [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 `test_suggest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/test/suggestions.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 20 | let sg = get_suggestion($doc, $args); [INFO] [stdout] | -- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 23 | Error::WithProgramUsage(e, _) => { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 78 | / test_suggest!( [INFO] [stdout] 79 | | test_suggest_5, [INFO] [stdout] 80 | | "Usage: prog [--import] [--complete] [INFO] [stdout] 81 | | ", [INFO] [stdout] 82 | | &["--import", "--complte"], [INFO] [stdout] 83 | | "Unknown flag: '--complte'. Did you mean '--complete'?" [INFO] [stdout] 84 | | ); [INFO] [stdout] | |_- in this macro invocation [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 `test_suggest` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arg_file`, `cmd_info`, `cmd_update`, and `arg_value` are never read [INFO] [stdout] --> src/test/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 92 | struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 93 | arg_file: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 94 | cmd_info: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 95 | cmd_update: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 96 | arg_timestamp: u64, [INFO] [stdout] 97 | arg_value: f64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` 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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `qsv_docopt` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bcc32423137182729d10e67402f063808f3b992a73f45d3c6f025690533150cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc32423137182729d10e67402f063808f3b992a73f45d3c6f025690533150cc", kill_on_drop: false }` [INFO] [stdout] bcc32423137182729d10e67402f063808f3b992a73f45d3c6f025690533150cc