[INFO] cloning repository https://github.com/Grarak/ShitJit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Grarak/ShitJit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrarak%2FShitJit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrarak%2FShitJit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b47a39ea73f8064b523092cee7a5608037e72c27 [INFO] checking Grarak/ShitJit against master#e4106065bf1bb515935d5d024e8d9c86454e2b22 for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrarak%2FShitJit" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grarak/ShitJit on toolchain e4106065bf1bb515935d5d024e8d9c86454e2b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Grarak/ShitJit [INFO] finished tweaking git repo https://github.com/Grarak/ShitJit [INFO] tweaked toml for git repo https://github.com/Grarak/ShitJit written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Grarak/ShitJit 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" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/Grarak/unicorn` [INFO] [stderr] Updating git submodule `https://github.com/kabeor/Unicorn-Engine-Documentation` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded bad64 v0.6.0 [INFO] [stderr] Downloaded bad64-sys v0.5.0 [INFO] [stderr] Downloaded iced-x86 v1.17.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d71c238291b5d77fdbcfa62f492ecd2bffb5abd2e060c3876f1b9768ede1f1d3 [INFO] running `Command { std: "docker" "start" "-a" "d71c238291b5d77fdbcfa62f492ecd2bffb5abd2e060c3876f1b9768ede1f1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71c238291b5d77fdbcfa62f492ecd2bffb5abd2e060c3876f1b9768ede1f1d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71c238291b5d77fdbcfa62f492ecd2bffb5abd2e060c3876f1b9768ede1f1d3", kill_on_drop: false }` [INFO] [stdout] d71c238291b5d77fdbcfa62f492ecd2bffb5abd2e060c3876f1b9768ede1f1d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+e4106065bf1bb515935d5d024e8d9c86454e2b22" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cffb62e5ac21cd7276c5d2bb9b13fecf370febc46de100b1aa28cdd5e4d1a077 [INFO] running `Command { std: "docker" "start" "-a" "cffb62e5ac21cd7276c5d2bb9b13fecf370febc46de100b1aa28cdd5e4d1a077", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling syn v1.0.102 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling paste v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking iced-x86 v1.17.0 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling unicorn-engine v2.0.0 (https://github.com/Grarak/unicorn#19bd810a) [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bad64-sys v0.5.0 [INFO] [stderr] Checking bad64 v0.6.0 [INFO] [stderr] Checking shit_jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `iced_x86::CC_l::l` [INFO] [stdout] --> src/jit/emitter_cond.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_x86::CC_l::l; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::jit::assembler::short_inst::var_addr::Addr` [INFO] [stdout] --> src/jit/emitter_cond.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::jit::assembler::short_inst::var_addr::Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uw_add_with_label` is never used [INFO] [stdout] --> src/jit/assembler/instructions_assembler.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl InstAssembler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn uw_add_with_label(&mut self, inst: result::Result, label: &Label) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_sys_mut_reg` and `borrow_sys_mut_reg` are never used [INFO] [stdout] --> src/jit/jit_context.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RegistersImpl { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_sys_mut_reg(&mut self, reg: SysReg) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn borrow_sys_mut_reg(&mut self, reg: SysReg) -> MutVarAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `debug` and `get_sys_reg_mut_addr` are never used [INFO] [stdout] --> src/jit/jit_context.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl JitContext { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn debug( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_sys_reg_mut_addr(&mut self, reg: SysReg) -> MutVarAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_aarch64_is_64` is never used [INFO] [stdout] --> src/jit/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn reg_aarch64_is_64(aarch64_reg: RegAarch64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `map_x64_reg_16` is never used [INFO] [stdout] --> src/jit/utils.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn map_x64_reg_16(reg: &RegX64) -> RegX64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug` is never used [INFO] [stdout] --> src/kernel/global_context.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl GlobalContext { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn debug< [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_addr_ptr`, `get_write_recordings`, and `clear_write_recordings` are never used [INFO] [stdout] --> src/kernel/memory_handler.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl MemoryHandler { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn get_addr_ptr(&self, addr: u64) -> VarAddr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn get_write_recordings(&self) -> Option<&HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn clear_write_recordings(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `step` is never used [INFO] [stdout] --> src/kernel/thread_context.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ThreadContext { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_segment` is never used [INFO] [stdout] --> src/parser/nro.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Nro { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_segment(&self, segment: &NroSegmentHeader) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iced_x86::CC_l::l` [INFO] [stdout] --> src/jit/emitter_cond.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use iced_x86::CC_l::l; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::jit::assembler::short_inst::var_addr::Addr` [INFO] [stdout] --> src/jit/emitter_cond.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::jit::assembler::short_inst::var_addr::Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `uw_add_with_label` is never used [INFO] [stdout] --> src/jit/assembler/instructions_assembler.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl InstAssembler { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn uw_add_with_label(&mut self, inst: result::Result, label: &Label) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_sys_mut_reg` and `borrow_sys_mut_reg` are never used [INFO] [stdout] --> src/jit/jit_context.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl RegistersImpl { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_sys_mut_reg(&mut self, reg: SysReg) -> &mut u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn borrow_sys_mut_reg(&mut self, reg: SysReg) -> MutVarAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sys_reg_mut_addr` is never used [INFO] [stdout] --> src/jit/jit_context.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl JitContext { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn get_sys_reg_mut_addr(&mut self, reg: SysReg) -> MutVarAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reg_aarch64_is_64` is never used [INFO] [stdout] --> src/jit/utils.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn reg_aarch64_is_64(aarch64_reg: RegAarch64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_segment` is never used [INFO] [stdout] --> src/parser/nro.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Nro { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_segment(&self, segment: &NroSegmentHeader) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.06s [INFO] running `Command { std: "docker" "inspect" "cffb62e5ac21cd7276c5d2bb9b13fecf370febc46de100b1aa28cdd5e4d1a077", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cffb62e5ac21cd7276c5d2bb9b13fecf370febc46de100b1aa28cdd5e4d1a077", kill_on_drop: false }` [INFO] [stdout] cffb62e5ac21cd7276c5d2bb9b13fecf370febc46de100b1aa28cdd5e4d1a077