[INFO] cloning repository https://github.com/csicar/structless [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/csicar/structless" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsicar%2Fstructless", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcsicar%2Fstructless'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b8d1e04ac45b3fc882dee45a9b1f3516e8a53f0 [INFO] checking csicar/structless/1b8d1e04ac45b3fc882dee45a9b1f3516e8a53f0 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%2Fcsicar%2Fstructless" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/csicar/structless 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/csicar/structless [INFO] finished tweaking git repo https://github.com/csicar/structless [INFO] tweaked toml for git repo https://github.com/csicar/structless written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/csicar/structless 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6fcd6681289120c8fd72e81099a5f1ed395666d8bc984e76de3b482e75766bae [INFO] running `Command { std: "docker" "start" "-a" "6fcd6681289120c8fd72e81099a5f1ed395666d8bc984e76de3b482e75766bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fcd6681289120c8fd72e81099a5f1ed395666d8bc984e76de3b482e75766bae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fcd6681289120c8fd72e81099a5f1ed395666d8bc984e76de3b482e75766bae", kill_on_drop: false }` [INFO] [stdout] 6fcd6681289120c8fd72e81099a5f1ed395666d8bc984e76de3b482e75766bae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 3134d6ac355f937af7cc1d090950e12d0a925d241f51863ac5ddee34f9947f88 [INFO] running `Command { std: "docker" "start" "-a" "3134d6ac355f937af7cc1d090950e12d0a925d241f51863ac5ddee34f9947f88", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking unicode-segmentation v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling tree-sitter v0.20.6 [INFO] [stderr] Compiling tree-sitter-structless v0.0.1 (/opt/rustwide/workdir/tree-sitter-structless) [INFO] [stderr] Compiling tree-sitter-rust v0.20.1 [INFO] [stderr] Compiling tree-sitter-json v0.19.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking crossterm v0.23.1 [INFO] [stderr] Checking tui v0.17.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling clap_derive v3.1.4 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Checking tracing-subscriber v0.3.9 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Checking structless v0.1.0 (/opt/rustwide/workdir/structless) [INFO] [stdout] warning: unused imports: `BufWriter`, `Bytes`, `HashMap`, `convert::Infallible`, `fmt::Display`, `iter::Peekable`, `path::Path`, `str::FromStr`, `thread`, and `time::Duration` [INFO] [stdout] --> structless/src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | fs::File, [INFO] [stdout] 7 | io::{self, BufRead, BufReader, BufWriter, Bytes, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 8 | iter::Peekable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | sync::Arc, [INFO] [stdout] 12 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> structless/src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{error, instrument, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format::Writer` [INFO] [stdout] --> structless/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::fmt::format::Writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TreeCursor` [INFO] [stdout] --> structless/src/main.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | use tree_sitter::{Language, Node, Parser, Range, Tree, TreeCursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> structless/src/main.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | layout::{Alignment, Constraint, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> structless/src/main.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | if (s.len() > max_length) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - if (s.len() > max_length) { [INFO] [stdout] 323 + if s.len() > max_length { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufWriter`, `Bytes`, `HashMap`, `convert::Infallible`, `fmt::Display`, `iter::Peekable`, `path::Path`, `str::FromStr`, `thread`, and `time::Duration` [INFO] [stdout] --> structless/src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | convert::Infallible, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fmt::Display, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 6 | fs::File, [INFO] [stdout] 7 | io::{self, BufRead, BufReader, BufWriter, Bytes, Read, Write}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] 8 | iter::Peekable, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | path::Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | sync::Arc, [INFO] [stdout] 12 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> structless/src/main.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing::{error, instrument, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::format::Writer` [INFO] [stdout] --> structless/src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::fmt::format::Writer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TreeCursor` [INFO] [stdout] --> structless/src/main.rs:22:56 [INFO] [stdout] | [INFO] [stdout] 22 | use tree_sitter::{Language, Node, Parser, Range, Tree, TreeCursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Alignment` [INFO] [stdout] --> structless/src/main.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | layout::{Alignment, Constraint, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> structless/src/main.rs:323:8 [INFO] [stdout] | [INFO] [stdout] 323 | if (s.len() > max_length) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 323 - if (s.len() > max_length) { [INFO] [stdout] 323 + if s.len() > max_length { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> structless/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | io::{self, BufRead, BufReader, BufWriter, Bytes, Read, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> structless/src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | io::{self, BufRead, BufReader, BufWriter, Bytes, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> structless/src/main.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | io::{self, BufRead, BufReader, BufWriter, Bytes, Read, Write}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> structless/src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | io::{self, BufRead, BufReader, BufWriter, Bytes, Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> structless/src/main.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 153 | let mut f = flatten(app.tree.root_node(), 0, Arc::new(|id| false)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> structless/src/main.rs:153:60 [INFO] [stdout] | [INFO] [stdout] 153 | let mut f = flatten(app.tree.root_node(), 0, Arc::new(|id| false)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [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] --> structless/src/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut f = flatten(app.tree.root_node(), 0, Arc::new(|id| false)); [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: variable does not need to be mutable [INFO] [stdout] --> structless/src/main.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut f = flatten(app.tree.root_node(), 0, Arc::new(|id| false)); [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: methods `selected` and `select` are never used [INFO] [stdout] --> structless/src/tree.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl ListState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 17 | pub fn selected(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn select(&mut self, index: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `style` are never used [INFO] [stdout] --> structless/src/tree.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> ListItem<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 36 | pub fn new(content: T) -> ListItem<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn style(mut self, style: Style) -> ListItem<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> structless/src/tree.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 85 | impl<'a> Tree<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new(items: T) -> Tree<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn block(mut self, block: Block<'a>) -> Tree<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn style(mut self, style: Style) -> Tree<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn highlight_symbol(mut self, highlight_symbol: &'a str) -> Tree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn highlight_style(mut self, style: Style) -> Tree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn repeat_highlight_symbol(mut self, repeat: bool) -> Tree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn start_corner(mut self, corner: Corner) -> Tree<'a> { [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] --> structless/src/main.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parser = Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | let tree = Arc::new(parser.parse(&source_code, None).unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | // let cursor = tree.root_node().id(); [INFO] [stdout] 139 | Ok(App { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | search_term: "".to_string(), [INFO] [stdout] 141 | | input_mode: InputMode::Normal, [INFO] [stdout] 142 | | tree, [INFO] [stdout] ... | [INFO] [stdout] 147 | | view_mode: ViewMode::Tree, [INFO] [stdout] 148 | | }) [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] --> structless/src/main.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 240 | let mut cursor = node.walk(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | [INFO] [stdout] 242 | / node.children(&mut cursor) [INFO] [stdout] 243 | | .into_iter() [INFO] [stdout] 244 | | .flat_map(|child| get_node_decedents(&child).into_iter().chain([child])) [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; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `selected` and `select` are never used [INFO] [stdout] --> structless/src/tree.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl ListState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] 17 | pub fn selected(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn select(&mut self, index: Option) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `style` are never used [INFO] [stdout] --> structless/src/tree.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> ListItem<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 36 | pub fn new(content: T) -> ListItem<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn style(mut self, style: Style) -> ListItem<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> structless/src/tree.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 85 | impl<'a> Tree<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 86 | pub fn new(items: T) -> Tree<'a> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn block(mut self, block: Block<'a>) -> Tree<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn style(mut self, style: Style) -> Tree<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn highlight_symbol(mut self, highlight_symbol: &'a str) -> Tree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn highlight_style(mut self, style: Style) -> Tree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn repeat_highlight_symbol(mut self, repeat: bool) -> Tree<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn start_corner(mut self, corner: Corner) -> Tree<'a> { [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] --> structless/src/main.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 134 | let mut parser = Parser::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | let tree = Arc::new(parser.parse(&source_code, None).unwrap()); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 138 | // let cursor = tree.root_node().id(); [INFO] [stdout] 139 | Ok(App { [INFO] [stdout] | ____________^ [INFO] [stdout] 140 | | search_term: "".to_string(), [INFO] [stdout] 141 | | input_mode: InputMode::Normal, [INFO] [stdout] 142 | | tree, [INFO] [stdout] ... | [INFO] [stdout] 147 | | view_mode: ViewMode::Tree, [INFO] [stdout] 148 | | }) [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] --> structless/src/main.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 240 | let mut cursor = node.walk(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | [INFO] [stdout] 242 | / node.children(&mut cursor) [INFO] [stdout] 243 | | .into_iter() [INFO] [stdout] 244 | | .flat_map(|child| get_node_decedents(&child).into_iter().chain([child])) [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] [stderr] error: could not compile `structless` (bin "structless") due to 3 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structless` (bin "structless" test) due to 3 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3134d6ac355f937af7cc1d090950e12d0a925d241f51863ac5ddee34f9947f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3134d6ac355f937af7cc1d090950e12d0a925d241f51863ac5ddee34f9947f88", kill_on_drop: false }` [INFO] [stdout] 3134d6ac355f937af7cc1d090950e12d0a925d241f51863ac5ddee34f9947f88