[INFO] cloning repository https://github.com/notSido/midas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/notSido/midas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnotSido%2Fmidas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnotSido%2Fmidas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 601fcc90f1148b5da1bc863e77173d288bf9b756 [INFO] checking notSido/midas against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FnotSido%2Fmidas" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/notSido/midas [INFO] finished tweaking git repo https://github.com/notSido/midas [INFO] tweaked toml for git repo https://github.com/notSido/midas written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/notSido/midas on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/notSido/midas 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] [stderr] Downloaded plain v0.2.3 [INFO] [stderr] Downloaded scroll_derive v0.12.1 [INFO] [stderr] Downloaded unicorn-engine v2.1.5 [INFO] [stderr] Downloaded clap v4.5.55 [INFO] [stderr] Downloaded cc v1.2.54 [INFO] [stderr] Downloaded clap_builder v4.5.55 [INFO] [stderr] Downloaded goblin v0.8.2 [INFO] [stderr] Downloaded iced-x86 v1.21.0 [INFO] [stderr] Downloaded unicorn-engine-sys v2.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36896893c12ce40429ece1a0d11e4364c2a8c3f2eaa108ff89e2f70c6c2330b5 [INFO] running `Command { std: "docker" "start" "-a" "36896893c12ce40429ece1a0d11e4364c2a8c3f2eaa108ff89e2f70c6c2330b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36896893c12ce40429ece1a0d11e4364c2a8c3f2eaa108ff89e2f70c6c2330b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36896893c12ce40429ece1a0d11e4364c2a8c3f2eaa108ff89e2f70c6c2330b5", kill_on_drop: false }` [INFO] [stdout] 36896893c12ce40429ece1a0d11e4364c2a8c3f2eaa108ff89e2f70c6c2330b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e6dace4f4ecca85af487a96b6db25ab851b927565b4d390392f67ff1d41682 [INFO] running `Command { std: "docker" "start" "-a" "03e6dace4f4ecca85af487a96b6db25ab851b927565b4d390392f67ff1d41682", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Checking clap_lex v0.7.7 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Checking jiff v0.2.18 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.5.55 [INFO] [stderr] Checking iced-x86 v1.21.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking clap v4.5.55 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling unicorn-engine-sys v2.1.5 [INFO] [stderr] Checking unicorn-engine v2.1.5 [INFO] [stderr] Checking midas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `goblin::pe::PE` [INFO] [stdout] --> src/pe/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use goblin::pe::PE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnpackError` [INFO] [stdout] --> src/win64/syscall.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Result, UnpackError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/unpacker.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::win64::{api::{self, ApiRegistry}, syscall}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `goblin::pe::PE` [INFO] [stdout] --> src/pe/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use goblin::pe::PE; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnpackError` [INFO] [stdout] --> src/win64/syscall.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{Result, UnpackError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/unpacker.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::win64::{api::{self, ApiRegistry}, syscall}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `machine` [INFO] [stdout] --> src/pe/parser.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let machine = cursor.read_u16::()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `machine` [INFO] [stdout] --> src/pe/parser.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let machine = cursor.read_u16::()?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_machine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_address_ptr` [INFO] [stdout] --> src/win64/syscall.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let base_address_ptr = emu.reg_read(RegisterX86::RDX)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_address_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region_size_ptr` [INFO] [stdout] --> src/win64/syscall.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let region_size_ptr = emu.reg_read(RegisterX86::R8)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region_size_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_address_ptr` [INFO] [stdout] --> src/win64/syscall.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let base_address_ptr = emu.reg_read(RegisterX86::RDX)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_address_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `region_size_ptr` [INFO] [stdout] --> src/win64/syscall.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let region_size_ptr = emu.reg_read(RegisterX86::R8)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region_size_ptr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unpacker.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut api_registry = ApiRegistry::new(API_HOOK_BASE, *workspace); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace_val` [INFO] [stdout] --> src/unpacker.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let workspace_val = *workspace; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_base` [INFO] [stdout] --> src/unpacker.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let image_base = self.pe.image_base; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/unpacker.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let mut api_registry = ApiRegistry::new(API_HOOK_BASE, *workspace); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `workspace_val` [INFO] [stdout] --> src/unpacker.rs:303:13 [INFO] [stdout] | [INFO] [stdout] 303 | let workspace_val = *workspace; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_workspace_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image_base` [INFO] [stdout] --> src/unpacker.rs:308:13 [INFO] [stdout] | [INFO] [stdout] 308 | let image_base = self.pe.image_base; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_image_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reconstruct_imports` is never used [INFO] [stdout] --> src/pe/dumper.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PeDumper { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn reconstruct_imports(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> src/unpacker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Unpacker { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reconstruct_imports` is never used [INFO] [stdout] --> src/pe/dumper.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl PeDumper { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | fn reconstruct_imports(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `verbose` is never read [INFO] [stdout] --> src/unpacker.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Unpacker { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | verbose: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "03e6dace4f4ecca85af487a96b6db25ab851b927565b4d390392f67ff1d41682", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e6dace4f4ecca85af487a96b6db25ab851b927565b4d390392f67ff1d41682", kill_on_drop: false }` [INFO] [stdout] 03e6dace4f4ecca85af487a96b6db25ab851b927565b4d390392f67ff1d41682