[INFO] cloning repository https://github.com/Spaceginner/ewwi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spaceginner/ewwi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceginner%2Fewwi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpaceginner%2Fewwi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1efe946b00fc155941ebe1cfc250b29ce468a1a6 [INFO] checking Spaceginner/ewwi/1efe946b00fc155941ebe1cfc250b29ce468a1a6 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%2FSpaceginner%2Fewwi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Spaceginner/ewwi 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-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Spaceginner/ewwi [INFO] finished tweaking git repo https://github.com/Spaceginner/ewwi [INFO] tweaked toml for git repo https://github.com/Spaceginner/ewwi written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Spaceginner/ewwi 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] f04541674e40c65ced63b7aa8f7a4111b1f0641143ded73e858aa85806f68d73 [INFO] running `Command { std: "docker" "start" "-a" "f04541674e40c65ced63b7aa8f7a4111b1f0641143ded73e858aa85806f68d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f04541674e40c65ced63b7aa8f7a4111b1f0641143ded73e858aa85806f68d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f04541674e40c65ced63b7aa8f7a4111b1f0641143ded73e858aa85806f68d73", kill_on_drop: false }` [INFO] [stdout] f04541674e40c65ced63b7aa8f7a4111b1f0641143ded73e858aa85806f68d73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] fb666be7fc4e4b63c8f51607968e6d6f5a07621563a36502dfd595ef54a01089 [INFO] running `Command { std: "docker" "start" "-a" "fb666be7fc4e4b63c8f51607968e6d6f5a07621563a36502dfd595ef54a01089", kill_on_drop: false }` [INFO] [stderr] Checking ewwi v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `TEST_SCRIPT` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const TEST_SCRIPT: &str = include_str!("../example_scripts/hello_world.eww"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `value` are never read [INFO] [stdout] --> src/syntax/lexer.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | InvalidMarker { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 117 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: fields `pos`, `value`, and `error` are never read [INFO] [stdout] --> src/syntax/lexer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | InvalidLiteralInteger { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 121 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 122 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | error: ParseIntError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: fields `pos`, `value`, and `error` are never read [INFO] [stdout] --> src/syntax/lexer.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | InvalidLiteralFloat { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 126 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 128 | error: ParseFloatError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: fields `pos`, `value`, and `error` are never read [INFO] [stdout] --> src/syntax/lexer.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | InvalidEscapeSequence { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 131 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 132 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | error: CharUnescapingError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: field `pos` is never read [INFO] [stdout] --> src/syntax/lexer.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | EmptyChar { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 136 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: variant `DoesNotEndWithNewline` is never constructed [INFO] [stdout] --> src/syntax/lexer.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum LexingError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 138 | DoesNotEndWithNewline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: function `lex` is never used [INFO] [stdout] --> src/syntax/lexer.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn lex(source: &str) -> Result, LexingError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `while_parsing` and `lexing_error` are never read [INFO] [stdout] --> src/syntax/parser.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | UnexpectedEOS { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 132 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 133 | lexing_error: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `while_parsing`, `expecting_common`, `expecting_marker`, `expecting_key`, `expecting_literal`, and `expecting_break` are never read [INFO] [stdout] --> src/syntax/parser.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | ExpectedDifferentWord { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 136 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 137 | got: Word, [INFO] [stdout] 138 | expecting_common: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | expecting_marker: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | expecting_key: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | expecting_literal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | expecting_break: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `while_parsing`, `expected`, and `optional` are never read [INFO] [stdout] --> src/syntax/parser.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | ExpectedDifferentKeyWord { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 145 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `while_parsing`, `expected`, and `optional` are never read [INFO] [stdout] --> src/syntax/parser.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | ExpectedDifferentMarkerWord { [INFO] [stdout] | --------------------------- fields in this variant [INFO] [stdout] 152 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `Module` is never constructed [INFO] [stdout] --> src/syntax/parser.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `Import` is never constructed [INFO] [stdout] --> src/syntax/parser.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Scope` is never used [INFO] [stdout] --> src/syntax/parser.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Definition` is never used [INFO] [stdout] --> src/syntax/parser.rs:508:10 [INFO] [stdout] | [INFO] [stdout] 508 | pub enum Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_module` is never used [INFO] [stdout] --> src/syntax/parser.rs:793:8 [INFO] [stdout] | [INFO] [stdout] 522 | impl<'a, C: Iterator> Parser<'a, C> { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 793 | fn parse_module(&mut self) -> Res { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opt_common` is never used [INFO] [stdout] --> src/syntax/parser.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) trait Check [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn opt_common(self, while_parsing: &'static str, word_stream: &mut WordStream<'_, impl Iterator>) -> Result src/syntax/lexer.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn new(chars: C) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | Self { [INFO] [stdout] 204 | chars: chars.enumerate(), [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/syntax/parser.rs:594:40 [INFO] [stdout] | [INFO] [stdout] 591 | ... let key = parser.parse_expression()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 592 | ... parser.next("value [dictionary/item/... [INFO] [stdout] 593 | ... let value = parser.parse_expression()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 594 | ... Ok((key, 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] --> src/syntax/parser.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 799 | pub fn parse(word_stream: WordStream<'_, impl Iterator>) -> Result { [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 800 | Parser::new(word_stream).parse_command() [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 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ewwi` (bin "ewwi") due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `TEST_SCRIPT` is never used [INFO] [stdout] --> src/main.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const TEST_SCRIPT: &str = include_str!("../example_scripts/hello_world.eww"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos` and `value` are never read [INFO] [stdout] --> src/syntax/lexer.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 116 | InvalidMarker { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 117 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 118 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: fields `pos`, `value`, and `error` are never read [INFO] [stdout] --> src/syntax/lexer.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 120 | InvalidLiteralInteger { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 121 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 122 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 123 | error: ParseIntError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: fields `pos`, `value`, and `error` are never read [INFO] [stdout] --> src/syntax/lexer.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 125 | InvalidLiteralFloat { [INFO] [stdout] | ------------------- fields in this variant [INFO] [stdout] 126 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 127 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 128 | error: ParseFloatError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: fields `pos`, `value`, and `error` are never read [INFO] [stdout] --> src/syntax/lexer.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 130 | InvalidEscapeSequence { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 131 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 132 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | error: CharUnescapingError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: field `pos` is never read [INFO] [stdout] --> src/syntax/lexer.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | EmptyChar { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 136 | pos: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: variant `DoesNotEndWithNewline` is never constructed [INFO] [stdout] --> src/syntax/lexer.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub enum LexingError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 138 | DoesNotEndWithNewline, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LexingError` 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: function `lex` is never used [INFO] [stdout] --> src/syntax/lexer.rs:456:8 [INFO] [stdout] | [INFO] [stdout] 456 | pub fn lex(source: &str) -> Result, LexingError> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `while_parsing` and `lexing_error` are never read [INFO] [stdout] --> src/syntax/parser.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 131 | UnexpectedEOS { [INFO] [stdout] | ------------- fields in this variant [INFO] [stdout] 132 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 133 | lexing_error: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `while_parsing`, `expecting_common`, `expecting_marker`, `expecting_key`, `expecting_literal`, and `expecting_break` are never read [INFO] [stdout] --> src/syntax/parser.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | ExpectedDifferentWord { [INFO] [stdout] | --------------------- fields in this variant [INFO] [stdout] 136 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 137 | got: Word, [INFO] [stdout] 138 | expecting_common: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | expecting_marker: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 140 | expecting_key: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 141 | expecting_literal: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 142 | expecting_break: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `while_parsing`, `expected`, and `optional` are never read [INFO] [stdout] --> src/syntax/parser.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 144 | ExpectedDifferentKeyWord { [INFO] [stdout] | ------------------------ fields in this variant [INFO] [stdout] 145 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 149 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `while_parsing`, `expected`, and `optional` are never read [INFO] [stdout] --> src/syntax/parser.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 151 | ExpectedDifferentMarkerWord { [INFO] [stdout] | --------------------------- fields in this variant [INFO] [stdout] 152 | while_parsing: &'static str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | expected: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 156 | optional: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsingError` 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 `Module` is never constructed [INFO] [stdout] --> src/syntax/parser.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct Module { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Module` 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 `Import` is never constructed [INFO] [stdout] --> src/syntax/parser.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Import { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Import` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Scope` is never used [INFO] [stdout] --> src/syntax/parser.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | pub enum Scope { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Definition` is never used [INFO] [stdout] --> src/syntax/parser.rs:508:10 [INFO] [stdout] | [INFO] [stdout] 508 | pub enum Definition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_module` is never used [INFO] [stdout] --> src/syntax/parser.rs:793:8 [INFO] [stdout] | [INFO] [stdout] 522 | impl<'a, C: Iterator> Parser<'a, C> { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 793 | fn parse_module(&mut self) -> Res { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `opt_common` is never used [INFO] [stdout] --> src/syntax/parser.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub(super) trait Check [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn opt_common(self, while_parsing: &'static str, word_stream: &mut WordStream<'_, impl Iterator>) -> Result src/syntax/lexer.rs:204:20 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn new(chars: C) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | Self { [INFO] [stdout] 204 | chars: chars.enumerate(), [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/syntax/parser.rs:594:40 [INFO] [stdout] | [INFO] [stdout] 591 | ... let key = parser.parse_expression()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 592 | ... parser.next("value [dictionary/item/... [INFO] [stdout] 593 | ... let value = parser.parse_expression()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 594 | ... Ok((key, 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] --> src/syntax/parser.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 799 | pub fn parse(word_stream: WordStream<'_, impl Iterator>) -> Result { [INFO] [stdout] | ------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 800 | Parser::new(word_stream).parse_command() [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 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ewwi` (bin "ewwi" test) due to 4 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fb666be7fc4e4b63c8f51607968e6d6f5a07621563a36502dfd595ef54a01089", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb666be7fc4e4b63c8f51607968e6d6f5a07621563a36502dfd595ef54a01089", kill_on_drop: false }` [INFO] [stdout] fb666be7fc4e4b63c8f51607968e6d6f5a07621563a36502dfd595ef54a01089