[INFO] cloning repository https://github.com/stytSofo/traitor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stytSofo/traitor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstytSofo%2Ftraitor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstytSofo%2Ftraitor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a09802718741023a6e7a918b2552082fee199371 [INFO] checking stytSofo/traitor against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FstytSofo%2Ftraitor" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/stytSofo/traitor [INFO] finished tweaking git repo https://github.com/stytSofo/traitor [INFO] tweaked toml for git repo https://github.com/stytSofo/traitor written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/stytSofo/traitor on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/stytSofo/traitor 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded elf v0.7.2 [INFO] [stderr] Downloaded iced-x86 v1.18.0 [INFO] [stderr] Downloaded capstone v0.11.0 [INFO] [stderr] Downloaded libc v0.2.141 [INFO] [stderr] Downloaded capstone-sys v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6e6d6c5b825ad6bd69ad9d928a292aba1a4c29646b8c171591460fc4cb244bc [INFO] running `Command { std: "docker" "start" "-a" "d6e6d6c5b825ad6bd69ad9d928a292aba1a4c29646b8c171591460fc4cb244bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6e6d6c5b825ad6bd69ad9d928a292aba1a4c29646b8c171591460fc4cb244bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6e6d6c5b825ad6bd69ad9d928a292aba1a4c29646b8c171591460fc4cb244bc", kill_on_drop: false }` [INFO] [stdout] d6e6d6c5b825ad6bd69ad9d928a292aba1a4c29646b8c171591460fc4cb244bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9617b58d756a6c0339f4097f683e3d3fb1ebd2a8a89ea551ee175f84119d5217 [INFO] running `Command { std: "docker" "start" "-a" "9617b58d756a6c0339f4097f683e3d3fb1ebd2a8a89ea551ee175f84119d5217", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking elf v0.7.2 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Checking iced-x86 v1.18.0 [INFO] [stderr] Compiling capstone-sys v0.15.0 [INFO] [stderr] Checking capstone v0.11.0 [INFO] [stderr] Checking traitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `args` and `slice::SplitInclusiveMut` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | env::{self, args}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | slice::SplitInclusiveMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArchDetail`, `InsnDetail`, and `Insn` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | prelude::{ArchDetail, BuildsCapstone, BuildsCapstoneSyntax}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | Capstone, Insn, InsnDetail, InsnGroupId, Instructions, RegId, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if (byte_representation[0] == 0xff && byte_representation[1] == 0x15) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if (byte_representation[0] == 0xff && byte_representation[1] == 0x15) { [INFO] [stdout] 48 + if byte_representation[0] == 0xff && byte_representation[1] == 0x15 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if (byte_array[0] == 0x48 && byte_array[1] == 0x8d && byte_array[2] == 0x3d) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if (byte_array[0] == 0x48 && byte_array[1] == 0x8d && byte_array[2] == 0x3d) { [INFO] [stdout] 96 + if byte_array[0] == 0x48 && byte_array[1] == 0x8d && byte_array[2] == 0x3d { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:217:43 [INFO] [stdout] | [INFO] [stdout] 217 | let mut function_call_queue: VecDeque<(u64)> = VecDeque::new(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - let mut function_call_queue: VecDeque<(u64)> = VecDeque::new(); [INFO] [stdout] 217 + let mut function_call_queue: VecDeque = VecDeque::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if (!function_call_queue.contains(&instr.memory_displacement64()) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 261 | .1) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 257 ~ if !function_call_queue.contains(&instr.memory_displacement64()) [INFO] [stdout] 258 | && !function_entries [INFO] [stdout] 259 | .get(&instr.memory_displacement64()) [INFO] [stdout] 260 | .unwrap() [INFO] [stdout] 261 ~ .1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | if (trait_object_call) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 321 - if (trait_object_call) { [INFO] [stdout] 321 + if trait_object_call { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | if (strname == ".data.rel.ro") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 455 - if (strname == ".data.rel.ro") { [INFO] [stdout] 455 + if strname == ".data.rel.ro" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 464 | if (strname == ".text") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 464 - if (strname == ".text") { [INFO] [stdout] 464 + if strname == ".text" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `args` and `slice::SplitInclusiveMut` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | env::{self, args}, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | slice::SplitInclusiveMut, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArchDetail`, `InsnDetail`, and `Insn` [INFO] [stdout] --> src/main.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | prelude::{ArchDetail, BuildsCapstone, BuildsCapstoneSyntax}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | Capstone, Insn, InsnDetail, InsnGroupId, Instructions, RegId, [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | if (byte_representation[0] == 0xff && byte_representation[1] == 0x15) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 48 - if (byte_representation[0] == 0xff && byte_representation[1] == 0x15) { [INFO] [stdout] 48 + if byte_representation[0] == 0xff && byte_representation[1] == 0x15 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if (byte_array[0] == 0x48 && byte_array[1] == 0x8d && byte_array[2] == 0x3d) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - if (byte_array[0] == 0x48 && byte_array[1] == 0x8d && byte_array[2] == 0x3d) { [INFO] [stdout] 96 + if byte_array[0] == 0x48 && byte_array[1] == 0x8d && byte_array[2] == 0x3d { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:217:43 [INFO] [stdout] | [INFO] [stdout] 217 | let mut function_call_queue: VecDeque<(u64)> = VecDeque::new(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 217 - let mut function_call_queue: VecDeque<(u64)> = VecDeque::new(); [INFO] [stdout] 217 + let mut function_call_queue: VecDeque = VecDeque::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:257:20 [INFO] [stdout] | [INFO] [stdout] 257 | if (!function_call_queue.contains(&instr.memory_displacement64()) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 261 | .1) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 257 ~ if !function_call_queue.contains(&instr.memory_displacement64()) [INFO] [stdout] 258 | && !function_entries [INFO] [stdout] 259 | .get(&instr.memory_displacement64()) [INFO] [stdout] 260 | .unwrap() [INFO] [stdout] 261 ~ .1 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:321:24 [INFO] [stdout] | [INFO] [stdout] 321 | if (trait_object_call) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 321 - if (trait_object_call) { [INFO] [stdout] 321 + if trait_object_call { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:455:12 [INFO] [stdout] | [INFO] [stdout] 455 | if (strname == ".data.rel.ro") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 455 - if (strname == ".data.rel.ro") { [INFO] [stdout] 455 + if strname == ".data.rel.ro" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:464:12 [INFO] [stdout] | [INFO] [stdout] 464 | if (strname == ".text") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 464 - if (strname == ".text") { [INFO] [stdout] 464 + if strname == ".text" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_names` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn reg_names(cs: &Capstone, regs: &[RegId]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_names` is never used [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn group_names(cs: &Capstone, regs: &[InsnGroupId]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flags` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn flags(rf: u32) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_names` is never used [INFO] [stdout] --> src/main.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn reg_names(cs: &Capstone, regs: &[RegId]) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `group_names` is never used [INFO] [stdout] --> src/main.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn group_names(cs: &Capstone, regs: &[InsnGroupId]) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flags` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn flags(rf: u32) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.91s [INFO] running `Command { std: "docker" "inspect" "9617b58d756a6c0339f4097f683e3d3fb1ebd2a8a89ea551ee175f84119d5217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9617b58d756a6c0339f4097f683e3d3fb1ebd2a8a89ea551ee175f84119d5217", kill_on_drop: false }` [INFO] [stdout] 9617b58d756a6c0339f4097f683e3d3fb1ebd2a8a89ea551ee175f84119d5217