[INFO] cloning repository https://github.com/imj01y/trace-slice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imj01y/trace-slice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimj01y%2Ftrace-slice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimj01y%2Ftrace-slice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1706a000fdd20dc4fa73b1386b858424dd76b8f2 [INFO] linting imj01y/trace-slice against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimj01y%2Ftrace-slice" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/imj01y/trace-slice [INFO] finished tweaking git repo https://github.com/imj01y/trace-slice [INFO] tweaked toml for git repo https://github.com/imj01y/trace-slice written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imj01y/trace-slice on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imj01y/trace-slice 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11626064ae161cb886e00863fdadc9a9a5b26c6044e4d733dec6de962d449328 [INFO] running `Command { std: "docker" "start" "-a" "11626064ae161cb886e00863fdadc9a9a5b26c6044e4d733dec6de962d449328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11626064ae161cb886e00863fdadc9a9a5b26c6044e4d733dec6de962d449328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11626064ae161cb886e00863fdadc9a9a5b26c6044e4d733dec6de962d449328", kill_on_drop: false }` [INFO] [stdout] 11626064ae161cb886e00863fdadc9a9a5b26c6044e4d733dec6de962d449328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b255c3b09f6c85cfbe6c0da361980de842f5fd37be738cc4b89ef2c0fa1c1b63 [INFO] running `Command { std: "docker" "start" "-a" "b255c3b09f6c85cfbe6c0da361980de842f5fd37be738cc4b89ef2c0fa1c1b63", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking memmap2 v0.9.10 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking trace-slice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/scanner.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | /// Bit 标记:dep 行号的高位表示 pair 指令的到达路径。 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 55 | /// Bit 标记:dep 行号的高位表示 pair 指令的到达路径。 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/scanner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | /// 24M 行远不到 2^30,所以 bit 30-31 可以安全复用。 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 56 | /// 24M 行远不到 2^30,所以 bit 30-31 可以安全复用。 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 370 - if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] 370 + if !(mem.is_write || is_non_pair_load && !no_prune) { [INFO] [stdout] | [INFO] [stdout] 370 - if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] 370 + if (no_prune || !is_non_pair_load) && !mem.is_write { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 370 | if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!is_non_pair_load || no_prune` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/types.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | / if bytes == b"sp" { [INFO] [stdout] 114 | | return Some(RegId::SP); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 112 ~ 2 [INFO] [stdout] 113 ~ if bytes == b"sp" => { [INFO] [stdout] 114 | return Some(RegId::SP); [INFO] [stdout] 115 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/types.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / if bytes == b"nzcv" { [INFO] [stdout] 124 | | return Some(RegId::NZCV); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 122 ~ 4 [INFO] [stdout] 123 ~ if bytes == b"nzcv" => { [INFO] [stdout] 124 | return Some(RegId::NZCV); [INFO] [stdout] 125 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/types.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | pub pre_arrow_regs: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/types.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | pub post_arrow_regs: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn run( [INFO] [stdout] 34 | | trace_path: &str, [INFO] [stdout] 35 | | from_args: &[String], [INFO] [stdout] 36 | | data_only: bool, [INFO] [stdout] ... | [INFO] [stdout] 41 | | no_prune: bool, [INFO] [stdout] 42 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/insn_class.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 901 | line.mnemonic = Mnemonic::new("ld1"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `types::ParsedLine { mnemonic: Mnemonic::new("ld1"), operands: smallvec::smallvec![Operand::Reg(RegId::V0)], lane_index: Some(3), ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/insn_class.rs:900:9 [INFO] [stdout] | [INFO] [stdout] 900 | let mut line = ParsedLine::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] = note: `#[warn(clippy::field_reassign_with_default)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/insn_class.rs:912:9 [INFO] [stdout] | [INFO] [stdout] 912 | line.mnemonic = Mnemonic::new("mrs"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `types::ParsedLine { mnemonic: Mnemonic::new("mrs"), operands: smallvec::smallvec![Operand::Reg(RegId::X0), Operand::Reg(RegId::NZCV)], ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/insn_class.rs:911:9 [INFO] [stdout] | [INFO] [stdout] 911 | let mut line = ParsedLine::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field assignment outside of initializer for an instance created with Default::default() [INFO] [stdout] --> src/insn_class.rs:922:9 [INFO] [stdout] | [INFO] [stdout] 922 | line.mnemonic = Mnemonic::new("add"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: consider initializing the variable with `types::ParsedLine { mnemonic: Mnemonic::new("add"), operands: smallvec::smallvec![ [INFO] [stdout] Operand::Reg(RegId::X0), [INFO] [stdout] Operand::Reg(RegId::X1), [INFO] [stdout] Operand::Reg(RegId::X2) [INFO] [stdout] ], ..Default::default() }` and removing relevant reassignments [INFO] [stdout] --> src/insn_class.rs:921:9 [INFO] [stdout] | [INFO] [stdout] 921 | let mut line = ParsedLine::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#field_reassign_with_default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/scanner.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | /// Bit 标记:dep 行号的高位表示 pair 指令的到达路径。 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] = note: `#[warn(clippy::doc_lazy_continuation)]` on by default [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 55 | /// Bit 标记:dep 行号的高位表示 pair 指令的到达路径。 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: doc list item without indentation [INFO] [stdout] --> src/scanner.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | /// 24M 行远不到 2^30,所以 bit 30-31 可以安全复用。 [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: if this is supposed to be its own paragraph, add a blank line [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation [INFO] [stdout] help: indent this line [INFO] [stdout] | [INFO] [stdout] 56 | /// 24M 行远不到 2^30,所以 bit 30-31 可以安全复用。 [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 370 - if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] 370 + if !(mem.is_write || is_non_pair_load && !no_prune) { [INFO] [stdout] | [INFO] [stdout] 370 - if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] 370 + if (no_prune || !is_non_pair_load) && !mem.is_write { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/scanner.rs:370:33 [INFO] [stdout] | [INFO] [stdout] 370 | if !mem.is_write && !(is_non_pair_load && !no_prune) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `!is_non_pair_load || no_prune` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/types.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | / if bytes == b"sp" { [INFO] [stdout] 114 | | return Some(RegId::SP); [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 112 ~ 2 [INFO] [stdout] 113 ~ if bytes == b"sp" => { [INFO] [stdout] 114 | return Some(RegId::SP); [INFO] [stdout] 115 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/types.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 123 | / if bytes == b"nzcv" { [INFO] [stdout] 124 | | return Some(RegId::NZCV); [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 122 ~ 4 [INFO] [stdout] 123 ~ if bytes == b"nzcv" => { [INFO] [stdout] 124 | return Some(RegId::NZCV); [INFO] [stdout] 125 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/types.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | pub pre_arrow_regs: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/types.rs:271:26 [INFO] [stdout] | [INFO] [stdout] 271 | pub post_arrow_regs: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (8/7) [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / pub fn run( [INFO] [stdout] 34 | | trace_path: &str, [INFO] [stdout] 35 | | from_args: &[String], [INFO] [stdout] 36 | | data_only: bool, [INFO] [stdout] ... | [INFO] [stdout] 41 | | no_prune: bool, [INFO] [stdout] 42 | | ) -> Result<()> { [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:658:21 [INFO] [stdout] | [INFO] [stdout] 658 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 659 | | mov_line("x8", 5), [INFO] [stdout] 660 | | mov_line("x9", 10), [INFO] [stdout] 661 | | add_line("x0", "x8", "x9"), [INFO] [stdout] 662 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] = note: `#[warn(clippy::useless_vec)]` on by default [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 658 ~ let lines = [mov_line("x8", 5), [INFO] [stdout] 659 + mov_line("x9", 10), [INFO] [stdout] 660 ~ add_line("x0", "x8", "x9")]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:680:21 [INFO] [stdout] | [INFO] [stdout] 680 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 681 | | mov_line("x8", 42), [INFO] [stdout] 682 | | str_line("x8", "sp", 0xbffff010), [INFO] [stdout] 683 | | ldr_line("x0", "sp", 0xbffff010), [INFO] [stdout] 684 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 680 ~ let lines = [mov_line("x8", 42), [INFO] [stdout] 681 + str_line("x8", "sp", 0xbffff010), [INFO] [stdout] 682 ~ ldr_line("x0", "sp", 0xbffff010)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:706:21 [INFO] [stdout] | [INFO] [stdout] 706 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 707 | | r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 708 | | r#"[00:00:00 001][lib.so 0x304] [54000040] 0x40000304: "b.eq #0x4000030c" nzcv=0x40000000"#.to_string(), [INFO] [stdout] 709 | | mov_line("x0", 1), [INFO] [stdout] 710 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 706 ~ let lines = [r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 707 + r#"[00:00:00 001][lib.so 0x304] [54000040] 0x40000304: "b.eq #0x4000030c" nzcv=0x40000000"#.to_string(), [INFO] [stdout] 708 ~ mov_line("x0", 1)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:728:21 [INFO] [stdout] | [INFO] [stdout] 728 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 729 | | r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 730 | | r#"[00:00:00 001][lib.so 0x304] [54000040] 0x40000304: "b.eq #0x4000030c" nzcv=0x40000000"#.to_string(), [INFO] [stdout] 731 | | mov_line("x0", 1), [INFO] [stdout] 732 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 728 ~ let lines = [r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 729 + r#"[00:00:00 001][lib.so 0x304] [54000040] 0x40000304: "b.eq #0x4000030c" nzcv=0x40000000"#.to_string(), [INFO] [stdout] 730 ~ mov_line("x0", 1)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 750 | | r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 751 | | r#"[00:00:00 001][lib.so 0x304] [54000040] 0x40000304: "b.eq #0x4000030c" nzcv=0x40000000"#.to_string(), [INFO] [stdout] 752 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 749 ~ let lines = [r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 750 ~ r#"[00:00:00 001][lib.so 0x304] [54000040] 0x40000304: "b.eq #0x4000030c" nzcv=0x40000000"#.to_string()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:769:21 [INFO] [stdout] | [INFO] [stdout] 769 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 770 | | mov_line("x8", 1), [INFO] [stdout] 771 | | mov_line("x8", 2), // overwrites x8 [INFO] [stdout] 772 | | mov_line("x0", 3), [INFO] [stdout] 773 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 769 ~ let lines = [mov_line("x8", 1), [INFO] [stdout] 770 + mov_line("x8", 2), // overwrites x8 [INFO] [stdout] 771 ~ mov_line("x0", 3)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:789:21 [INFO] [stdout] | [INFO] [stdout] 789 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 790 | | "random log line that doesn't match".to_string(), [INFO] [stdout] 791 | | mov_line("x0", 42), [INFO] [stdout] 792 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 789 ~ let lines = ["random log line that doesn't match".to_string(), [INFO] [stdout] 790 ~ mov_line("x0", 42)]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:824:21 [INFO] [stdout] | [INFO] [stdout] 824 | ... let lines = vec![ [INFO] [stdout] | ___________________^ [INFO] [stdout] 825 | | ... r#"[00:00:00 001][lib.so 0x100] [4f000400] 0x40000100: "movi v0.4s, #0" => q0=0x0"#.to_string(), [INFO] [stdout] 826 | | ... r#"[00:00:00 001][lib.so 0x104] [0d401de0] 0x40000104: "ld1 {v0.s}[1], [x15]" ; mem[READ] abs=0x40500000 q0=0x0 x15=0x4... [INFO] [stdout] 827 | | ... ]; [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 824 ~ let lines = [r#"[00:00:00 001][lib.so 0x100] [4f000400] 0x40000100: "movi v0.4s, #0" => q0=0x0"#.to_string(), [INFO] [stdout] 825 ~ r#"[00:00:00 001][lib.so 0x104] [0d401de0] 0x40000104: "ld1 {v0.s}[1], [x15]" ; mem[READ] abs=0x40500000 q0=0x0 x15=0x40500000 => q0=0x100"#.to_string()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:844:21 [INFO] [stdout] | [INFO] [stdout] 844 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 845 | | r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 846 | | r#"[00:00:00 001][lib.so 0x304] [d53b4200] 0x40000304: "mrs x0, nzcv" nzcv=0x80000000 => x0=0x80000000"#.to_string(), [INFO] [stdout] 847 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 844 ~ let lines = [r#"[00:00:00 001][lib.so 0x300] [6b09011f] 0x40000300: "cmp x8, x9" x8=0x5 x9=0xa => nzcv=0x80000000"#.to_string(), [INFO] [stdout] 845 ~ r#"[00:00:00 001][lib.so 0x304] [d53b4200] 0x40000304: "mrs x0, nzcv" nzcv=0x80000000 => x0=0x80000000"#.to_string()]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:864:21 [INFO] [stdout] | [INFO] [stdout] 864 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 865 | | mov_line("x8", 5), [INFO] [stdout] 866 | | mov_line("x9", 10), [INFO] [stdout] 867 | | add_line("x0", "x8", "x9"), [INFO] [stdout] 868 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 864 ~ let lines = [mov_line("x8", 5), [INFO] [stdout] 865 + mov_line("x9", 10), [INFO] [stdout] 866 ~ add_line("x0", "x8", "x9")]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:886:21 [INFO] [stdout] | [INFO] [stdout] 886 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 887 | | mov_line("x8", 5), [INFO] [stdout] 888 | | mov_line("x9", 10), [INFO] [stdout] 889 | | add_line("x0", "x8", "x9"), [INFO] [stdout] 890 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 886 ~ let lines = [mov_line("x8", 5), [INFO] [stdout] 887 + mov_line("x9", 10), [INFO] [stdout] 888 ~ add_line("x0", "x8", "x9")]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:910:21 [INFO] [stdout] | [INFO] [stdout] 910 | let lines = vec![mov_line("x8", 5)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mov_line("x8", 5)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:932:21 [INFO] [stdout] | [INFO] [stdout] 932 | let lines = vec![mov_line("x8", 5)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mov_line("x8", 5)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:950:21 [INFO] [stdout] | [INFO] [stdout] 950 | let lines = vec![str_line("x8", "sp", 0xbffff010)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[str_line("x8", "sp", 0xbffff010)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:974:21 [INFO] [stdout] | [INFO] [stdout] 974 | let lines = vec![str_line("x8", "sp", 0xbffff010)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[str_line("x8", "sp", 0xbffff010)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:995:21 [INFO] [stdout] | [INFO] [stdout] 995 | let lines = vec![mov_line("x8", 5)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mov_line("x8", 5)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:1014:21 [INFO] [stdout] | [INFO] [stdout] 1014 | let lines = vec![mov_line("x8", 5), str_line("x8", "sp", 0x100)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mov_line("x8", 5), str_line("x8", "sp", 0x100)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:1034:21 [INFO] [stdout] | [INFO] [stdout] 1034 | let lines = vec![str_line("x8", "sp", 0x100), mov_line("x9", 10)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[str_line("x8", "sp", 0x100), mov_line("x9", 10)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:1053:21 [INFO] [stdout] | [INFO] [stdout] 1053 | let lines = vec![mov_line("x9", 5)]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: you can use an array directly: `[mov_line("x9", 5)]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless use of `vec!` [INFO] [stdout] --> src/scanner.rs:1068:21 [INFO] [stdout] | [INFO] [stdout] 1068 | let lines = vec![ [INFO] [stdout] | _____________________^ [INFO] [stdout] 1069 | | mov_line("x8", 5), [INFO] [stdout] 1070 | | mov_line("x9", 10), [INFO] [stdout] 1071 | | add_line("x0", "x8", "x9"), [INFO] [stdout] 1072 | | ]; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_vec [INFO] [stdout] help: you can use an array directly [INFO] [stdout] | [INFO] [stdout] 1068 ~ let lines = [mov_line("x8", 5), [INFO] [stdout] 1069 + mov_line("x9", 10), [INFO] [stdout] 1070 ~ add_line("x0", "x8", "x9")]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.68s [INFO] running `Command { std: "docker" "inspect" "b255c3b09f6c85cfbe6c0da361980de842f5fd37be738cc4b89ef2c0fa1c1b63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b255c3b09f6c85cfbe6c0da361980de842f5fd37be738cc4b89ef2c0fa1c1b63", kill_on_drop: false }` [INFO] [stdout] b255c3b09f6c85cfbe6c0da361980de842f5fd37be738cc4b89ef2c0fa1c1b63