[INFO] cloning repository https://github.com/Monadic-Cat/wesmaild [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Monadic-Cat/wesmaild" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonadic-Cat%2Fwesmaild", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMonadic-Cat%2Fwesmaild'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acdb7e6ad62819f38d1d89e11ca366952f8893db [INFO] checking Monadic-Cat/wesmaild/acdb7e6ad62819f38d1d89e11ca366952f8893db 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%2FMonadic-Cat%2Fwesmaild" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Monadic-Cat/wesmaild 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/Monadic-Cat/wesmaild [INFO] finished tweaking git repo https://github.com/Monadic-Cat/wesmaild [INFO] tweaked toml for git repo https://github.com/Monadic-Cat/wesmaild written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Monadic-Cat/wesmaild 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] fcd8b7679c8d9e3c2a1e0c87a428e9cbba75e16b56f126a9e6ffcebef9116af4 [INFO] running `Command { std: "docker" "start" "-a" "fcd8b7679c8d9e3c2a1e0c87a428e9cbba75e16b56f126a9e6ffcebef9116af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcd8b7679c8d9e3c2a1e0c87a428e9cbba75e16b56f126a9e6ffcebef9116af4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd8b7679c8d9e3c2a1e0c87a428e9cbba75e16b56f126a9e6ffcebef9116af4", kill_on_drop: false }` [INFO] [stdout] fcd8b7679c8d9e3c2a1e0c87a428e9cbba75e16b56f126a9e6ffcebef9116af4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 194dd54bf385bb15d35130bc8042febc5e36877a5151ef70232e17e52d41a6ee [INFO] running `Command { std: "docker" "start" "-a" "194dd54bf385bb15d35130bc8042febc5e36877a5151ef70232e17e52d41a6ee", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking time v0.3.4 [INFO] [stderr] Checking bumpalo v3.8.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking wml v0.1.0 (/opt/rustwide/workdir/wml) [INFO] [stdout] warning: unused import: `::bumpalo::boxed::Box` [INFO] [stdout] --> wml/src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub use ::bumpalo::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::bumpalo::boxed::Box` [INFO] [stdout] --> wml/src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub use ::bumpalo::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> wml/src/lib.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 356 | fn parse<'a, E: Effects>(e: &E, input: &'a [u8], offset: usize) -> PResult<'a, Self, ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> wml/src/lib.rs:485:30 [INFO] [stdout] | [INFO] [stdout] 485 | fn parse<'a, E: Effects>(e: &E, input: &'a [u8], offset: usize) -> PResult<'a, Self, ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Tag(Tag<'a>), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagOrAttr` 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] 133 | Tag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | Attr(Attribute<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagOrAttr` 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] 134 | Attr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `content` are never read [INFO] [stdout] --> wml/src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 153 | struct Tag<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 160 | content: bump::Vec<'a, TagOrAttr<'a>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` 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 `domain`, `key_sequence`, and `value` are never read [INFO] [stdout] --> wml/src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | struct Attribute<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 243 | domain: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | key_sequence: KeySequence<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 245 | value: Value<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` 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 `first` and `names` are never read [INFO] [stdout] --> wml/src/lib.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 268 | struct KeySequence<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 269 | first: Name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 270 | names: bump::Vec<'a, Name>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeySequence` 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 `first` and `rest` are never read [INFO] [stdout] --> wml/src/lib.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | struct Value<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 299 | first: ValueComponent, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 300 | rest: bump::Vec<'a, (Option, ValueComponent)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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] --> wml/src/lib.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | Text(Text), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueComponent` 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] 351 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | String(WString), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueComponent` 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] 352 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | RawString(RawString), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueComponent` 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] 353 | RawString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> wml/src/lib.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 390 | struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 391 | content: StringKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` 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 `content` is never read [INFO] [stdout] --> wml/src/lib.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 418 | struct WString { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 419 | content: StringKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WString` 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 `content` is never read [INFO] [stdout] --> wml/src/lib.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | struct RawString { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 451 | content: StringKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawString` 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 `name` is never read [INFO] [stdout] --> wml/src/lib.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 481 | struct TextDomain { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 482 | name: StringKey, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextDomain` 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 `top` and `text` are never read [INFO] [stdout] --> wml/src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 510 | pub struct Doc<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 511 | top: bump::Vec<'a, TagOrAttr<'a>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 512 | text: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Doc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NullHandler` is never constructed [INFO] [stdout] --> wml/src/effects.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct NullHandler; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> wml/src/effects.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Printer<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Printer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FallbackHandler` is never constructed [INFO] [stdout] --> wml/src/effects.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct FallbackHandler<'a, A, B> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EffectResult` is never used [INFO] [stdout] --> wml/src/effects.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum EffectResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> wml/src/effects.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl EffectResult { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 28 | #[track_caller] [INFO] [stdout] 29 | pub(crate) fn unwrap(self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bytes`, `get_str`, and `or` are never used [INFO] [stdout] --> wml/src/effects.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) trait Effects { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 38 | fn get_bytes(&self, key: super::StringKey) -> EffectResult<&[u8]>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | fn get_str(&self, key: super::StringKey) -> EffectResult<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn or<'a, H: Effects>(&'a self, other: &'a H) -> FallbackHandler<'_, Self, H> where Self: Sized { [INFO] [stdout] | ^^ [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] --> wml/src/lib.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|(rest, tag)| (rest, Self::Tag(tag))) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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: 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] --> wml/src/lib.rs:142:85 [INFO] [stdout] | [INFO] [stdout] 142 | Attribute::parse(e, arena, input, offset).map(|(rest, attr)| (rest, Self::Attr(attr))) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> wml/src/lib.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 175 | let mut content = bump::Vec::::new_in(arena); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | Ok((rest, Self { name, content })) [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] --> wml/src/lib.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 254 | let (rest, key_sequence) = KeySequence::parse(arena, rest, offset(rest))?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | let rest = tagged(b"=", rest)?; [INFO] [stdout] 256 | let (rest, value) = Value::parse(e, arena, rest, offset(rest))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let rest = tagged(b"\n", rest)?; [INFO] [stdout] 258 | Ok((rest, Self { domain, key_sequence, value })) [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] | [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] --> wml/src/lib.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 277 | let mut names = bump::Vec::new_in(arena); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | Ok((cursor, Self { first, names })) [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] --> wml/src/lib.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 310 | let mut vec = bump::Vec::new_in(arena); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Ok((cursor, Self { first, rest: 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: aborting due to 6 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> wml/src/lib.rs:569:31 [INFO] [stdout] | [INFO] [stdout] 569 | let input = IntoIter::new(*b"lol=\"hello\"\n").collect::>(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wml` (lib) due to 7 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> wml/src/lib.rs:356:30 [INFO] [stdout] | [INFO] [stdout] 356 | fn parse<'a, E: Effects>(e: &E, input: &'a [u8], offset: usize) -> PResult<'a, Self, ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> wml/src/lib.rs:485:30 [INFO] [stdout] | [INFO] [stdout] 485 | fn parse<'a, E: Effects>(e: &E, input: &'a [u8], offset: usize) -> PResult<'a, Self, ()> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | Tag(Tag<'a>), [INFO] [stdout] | --- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagOrAttr` 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] 133 | Tag(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | Attr(Attribute<'a>), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TagOrAttr` 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] 134 | Attr(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `content` are never read [INFO] [stdout] --> wml/src/lib.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 153 | struct Tag<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 159 | name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 160 | content: bump::Vec<'a, TagOrAttr<'a>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tag` 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 `domain`, `key_sequence`, and `value` are never read [INFO] [stdout] --> wml/src/lib.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 242 | struct Attribute<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 243 | domain: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 244 | key_sequence: KeySequence<'a>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 245 | value: Value<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` 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 `first` and `names` are never read [INFO] [stdout] --> wml/src/lib.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 268 | struct KeySequence<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 269 | first: Name, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 270 | names: bump::Vec<'a, Name>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeySequence` 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 `first` and `rest` are never read [INFO] [stdout] --> wml/src/lib.rs:299:5 [INFO] [stdout] | [INFO] [stdout] 298 | struct Value<'a> { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 299 | first: ValueComponent, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 300 | rest: bump::Vec<'a, (Option, ValueComponent)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` 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] --> wml/src/lib.rs:351:10 [INFO] [stdout] | [INFO] [stdout] 351 | Text(Text), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueComponent` 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] 351 | Text(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | String(WString), [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueComponent` 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] 352 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> wml/src/lib.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 353 | RawString(RawString), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ValueComponent` 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] 353 | RawString(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> wml/src/lib.rs:391:5 [INFO] [stdout] | [INFO] [stdout] 390 | struct Text { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 391 | content: StringKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Text` 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 `content` is never read [INFO] [stdout] --> wml/src/lib.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 418 | struct WString { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 419 | content: StringKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WString` 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 `content` is never read [INFO] [stdout] --> wml/src/lib.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 450 | struct RawString { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 451 | content: StringKey, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawString` 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 `name` is never read [INFO] [stdout] --> wml/src/lib.rs:482:5 [INFO] [stdout] | [INFO] [stdout] 481 | struct TextDomain { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 482 | name: StringKey, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TextDomain` 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 `top` and `text` are never read [INFO] [stdout] --> wml/src/lib.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 510 | pub struct Doc<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 511 | top: bump::Vec<'a, TagOrAttr<'a>>, [INFO] [stdout] | ^^^ [INFO] [stdout] 512 | text: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Doc` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NullHandler` is never constructed [INFO] [stdout] --> wml/src/effects.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct NullHandler; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> wml/src/effects.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct Printer<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 9 | data: &'a [u8], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Printer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FallbackHandler` is never constructed [INFO] [stdout] --> wml/src/effects.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) struct FallbackHandler<'a, A, B> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EffectResult` is never used [INFO] [stdout] --> wml/src/effects.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) enum EffectResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unwrap` is never used [INFO] [stdout] --> wml/src/effects.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 27 | impl EffectResult { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] 28 | #[track_caller] [INFO] [stdout] 29 | pub(crate) fn unwrap(self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_bytes`, `get_str`, and `or` are never used [INFO] [stdout] --> wml/src/effects.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) trait Effects { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 38 | fn get_bytes(&self, key: super::StringKey) -> EffectResult<&[u8]>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 39 | fn get_str(&self, key: super::StringKey) -> EffectResult<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn or<'a, H: Effects>(&'a self, other: &'a H) -> FallbackHandler<'_, Self, H> where Self: Sized { [INFO] [stdout] | ^^ [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] --> wml/src/lib.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|(rest, tag)| (rest, Self::Tag(tag))) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [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: 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] --> wml/src/lib.rs:142:85 [INFO] [stdout] | [INFO] [stdout] 142 | Attribute::parse(e, arena, input, offset).map(|(rest, attr)| (rest, Self::Attr(attr))) [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [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] --> wml/src/lib.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 175 | let mut content = bump::Vec::::new_in(arena); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 198 | Ok((rest, Self { name, content })) [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] --> wml/src/lib.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 254 | let (rest, key_sequence) = KeySequence::parse(arena, rest, offset(rest))?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 255 | let rest = tagged(b"=", rest)?; [INFO] [stdout] 256 | let (rest, value) = Value::parse(e, arena, rest, offset(rest))?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 257 | let rest = tagged(b"\n", rest)?; [INFO] [stdout] 258 | Ok((rest, Self { domain, key_sequence, value })) [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] | [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] --> wml/src/lib.rs:288:12 [INFO] [stdout] | [INFO] [stdout] 277 | let mut names = bump::Vec::new_in(arena); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 288 | Ok((cursor, Self { first, names })) [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] --> wml/src/lib.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 310 | let mut vec = bump::Vec::new_in(arena); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 340 | Ok((cursor, Self { first, rest: 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: aborting due to 6 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wml` (lib test) due to 7 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "194dd54bf385bb15d35130bc8042febc5e36877a5151ef70232e17e52d41a6ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194dd54bf385bb15d35130bc8042febc5e36877a5151ef70232e17e52d41a6ee", kill_on_drop: false }` [INFO] [stdout] 194dd54bf385bb15d35130bc8042febc5e36877a5151ef70232e17e52d41a6ee