[INFO] fetching crate sleigh-rs 0.1.5... [INFO] checking sleigh-rs-0.1.5 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate sleigh-rs 0.1.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate sleigh-rs 0.1.5 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sleigh-rs 0.1.5 [INFO] finished tweaking crates.io crate sleigh-rs 0.1.5 [INFO] tweaked toml for crates.io crate sleigh-rs 0.1.5 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b9c7e7ee211dcbe62292bd639965c060c6cb2bbea7d5f7046ec7bafc5ba340 [INFO] running `Command { std: "docker" "start" "-a" "84b9c7e7ee211dcbe62292bd639965c060c6cb2bbea7d5f7046ec7bafc5ba340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b9c7e7ee211dcbe62292bd639965c060c6cb2bbea7d5f7046ec7bafc5ba340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b9c7e7ee211dcbe62292bd639965c060c6cb2bbea7d5f7046ec7bafc5ba340", kill_on_drop: false }` [INFO] [stdout] 84b9c7e7ee211dcbe62292bd639965c060c6cb2bbea7d5f7046ec7bafc5ba340 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61c9b1933ff9b88e8044f953db4a2540dcce7802c21240309868d7975494bec9 [INFO] running `Command { std: "docker" "start" "-a" "61c9b1933ff9b88e8044f953db4a2540dcce7802c21240309868d7975494bec9", kill_on_drop: false }` [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sleigh-rs v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/preprocessor/mod.rs:531:55 [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&Define> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VarnodeField` [INFO] [stdout] --> src/syntax/define/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub use self::bitrange::{BitRangeDef, VarnodeField}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextField` [INFO] [stdout] --> src/syntax/define/mod.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub use self::context::{Context, ContextField, ContextFieldAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenField` [INFO] [stdout] --> src/syntax/define/mod.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::token::{Token, TokenField, TokenFieldAttribute}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/preprocessor/mod.rs:531:55 [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&Define> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VarnodeField` [INFO] [stdout] --> src/syntax/define/mod.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | pub use self::bitrange::{BitRangeDef, VarnodeField}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextField` [INFO] [stdout] --> src/syntax/define/mod.rs:20:34 [INFO] [stdout] | [INFO] [stdout] 20 | pub use self::context::{Context, ContextField, ContextFieldAttribute}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenField` [INFO] [stdout] --> src/syntax/define/mod.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub use self::token::{Token, TokenField, TokenFieldAttribute}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/semantic/inner/disassembly.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / pub fn build( [INFO] [stdout] 288 | | mut self, [INFO] [stdout] 289 | | input: syntax::block::disassembly::Disassembly, [INFO] [stdout] 290 | | ) -> Result<(), DisassemblyError> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/semantic/inner/disassembly.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/semantic/inner/execution/expr.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | / pub fn solve( [INFO] [stdout] 586 | | &mut self, [INFO] [stdout] 587 | | sleigh: &Sleigh, [INFO] [stdout] 588 | | execution: &Execution, [INFO] [stdout] 589 | | solved: &mut impl SolverStatus, [INFO] [stdout] 590 | | ) -> Result<(), ExecutionError> { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/semantic/inner/execution/expr.rs:852:32 [INFO] [stdout] | [INFO] [stdout] 852 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/semantic/inner/disassembly.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | / pub fn build( [INFO] [stdout] 288 | | mut self, [INFO] [stdout] 289 | | input: syntax::block::disassembly::Disassembly, [INFO] [stdout] 290 | | ) -> Result<(), DisassemblyError> { [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/semantic/inner/disassembly.rs:298:24 [INFO] [stdout] | [INFO] [stdout] 298 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/semantic/inner/execution/expr.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | / pub fn solve( [INFO] [stdout] 586 | | &mut self, [INFO] [stdout] 587 | | sleigh: &Sleigh, [INFO] [stdout] 588 | | execution: &Execution, [INFO] [stdout] 589 | | solved: &mut impl SolverStatus, [INFO] [stdout] 590 | | ) -> Result<(), ExecutionError> { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/semantic/inner/execution/expr.rs:852:32 [INFO] [stdout] | [INFO] [stdout] 852 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/semantic/inner/pattern/block.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 874 | / pub fn solve( [INFO] [stdout] 875 | | &mut self, [INFO] [stdout] 876 | | sleigh: &Sleigh, [INFO] [stdout] 877 | | solved: &mut T, [INFO] [stdout] 878 | | base: &mut BlockBase, [INFO] [stdout] 879 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/semantic/inner/pattern/block.rs:890:24 [INFO] [stdout] | [INFO] [stdout] 890 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/semantic/inner/pattern/block.rs:874:5 [INFO] [stdout] | [INFO] [stdout] 874 | / pub fn solve( [INFO] [stdout] 875 | | &mut self, [INFO] [stdout] 876 | | sleigh: &Sleigh, [INFO] [stdout] 877 | | solved: &mut T, [INFO] [stdout] 878 | | base: &mut BlockBase, [INFO] [stdout] 879 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #123748 [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stdout] --> src/semantic/inner/pattern/block.rs:890:24 [INFO] [stdout] | [INFO] [stdout] 890 | .collect::>()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Ref<'_, Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic/inner/table/mod.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn convert(self, sleigh: &FinalSleigh) -> FinalTable { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | export: self.export.borrow().unwrap_or_default().convert(), [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: this value of type `Ref<'_, Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/semantic/inner/table/mod.rs:399:21 [INFO] [stdout] | [INFO] [stdout] 361 | pub fn convert(self, sleigh: &FinalSleigh) -> FinalTable { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 399 | export: self.export.borrow().unwrap_or_default().convert(), [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] warning: field `macro_location` is never read [INFO] [stdout] --> src/preprocessor/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Define { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub macro_location: FileSpan, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Define` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteAddr` is never constructed [INFO] [stdout] --> src/semantic/execution.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct WriteAddr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteAddr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable_names`, `variables`, and `assertations` are never read [INFO] [stdout] --> src/semantic/inner/disassembly.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct Disassembly { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 305 | pub variable_names: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 306 | pub variables: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 307 | pub assertations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disassembly` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/syntax/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait TokenHelper { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 12 | fn location(&self) -> Span; [INFO] [stdout] 13 | fn expect(&self, value: TokenType) -> Result<(), SleighError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token` is never used [INFO] [stdout] --> src/syntax/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parser { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn token(&mut self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/preprocessor/parser.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | NumberUnsigned::from_str_radix(x.borrow(), 16) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/semantic/inner/execution/builder.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / current [INFO] [stdout] 59 | | .next [INFO] [stdout] 60 | | .replace(block) [INFO] [stdout] 61 | | .map_or((), |_| panic!("multiple next")); [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = current [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sleigh-rs` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `macro_location` is never read [INFO] [stdout] --> src/preprocessor/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct Define { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub macro_location: FileSpan, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Define` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `WriteAddr` is never constructed [INFO] [stdout] --> src/semantic/execution.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub struct WriteAddr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WriteAddr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `variable_names`, `variables`, and `assertations` are never read [INFO] [stdout] --> src/semantic/inner/disassembly.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | pub struct Disassembly { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 305 | pub variable_names: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 306 | pub variables: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 307 | pub assertations: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Disassembly` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect` is never used [INFO] [stdout] --> src/syntax/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait TokenHelper { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] 12 | fn location(&self) -> Span; [INFO] [stdout] 13 | fn expect(&self, value: TokenType) -> Result<(), SleighError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `token` is never used [INFO] [stdout] --> src/syntax/parser.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Parser { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn token(&mut self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/preprocessor/parser.rs:73:41 [INFO] [stdout] | [INFO] [stdout] 73 | NumberUnsigned::from_str_radix(x.borrow(), 16) [INFO] [stdout] | ^^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::map_or` that must be used [INFO] [stdout] --> src/semantic/inner/execution/builder.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | / current [INFO] [stdout] 59 | | .next [INFO] [stdout] 60 | | .replace(block) [INFO] [stdout] 61 | | .map_or((), |_| panic!("multiple next")); [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the returned value, use `if let` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = current [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sleigh-rs` (lib test) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "61c9b1933ff9b88e8044f953db4a2540dcce7802c21240309868d7975494bec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61c9b1933ff9b88e8044f953db4a2540dcce7802c21240309868d7975494bec9", kill_on_drop: false }` [INFO] [stdout] 61c9b1933ff9b88e8044f953db4a2540dcce7802c21240309868d7975494bec9