[INFO] fetching crate clapme 0.1.16... [INFO] checking clapme-0.1.16 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate clapme 0.1.16 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate clapme 0.1.16 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clapme 0.1.16 [INFO] finished tweaking crates.io crate clapme 0.1.16 [INFO] tweaked toml for crates.io crate clapme 0.1.16 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate crates.io crate clapme 0.1.16 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded meval v0.1.0 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded nom v1.2.4 [INFO] [stderr] Downloaded libc v0.2.78 [INFO] [stderr] Downloaded clapme_derive v0.1.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8c1e7a760025c4b15d597a778bba1f32c0b1cd3a344a478f1ffa11e875336e1 [INFO] running `Command { std: "docker" "start" "-a" "f8c1e7a760025c4b15d597a778bba1f32c0b1cd3a344a478f1ffa11e875336e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8c1e7a760025c4b15d597a778bba1f32c0b1cd3a344a478f1ffa11e875336e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c1e7a760025c4b15d597a778bba1f32c0b1cd3a344a478f1ffa11e875336e1", kill_on_drop: false }` [INFO] [stdout] f8c1e7a760025c4b15d597a778bba1f32c0b1cd3a344a478f1ffa11e875336e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcafab84ec437dcaae8d8fe2bf8d553125089ff1f6aa63803960cf0ded9c73aa [INFO] running `Command { std: "docker" "start" "-a" "dcafab84ec437dcaae8d8fe2bf8d553125089ff1f6aa63803960cf0ded9c73aa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking meval v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling clapme_derive v0.1.10 [INFO] [stderr] Checking clapme v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/unit-struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/unit-struct.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/experiment.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/options.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/flags.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/bool-and-option-in-substruct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/enum.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `First_World` should have an upper camel case name [INFO] [stdout] --> tests/enum.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | First_World, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `FirstWorld` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/deeply-nested-with-underscores.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: unused `#[macro_use]` import [INFO] [stdout] --> tests/generic.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | ResumeFrom(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Params` 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] 16 | ResumeFrom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sys` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | _Params { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 18 | sys: SquareWellParams, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | Width(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Dimensions` 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] 25 | Width(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Volume(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Dimensions` 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] 27 | Volume(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `well_width` and `cell` are never read [INFO] [stdout] --> tests/enum-required-by-optional-struct.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | struct SquareWellParams { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 32 | well_width: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | cell: Dimensions, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareWellParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/only-one-variant.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/nested.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/create-guide.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | strings.push(Foo::help_message("foo")); [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | strings.push(Help::help_message("help")); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 115 | strings.push(Flags::help_message("flags")); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | strings.push(Types::help_message("types")); [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 168 | strings.push(Optional::help_message("optional")); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | strings.push(Exclusive::help_message("exclusive")); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 238 | strings.push(Nested::help_message("nested")); [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | /// This gives the following usage. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 270 | strings.push(Flattened::help_message("flattened")); [INFO] [stdout] | -------------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> tests/create-guide.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | / /// This may be a good idea if `MyConfig` and `YourConfig` are [INFO] [stdout] 273 | | /// implementation details that your user need not be aware of. [INFO] [stdout] 274 | | [INFO] [stdout] 275 | | /// ## Other possibilities [INFO] [stdout] ... | [INFO] [stdout] 290 | | /// an issue on github if there is a type that you would like to [INFO] [stdout] 291 | | /// have supported by clapme. Pull requests are most welcome. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] 292 | [INFO] [stdout] 293 | strings.reverse(); [INFO] [stdout] | ----------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/underscore-in-optional-field.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/phantom.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/bin/experiment.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/tuple-struct.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/underscore-in-optional-field.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | ResumeFrom(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Params` 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] 16 | ResumeFrom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sys` is never read [INFO] [stdout] --> tests/underscore-in-optional-field.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | _Params { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 18 | sys: SquareWellParams, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Params` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `well_width` is never read [INFO] [stdout] --> tests/underscore-in-optional-field.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct SquareWellParams { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 24 | well_width: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SquareWellParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: 4 warnings emitted [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: field `foo` is never read [INFO] [stdout] --> tests/create-guide.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 67 | struct Foo { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 68 | foo: bool, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verbose` and `T` are never read [INFO] [stdout] --> tests/create-guide.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | struct Help { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 84 | /// Print excess messages. [INFO] [stdout] 85 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 86 | /// The temperature. [INFO] [stdout] 87 | T: bool, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `verbose`, `blue_is_nice_`, and `min_T` are never read [INFO] [stdout] --> tests/create-guide.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 105 | struct Flags { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 106 | /// a simple word has "--" prepended to it. [INFO] [stdout] 107 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 108 | /// Underscores are replaced with "-" ... [INFO] [stdout] 109 | blue_is_nice_: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 110 | /// and capital letters are preserved. [INFO] [stdout] 111 | min_T: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `T`, and `directory` are never read [INFO] [stdout] --> tests/create-guide.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | struct Types { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 130 | /// The name of the type [INFO] [stdout] 131 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | /// The temperature of the type [INFO] [stdout] 133 | T: f64, [INFO] [stdout] | ^ [INFO] [stdout] 134 | /// The place where it is [INFO] [stdout] 135 | directory: std::path::PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/create-guide.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 162 | struct Optional { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 163 | /// The name is an optional argument. [INFO] [stdout] 164 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a` and `b` are never read [INFO] [stdout] --> tests/create-guide.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 181 | First { [INFO] [stdout] | ----- fields in this variant [INFO] [stdout] 182 | /// This is the "a" value [INFO] [stdout] 183 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 187 | b: String, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/create-guide.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | SecondFlag(String), [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [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] 190 | SecondFlag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> tests/create-guide.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 223 | struct Vec2d { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 224 | x: f64, y: f64, [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `position` and `velocity` are never read [INFO] [stdout] --> tests/create-guide.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 227 | struct Nested { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 233 | position: Vec2d, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 234 | velocity: Vec2d, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> tests/create-guide.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 254 | struct MyConfig { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 255 | /// The user's name [INFO] [stdout] 256 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> tests/create-guide.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 259 | struct YourConfig { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 260 | /// The user's address [INFO] [stdout] 261 | address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.48s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v1.2.4, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "dcafab84ec437dcaae8d8fe2bf8d553125089ff1f6aa63803960cf0ded9c73aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcafab84ec437dcaae8d8fe2bf8d553125089ff1f6aa63803960cf0ded9c73aa", kill_on_drop: false }` [INFO] [stdout] dcafab84ec437dcaae8d8fe2bf8d553125089ff1f6aa63803960cf0ded9c73aa [INFO] checking clapme-0.1.16 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate clapme 0.1.16 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate clapme 0.1.16 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clapme 0.1.16 [INFO] finished tweaking crates.io crate clapme 0.1.16 [INFO] tweaked toml for crates.io crate clapme 0.1.16 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate clapme 0.1.16 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 758a08708646fa94bcb1f34e993d57dea5486b6d7ee497e1f36cc40186d4b444 [INFO] running `Command { std: "docker" "start" "-a" "758a08708646fa94bcb1f34e993d57dea5486b6d7ee497e1f36cc40186d4b444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "758a08708646fa94bcb1f34e993d57dea5486b6d7ee497e1f36cc40186d4b444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "758a08708646fa94bcb1f34e993d57dea5486b6d7ee497e1f36cc40186d4b444", kill_on_drop: false }` [INFO] [stdout] 758a08708646fa94bcb1f34e993d57dea5486b6d7ee497e1f36cc40186d4b444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77e59d64a4e588f01ab93a4c3ba27a724ddca02afd70d3c792e2b7c56c545fe3 [INFO] running `Command { std: "docker" "start" "-a" "77e59d64a4e588f01ab93a4c3ba27a724ddca02afd70d3c792e2b7c56c545fe3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking meval v0.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling clapme_derive v0.1.10 [INFO] [stderr] Checking clapme v0.1.16 (/opt/rustwide/workdir) [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/lib.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 103 | |a| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let matches = a.get_matches(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Self::from_clap("", &matches).unwrap() [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/lib.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_iter(args: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | clap::App::new("foo"), [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/lib.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_iter(args: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | / |a| { [INFO] [stdout] 118 | | let matches = a.get_matches_from_safe(args)?; [INFO] [stdout] 119 | | Ok(Self::from_clap("", &matches).unwrap()) [INFO] [stdout] 120 | | }) [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/lib.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_iter(args: I) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | |a| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let matches = a.get_matches_from_safe(args)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Ok(Self::from_clap("", &matches).unwrap()) [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] [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/lib.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 125 | fn with_clap(info: ArgInfo, app: clap::App, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | f: impl FnOnce(clap::App) -> T) -> T { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let conflicts: Vec<_> = info.conflicted_flags.iter().map(AsRef::as_ref).collect(); [INFO] [stdout] 128 | f(app.arg(clap::Arg::with_name(info.name).long(info.name) [INFO] [stdout] | ___________^ [INFO] [stdout] 129 | | .requires_all(info.required_flags) [INFO] [stdout] 130 | | .conflicts_with_all(&conflicts) [INFO] [stdout] 131 | | .help(&info.help))) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clapme` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 103 | |a| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | let matches = a.get_matches(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Self::from_clap("", &matches).unwrap() [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/lib.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_iter(args: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | clap::App::new("foo"), [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/lib.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_iter(args: I) -> Result [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | / |a| { [INFO] [stdout] 118 | | let matches = a.get_matches_from_safe(args)?; [INFO] [stdout] 119 | | Ok(Self::from_clap("", &matches).unwrap()) [INFO] [stdout] 120 | | }) [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/lib.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_iter(args: I) -> Result [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | |a| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let matches = a.get_matches_from_safe(args)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Ok(Self::from_clap("", &matches).unwrap()) [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] [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/lib.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 125 | fn with_clap(info: ArgInfo, app: clap::App, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 126 | f: impl FnOnce(clap::App) -> T) -> T { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 127 | let conflicts: Vec<_> = info.conflicted_flags.iter().map(AsRef::as_ref).collect(); [INFO] [stdout] 128 | f(app.arg(clap::Arg::with_name(info.name).long(info.name) [INFO] [stdout] | ___________^ [INFO] [stdout] 129 | | .requires_all(info.required_flags) [INFO] [stdout] 130 | | .conflicts_with_all(&conflicts) [INFO] [stdout] 131 | | .help(&info.help))) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `clapme` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "77e59d64a4e588f01ab93a4c3ba27a724ddca02afd70d3c792e2b7c56c545fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e59d64a4e588f01ab93a4c3ba27a724ddca02afd70d3c792e2b7c56c545fe3", kill_on_drop: false }` [INFO] [stdout] 77e59d64a4e588f01ab93a4c3ba27a724ddca02afd70d3c792e2b7c56c545fe3