[INFO] fetching crate sleigh-rs 0.1.5... [INFO] testing sleigh-rs-0.1.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate sleigh-rs 0.1.5 into /workspace/builds/worker-4-tc1/source [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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sleigh-rs 0.1.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 388fa5a20d9b3dec47ea904f0c5ef1bcbfc5ce1df53b24f161ee24b1fb9fd480 [INFO] running `Command { std: "docker" "start" "-a" "388fa5a20d9b3dec47ea904f0c5ef1bcbfc5ce1df53b24f161ee24b1fb9fd480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "388fa5a20d9b3dec47ea904f0c5ef1bcbfc5ce1df53b24f161ee24b1fb9fd480", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388fa5a20d9b3dec47ea904f0c5ef1bcbfc5ce1df53b24f161ee24b1fb9fd480", kill_on_drop: false }` [INFO] [stdout] 388fa5a20d9b3dec47ea904f0c5ef1bcbfc5ce1df53b24f161ee24b1fb9fd480 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6c1fecf0f7b7e99f9400d3a74b1c0ea1d855449c5982bccef3d24be924d6f65e [INFO] running `Command { std: "docker" "start" "-a" "6c1fecf0f7b7e99f9400d3a74b1c0ea1d855449c5982bccef3d24be924d6f65e", kill_on_drop: false }` [INFO] [stderr] Compiling sleigh-rs v0.1.5 (/opt/rustwide/workdir) [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 298 - .collect::>()?; [INFO] [stdout] 298 + .collect::>()?; [INFO] [stdout] | [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 852 - .collect::>()?; [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 890 - .collect::>()?; [INFO] [stdout] 890 + .collect::>()?; [INFO] [stdout] | [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/preprocessor/mod.rs:531:23 [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&Define> { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&'a Define> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/semantic/inner/execution/mod.rs:1071:18 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn block(&self, id: BlockId) -> Ref { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn block(&self, id: BlockId) -> Ref<'_, Block> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/semantic/inner/execution/mod.rs:1074:22 [INFO] [stdout] | [INFO] [stdout] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut<'_, Block> { [INFO] [stdout] | +++ [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] warning: unused `ControlFlow` that must be used [INFO] [stdout] --> src/semantic/inner/pattern/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | find.verification(ver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = find.verification(ver); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.44s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sleigh-rs v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6c1fecf0f7b7e99f9400d3a74b1c0ea1d855449c5982bccef3d24be924d6f65e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1fecf0f7b7e99f9400d3a74b1c0ea1d855449c5982bccef3d24be924d6f65e", kill_on_drop: false }` [INFO] [stdout] 6c1fecf0f7b7e99f9400d3a74b1c0ea1d855449c5982bccef3d24be924d6f65e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f72301eb9863c8ef8a52bb651c20c09374c89f98de6b9c5ab83ef36da86f151d [INFO] running `Command { std: "docker" "start" "-a" "f72301eb9863c8ef8a52bb651c20c09374c89f98de6b9c5ab83ef36da86f151d", kill_on_drop: false }` [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 298 - .collect::>()?; [INFO] [stdout] 298 + .collect::>()?; [INFO] [stdout] | [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 852 - .collect::>()?; [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 890 - .collect::>()?; [INFO] [stdout] 890 + .collect::>()?; [INFO] [stdout] | [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/preprocessor/mod.rs:531:23 [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&Define> { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&'a Define> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/semantic/inner/execution/mod.rs:1071:18 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn block(&self, id: BlockId) -> Ref { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn block(&self, id: BlockId) -> Ref<'_, Block> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/semantic/inner/execution/mod.rs:1074:22 [INFO] [stdout] | [INFO] [stdout] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut<'_, Block> { [INFO] [stdout] | +++ [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] warning: unused `ControlFlow` that must be used [INFO] [stdout] --> src/semantic/inner/pattern/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | find.verification(ver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = find.verification(ver); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sleigh-rs v0.1.5 (/opt/rustwide/workdir) [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 298 - .collect::>()?; [INFO] [stdout] 298 + .collect::>()?; [INFO] [stdout] | [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 852 - .collect::>()?; [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 Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [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] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 890 - .collect::>()?; [INFO] [stdout] 890 + .collect::>()?; [INFO] [stdout] | [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/preprocessor/mod.rs:531:23 [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&Define> { [INFO] [stdout] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&'a Define> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/semantic/inner/execution/mod.rs:1071:18 [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn block(&self, id: BlockId) -> Ref { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1071 | pub fn block(&self, id: BlockId) -> Ref<'_, Block> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/semantic/inner/execution/mod.rs:1074:22 [INFO] [stdout] | [INFO] [stdout] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut<'_, Block> { [INFO] [stdout] | +++ [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] warning: unused `ControlFlow` that must be used [INFO] [stdout] --> src/semantic/inner/pattern/mod.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | find.verification(ver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = find.verification(ver); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sleigh-rs v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "f72301eb9863c8ef8a52bb651c20c09374c89f98de6b9c5ab83ef36da86f151d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f72301eb9863c8ef8a52bb651c20c09374c89f98de6b9c5ab83ef36da86f151d", kill_on_drop: false }` [INFO] [stdout] f72301eb9863c8ef8a52bb651c20c09374c89f98de6b9c5ab83ef36da86f151d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d7a42367748a67ca9278f78117d5cb36f162495968301782e400f47fb62be886 [INFO] running `Command { std: "docker" "start" "-a" "d7a42367748a67ca9278f78117d5cb36f162495968301782e400f47fb62be886", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `VarnodeField` [INFO] [stderr] --> src/syntax/define/mod.rs:19:39 [INFO] [stderr] | [INFO] [stderr] 19 | pub use self::bitrange::{BitRangeDef, VarnodeField}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ContextField` [INFO] [stderr] --> src/syntax/define/mod.rs:20:34 [INFO] [stderr] | [INFO] [stderr] 20 | pub use self::context::{Context, ContextField, ContextFieldAttribute}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TokenField` [INFO] [stderr] --> src/syntax/define/mod.rs:22:30 [INFO] [stderr] | [INFO] [stderr] 22 | pub use self::token::{Token, TokenField, TokenFieldAttribute}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/semantic/inner/disassembly.rs:287:5 [INFO] [stderr] | [INFO] [stderr] 287 | / pub fn build( [INFO] [stderr] 288 | | mut self, [INFO] [stderr] 289 | | input: syntax::block::disassembly::Disassembly, [INFO] [stderr] 290 | | ) -> Result<(), DisassemblyError> { [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stderr] --> src/semantic/inner/disassembly.rs:298:24 [INFO] [stderr] | [INFO] [stderr] 298 | .collect::>()?; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 298 - .collect::>()?; [INFO] [stderr] 298 + .collect::>()?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/semantic/inner/execution/expr.rs:585:5 [INFO] [stderr] | [INFO] [stderr] 585 | / pub fn solve( [INFO] [stderr] 586 | | &mut self, [INFO] [stderr] 587 | | sleigh: &Sleigh, [INFO] [stderr] 588 | | execution: &Execution, [INFO] [stderr] 589 | | solved: &mut impl SolverStatus, [INFO] [stderr] 590 | | ) -> Result<(), ExecutionError> { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stderr] --> src/semantic/inner/execution/expr.rs:852:32 [INFO] [stderr] | [INFO] [stderr] 852 | .collect::>()?; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 852 - .collect::>()?; [INFO] [stderr] 852 + .collect::>()?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/semantic/inner/pattern/block.rs:874:5 [INFO] [stderr] | [INFO] [stderr] 874 | / pub fn solve( [INFO] [stderr] 875 | | &mut self, [INFO] [stderr] 876 | | sleigh: &Sleigh, [INFO] [stderr] 877 | | solved: &mut T, [INFO] [stderr] 878 | | base: &mut BlockBase, [INFO] [stderr] 879 | | ) -> Result { [INFO] [stderr] | |___________________________________^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromIterator<()>` will fail [INFO] [stderr] --> src/semantic/inner/pattern/block.rs:890:24 [INFO] [stderr] | [INFO] [stderr] 890 | .collect::>()?; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 890 - .collect::>()?; [INFO] [stderr] 890 + .collect::>()?; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `macro_location` is never read [INFO] [stderr] --> src/preprocessor/mod.rs:78:9 [INFO] [stderr] | [INFO] [stderr] 75 | pub struct Define { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 78 | pub macro_location: FileSpan, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Define` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `WriteAddr` is never constructed [INFO] [stderr] --> src/semantic/execution.rs:245:12 [INFO] [stderr] | [INFO] [stderr] 245 | pub struct WriteAddr { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WriteAddr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `variable_names`, `variables`, and `assertations` are never read [INFO] [stderr] --> src/semantic/inner/disassembly.rs:305:9 [INFO] [stderr] | [INFO] [stderr] 304 | pub struct Disassembly { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 305 | pub variable_names: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 306 | pub variables: Vec, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 307 | pub assertations: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Disassembly` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `expect` is never used [INFO] [stderr] --> src/syntax/parser.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub trait TokenHelper { [INFO] [stderr] | ----------- method in this trait [INFO] [stderr] 12 | fn location(&self) -> Span; [INFO] [stderr] 13 | fn expect(&self, value: TokenType) -> Result<(), SleighError>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `token` is never used [INFO] [stderr] --> src/syntax/parser.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub trait Parser { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] ... [INFO] [stderr] 25 | fn token(&mut self) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/preprocessor/mod.rs:531:23 [INFO] [stderr] | [INFO] [stderr] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&Define> { [INFO] [stderr] | ^^ ------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 531 | fn get_value<'a>(&'a self, ident: &str) -> Option<&'a Define> { [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/preprocessor/parser.rs:73:41 [INFO] [stderr] | [INFO] [stderr] 73 | NumberUnsigned::from_str_radix(x.borrow(), 16) [INFO] [stderr] | ^^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/semantic/inner/execution/mod.rs:1071:18 [INFO] [stderr] | [INFO] [stderr] 1071 | pub fn block(&self, id: BlockId) -> Ref { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1071 | pub fn block(&self, id: BlockId) -> Ref<'_, Block> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/semantic/inner/execution/mod.rs:1074:22 [INFO] [stderr] | [INFO] [stderr] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1074 | pub fn block_mut(&self, id: BlockId) -> RefMut<'_, Block> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Option::::map_or` that must be used [INFO] [stderr] --> src/semantic/inner/execution/builder.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | / current [INFO] [stderr] 59 | | .next [INFO] [stderr] 60 | | .replace(block) [INFO] [stderr] 61 | | .map_or((), |_| panic!("multiple next")); [INFO] [stderr] | |________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the returned value, use `if let` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 58 | let _ = current [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `ControlFlow` that must be used [INFO] [stderr] --> src/semantic/inner/pattern/mod.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | find.verification(ver); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 62 | let _ = find.verification(ver); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `sleigh-rs` (lib) generated 17 warnings (run `cargo fix --lib -p sleigh-rs` to apply 10 suggestions) [INFO] [stderr] warning: `sleigh-rs` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sleigh-rs v0.1.5 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sleigh_rs-5fd4466620a1197a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7a42367748a67ca9278f78117d5cb36f162495968301782e400f47fb62be886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7a42367748a67ca9278f78117d5cb36f162495968301782e400f47fb62be886", kill_on_drop: false }` [INFO] [stdout] d7a42367748a67ca9278f78117d5cb36f162495968301782e400f47fb62be886