[INFO] fetching crate cpp-amalgamate 1.0.1... [INFO] checking cpp-amalgamate-1.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cpp-amalgamate 1.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cpp-amalgamate 1.0.1 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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cpp-amalgamate 1.0.1 [INFO] finished tweaking crates.io crate cpp-amalgamate 1.0.1 [INFO] tweaked toml for crates.io crate cpp-amalgamate 1.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate cpp-amalgamate 1.0.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+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] 5cbf6aff542a37a425190dca44b7b751973fb0be78cedc0da2b3390e41e3623d [INFO] running `Command { std: "docker" "start" "-a" "5cbf6aff542a37a425190dca44b7b751973fb0be78cedc0da2b3390e41e3623d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cbf6aff542a37a425190dca44b7b751973fb0be78cedc0da2b3390e41e3623d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbf6aff542a37a425190dca44b7b751973fb0be78cedc0da2b3390e41e3623d", kill_on_drop: false }` [INFO] [stdout] 5cbf6aff542a37a425190dca44b7b751973fb0be78cedc0da2b3390e41e3623d [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] d34289048b2690394879e732662d6e784be80eb00eb9c46b356e144da7e368ab [INFO] running `Command { std: "docker" "start" "-a" "d34289048b2690394879e732662d6e784be80eb00eb9c46b356e144da7e368ab", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking clap_lex v0.2.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking predicates v2.1.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking assert_cmd v2.0.4 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking assert_fs v1.0.7 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking cpp-amalgamate v1.0.1 (/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] --> tests/integration/util.rs:53:39 [INFO] [stdout] | [INFO] [stdout] 49 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | option: &'static str, [INFO] [stdout] 51 | files: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | ) -> Result { [INFO] [stdout] 53 | self.search_dir_setup(option, |dir| { [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 54 | | for (path, content) in files { [INFO] [stdout] 55 | | dir.child(path).write_str(content)?; [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | Ok(()) [INFO] [stdout] 58 | | }) [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: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-amalgamate` (test "integration") due to 2 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/cli.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Filter which includes are inlined. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// By default, cpp-amalgamate inlines every header it can resolve using the given search [INFO] [stdout] 79 | | /// directories. With this option, headers can be excluded from being inlined. By prefixing the [INFO] [stdout] ... | [INFO] [stdout] 93 | | )] [INFO] [stdout] 94 | | filter: Vec, [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/cli.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Filter which quote includes are inlined. [INFO] [stdout] 97 | | /// [INFO] [stdout] 98 | | /// This option works just like --filter, except it only applies to quote includes. [INFO] [stdout] 99 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 104 | | )] [INFO] [stdout] 105 | | filter_quote: Vec, [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/cli.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / /// Filter which system includes are inlined. [INFO] [stdout] 108 | | /// [INFO] [stdout] 109 | | /// This option works just like --filter, except it only applies to system includes. [INFO] [stdout] 110 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 115 | | )] [INFO] [stdout] 116 | | filter_system: Vec, [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/cli.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / /// How to handle an unresolvable include. [INFO] [stdout] 119 | | /// [INFO] [stdout] 120 | | /// By default, cpp-amalgamate ignores includes which cannot be resolved to allow specifying [INFO] [stdout] 121 | | /// only the necessary search directories. This flag can be used to assert that all includes are [INFO] [stdout] ... | [INFO] [stdout] 131 | | )] [INFO] [stdout] 132 | | unresolvable_include: Option, [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/cli.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / /// How to handle an unresolvable quote include. [INFO] [stdout] 135 | | /// [INFO] [stdout] 136 | | /// Works like --unresolvable-include, except only for quote includes. [INFO] [stdout] 137 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 141 | | )] [INFO] [stdout] 142 | | unresolvable_quote_include: Option, [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/cli.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / /// How to handle an unresolvable system include. [INFO] [stdout] 145 | | /// [INFO] [stdout] 146 | | /// Works like --unresolvable-include, except only for system includes. [INFO] [stdout] 147 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 151 | | )] [INFO] [stdout] 152 | | unresolvable_system_include: Option, [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/cli.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / /// How to handle a cyclic include. [INFO] [stdout] 155 | | /// [INFO] [stdout] 156 | | /// Uses the same values as --unresolvable-include (error, warn, ignore), except that it [INFO] [stdout] 157 | | /// defaults to error. [INFO] [stdout] ... | [INFO] [stdout] 162 | | )] [INFO] [stdout] 163 | | cyclic_include: Option, [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/filter.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 45 | globs: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok((set_builder.build()?, infos)) [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/filter.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 94 | quote_globs: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | system_globs: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> Result { [INFO] [stdout] 97 | let (quote_set, quote_infos) = build_set_and_infos("Quote", quote_globs)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let (system_set, system_infos) = build_set_and_infos("System", system_globs)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | quote_set, [INFO] [stdout] 101 | | quote_infos, [INFO] [stdout] 102 | | system_set, [INFO] [stdout] 103 | | system_infos, [INFO] [stdout] 104 | | indices: Vec::new(), [INFO] [stdout] 105 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/cli.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / /// Filter which includes are inlined. [INFO] [stdout] 77 | | /// [INFO] [stdout] 78 | | /// By default, cpp-amalgamate inlines every header it can resolve using the given search [INFO] [stdout] 79 | | /// directories. With this option, headers can be excluded from being inlined. By prefixing the [INFO] [stdout] ... | [INFO] [stdout] 93 | | )] [INFO] [stdout] 94 | | filter: Vec, [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/process.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 73 | let include = static_regex(r#"^\s*#\s*include\s*(["<][^>"]+[">])\s*$"#); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | pragma_once: static_regex(r"^\s*#\s*pragma\s+once\s*$"), [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/cli.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Filter which quote includes are inlined. [INFO] [stdout] 97 | | /// [INFO] [stdout] 98 | | /// This option works just like --filter, except it only applies to quote includes. [INFO] [stdout] 99 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 104 | | )] [INFO] [stdout] 105 | | filter_quote: Vec, [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/cli.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / /// Filter which system includes are inlined. [INFO] [stdout] 108 | | /// [INFO] [stdout] 109 | | /// This option works just like --filter, except it only applies to system includes. [INFO] [stdout] 110 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 115 | | )] [INFO] [stdout] 116 | | filter_system: Vec, [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/process.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 105 | writer: W, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | inlining_filter: InliningFilter, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | regexes: Regexes::new(), [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/cli.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / /// How to handle an unresolvable include. [INFO] [stdout] 119 | | /// [INFO] [stdout] 120 | | /// By default, cpp-amalgamate ignores includes which cannot be resolved to allow specifying [INFO] [stdout] 121 | | /// only the necessary search directories. This flag can be used to assert that all includes are [INFO] [stdout] ... | [INFO] [stdout] 131 | | )] [INFO] [stdout] 132 | | unresolvable_include: Option, [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/cli.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / /// How to handle an unresolvable quote include. [INFO] [stdout] 135 | | /// [INFO] [stdout] 136 | | /// Works like --unresolvable-include, except only for quote includes. [INFO] [stdout] 137 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 141 | | )] [INFO] [stdout] 142 | | unresolvable_quote_include: Option, [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/cli.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | / /// How to handle an unresolvable system include. [INFO] [stdout] 145 | | /// [INFO] [stdout] 146 | | /// Works like --unresolvable-include, except only for system includes. [INFO] [stdout] 147 | | #[clap( [INFO] [stdout] ... | [INFO] [stdout] 151 | | )] [INFO] [stdout] 152 | | unresolvable_system_include: Option, [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/cli.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | / /// How to handle a cyclic include. [INFO] [stdout] 155 | | /// [INFO] [stdout] 156 | | /// Uses the same values as --unresolvable-include (error, warn, ignore), except that it [INFO] [stdout] 157 | | /// defaults to error. [INFO] [stdout] ... | [INFO] [stdout] 162 | | )] [INFO] [stdout] 163 | | cyclic_include: Option, [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/filter.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 45 | globs: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 65 | Ok((set_builder.build()?, infos)) [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/filter.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 94 | quote_globs: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | system_globs: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | ) -> Result { [INFO] [stdout] 97 | let (quote_set, quote_infos) = build_set_and_infos("Quote", quote_globs)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | let (system_set, system_infos) = build_set_and_infos("System", system_globs)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 100 | | quote_set, [INFO] [stdout] 101 | | quote_infos, [INFO] [stdout] 102 | | system_set, [INFO] [stdout] 103 | | system_infos, [INFO] [stdout] 104 | | indices: Vec::new(), [INFO] [stdout] 105 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/process.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 73 | let include = static_regex(r#"^\s*#\s*include\s*(["<][^>"]+[">])\s*$"#); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | pragma_once: static_regex(r"^\s*#\s*pragma\s+once\s*$"), [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/process.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 105 | writer: W, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | inlining_filter: InliningFilter, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 124 | regexes: Regexes::new(), [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpp-amalgamate` (bin "cpp-amalgamate" test) due to 12 previous errors [INFO] [stderr] error: could not compile `cpp-amalgamate` (bin "cpp-amalgamate") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "d34289048b2690394879e732662d6e784be80eb00eb9c46b356e144da7e368ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34289048b2690394879e732662d6e784be80eb00eb9c46b356e144da7e368ab", kill_on_drop: false }` [INFO] [stdout] d34289048b2690394879e732662d6e784be80eb00eb9c46b356e144da7e368ab