[INFO] cloning repository https://github.com/AshtonSnapp/rouge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AshtonSnapp/rouge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonSnapp%2Frouge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAshtonSnapp%2Frouge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5571570408eaa06e68c60363aace070525e5d90f [INFO] checking AshtonSnapp/rouge/5571570408eaa06e68c60363aace070525e5d90f 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%2FAshtonSnapp%2Frouge" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AshtonSnapp/rouge 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/AshtonSnapp/rouge [INFO] finished tweaking git repo https://github.com/AshtonSnapp/rouge [INFO] tweaked toml for git repo https://github.com/AshtonSnapp/rouge written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AshtonSnapp/rouge 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 12bb329975a01f7c28dcc2dce48c467647b93b1bc2539f03cbb9087e95f7d675 [INFO] running `Command { std: "docker" "start" "-a" "12bb329975a01f7c28dcc2dce48c467647b93b1bc2539f03cbb9087e95f7d675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12bb329975a01f7c28dcc2dce48c467647b93b1bc2539f03cbb9087e95f7d675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12bb329975a01f7c28dcc2dce48c467647b93b1bc2539f03cbb9087e95f7d675", kill_on_drop: false }` [INFO] [stdout] 12bb329975a01f7c28dcc2dce48c467647b93b1bc2539f03cbb9087e95f7d675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] bedb18d24063917e99953142e8677eeb1d7f5ff1e4629b8c8e46021edc3e2bc5 [INFO] running `Command { std: "docker" "start" "-a" "bedb18d24063917e99953142e8677eeb1d7f5ff1e4629b8c8e46021edc3e2bc5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling zstd-safe v5.0.1+zstd.1.5.2 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking clap v4.0.4 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Checking logos v0.12.0 [INFO] [stderr] Checking zstd v0.11.1+zstd.1.5.2 [INFO] [stderr] Checking rouge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `InterpretError` [INFO] [stdout] --> src/compiler/lexer.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | InterpretError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInner` [INFO] [stdout] --> src/compiler/parser/cstgen.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | TokenInner, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorList` and `Error` [INFO] [stdout] --> src/compiler/parser/mod.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | ErrorList, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::InterpretError` [INFO] [stdout] --> src/compiler/parser/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::InterpretError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cstgen::ConcreteSyntaxTree` [INFO] [stdout] --> src/compiler/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cstgen::ConcreteSyntaxTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::Path` [INFO] [stdout] --> src/compiler/parser/mod.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `InterpretError` [INFO] [stdout] --> src/compiler/lexer.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 9 | InterpretError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/compiler/lexer.rs:712:6 [INFO] [stdout] | [INFO] [stdout] 712 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenInner` [INFO] [stdout] --> src/compiler/parser/cstgen.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | TokenInner, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorList` and `Error` [INFO] [stdout] --> src/compiler/parser/mod.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | ErrorList, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::InterpretError` [INFO] [stdout] --> src/compiler/parser/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::InterpretError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cstgen::ConcreteSyntaxTree` [INFO] [stdout] --> src/compiler/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use cstgen::ConcreteSyntaxTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `path::Path` [INFO] [stdout] --> src/compiler/parser/mod.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/compiler/lexer.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | fn slice_index(&self, count: usize) -> std::result::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/parser/cstgen.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let mut errors = ErrorList::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 107 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 108 | /// Creates a new error object. [INFO] [stdout] 109 | pub(crate) fn new(is_warning: bool, file: Option<&Path>, line: Option, span: Option, slice: Option<&str>, kind: ErrorKin... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile(paths: Vec<&Path>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/compiler/lexer.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lex_file` is never used [INFO] [stdout] --> src/compiler/lexer.rs:430:16 [INFO] [stdout] | [INFO] [stdout] 427 | impl TokenStream { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn lex_file(p: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokens_to_ast` is never used [INFO] [stdout] --> src/compiler/parser/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn tokens_to_ast() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) type Result = std::result::Result<(ConcreteSyntaxTree, ErrorList), ErrorList>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextStack` is never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type ContextStack = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcreteSyntaxTree` is never constructed [INFO] [stdout] --> src/compiler/parser/cstgen.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ConcreteSyntaxTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcreteSyntaxNode` is never constructed [INFO] [stdout] --> src/compiler/parser/cstgen.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) struct ConcreteSyntaxNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | impl ConcreteSyntaxTree { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 50 | pub(crate) fn new(path: &Path, mut tokens: TokenStream) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lefthand`, `righthand`, `with_lefthand`, and `with_righthand` are never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 87 | impl ConcreteSyntaxNode { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 88 | pub(crate) fn new(token: Token) -> ConcreteSyntaxNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(crate) fn lefthand(self, lhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn righthand(self, rhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn with_lefthand(&mut self, lhs: ConcreteSyntaxNode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn with_righthand(&mut self, rhs: ConcreteSyntaxNode) { [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] --> src/compiler/parser/cstgen.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn lefthand(self, lhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ---- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ConcreteSyntaxNode { [INFO] [stdout] 98 | lhs: Some(Box::new(lhs)), [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/compiler/parser/cstgen.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn righthand(self, rhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ---- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ConcreteSyntaxNode { [INFO] [stdout] 105 | rhs: Some(Box::new(rhs)), [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] warning: unused variable: `count` [INFO] [stdout] --> src/compiler/lexer.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | fn slice_index(&self, count: usize) -> std::result::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compiler/parser/cstgen.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | let mut errors = ErrorList::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 107 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 108 | /// Creates a new error object. [INFO] [stdout] 109 | pub(crate) fn new(is_warning: bool, file: Option<&Path>, line: Option, span: Option, slice: Option<&str>, kind: ErrorKin... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/compiler/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn compile(paths: Vec<&Path>) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/compiler/lexer.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lex_file` is never used [INFO] [stdout] --> src/compiler/lexer.rs:430:16 [INFO] [stdout] | [INFO] [stdout] 427 | impl TokenStream { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 430 | pub(crate) fn lex_file(p: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tokens_to_ast` is never used [INFO] [stdout] --> src/compiler/parser/mod.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn tokens_to_ast() {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | pub(crate) type Result = std::result::Result<(ConcreteSyntaxTree, ErrorList), ErrorList>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ContextStack` is never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:30:6 [INFO] [stdout] | [INFO] [stdout] 30 | type ContextStack = Vec; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcreteSyntaxTree` is never constructed [INFO] [stdout] --> src/compiler/parser/cstgen.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) struct ConcreteSyntaxTree { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConcreteSyntaxNode` is never constructed [INFO] [stdout] --> src/compiler/parser/cstgen.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | pub(crate) struct ConcreteSyntaxNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | impl ConcreteSyntaxTree { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 50 | pub(crate) fn new(path: &Path, mut tokens: TokenStream) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lefthand`, `righthand`, `with_lefthand`, and `with_righthand` are never used [INFO] [stdout] --> src/compiler/parser/cstgen.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 87 | impl ConcreteSyntaxNode { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 88 | pub(crate) fn new(token: Token) -> ConcreteSyntaxNode { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub(crate) fn lefthand(self, lhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub(crate) fn righthand(self, rhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub(crate) fn with_lefthand(&mut self, lhs: ConcreteSyntaxNode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub(crate) fn with_righthand(&mut self, rhs: ConcreteSyntaxNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rouge` (lib test) due to 3 previous errors; 20 warnings emitted [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/compiler/parser/cstgen.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub(crate) fn lefthand(self, lhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ---- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | ConcreteSyntaxNode { [INFO] [stdout] 98 | lhs: Some(Box::new(lhs)), [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/compiler/parser/cstgen.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub(crate) fn righthand(self, rhs: ConcreteSyntaxNode) -> ConcreteSyntaxNode { [INFO] [stdout] | ---- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | ConcreteSyntaxNode { [INFO] [stdout] 105 | rhs: Some(Box::new(rhs)), [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 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rouge` (lib) due to 3 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bedb18d24063917e99953142e8677eeb1d7f5ff1e4629b8c8e46021edc3e2bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bedb18d24063917e99953142e8677eeb1d7f5ff1e4629b8c8e46021edc3e2bc5", kill_on_drop: false }` [INFO] [stdout] bedb18d24063917e99953142e8677eeb1d7f5ff1e4629b8c8e46021edc3e2bc5