[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] 4032a0693e9fb62a115aad04557443015602ec13 [INFO] checking Grarak/ShitJit against master#331249a94930adb3d2a7243d946733b63324b2d6 for pr-112119 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGrarak%2FShitJit" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Grarak/ShitJit on toolchain 331249a94930adb3d2a7243d946733b63324b2d6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+331249a94930adb3d2a7243d946733b63324b2d6" "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-6-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" "+331249a94930adb3d2a7243d946733b63324b2d6" "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 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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+331249a94930adb3d2a7243d946733b63324b2d6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cce35c18b62bea7e5b0f70b508e6f95c1fea641b1c2d392c4c0a5944ad55caf6 [INFO] running `Command { std: "docker" "start" "-a" "cce35c18b62bea7e5b0f70b508e6f95c1fea641b1c2d392c4c0a5944ad55caf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce35c18b62bea7e5b0f70b508e6f95c1fea641b1c2d392c4c0a5944ad55caf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce35c18b62bea7e5b0f70b508e6f95c1fea641b1c2d392c4c0a5944ad55caf6", kill_on_drop: false }` [INFO] [stdout] cce35c18b62bea7e5b0f70b508e6f95c1fea641b1c2d392c4c0a5944ad55caf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+331249a94930adb3d2a7243d946733b63324b2d6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a513a50e97b3ad1368f3cdf068e2cfad0d6715f01b3ec1f163d7e191a7f52fc9 [INFO] running `Command { std: "docker" "start" "-a" "a513a50e97b3ad1368f3cdf068e2cfad0d6715f01b3ec1f163d7e191a7f52fc9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling memchr v2.5.0 [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 shlex v1.1.0 [INFO] [stderr] Compiling clang-sys v1.4.0 [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 num-traits v0.2.15 [INFO] [stderr] Checking iced-x86 v1.17.0 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling nom v7.1.1 [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: `VarAddr` [INFO] [stdout] --> src/jit/emitter_cond.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jit::assembler::short_inst::var_addr::{Addr, VarAddr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_info` [INFO] [stdout] --> src/kernel/svc_handler.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | define_fn!(svc_query_memory, global_context (memory_info _placeholder address), { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/kernel/svc_handler.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | define_fn!(svc_query_memory, global_context (memory_info _placeholder address), { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_context` [INFO] [stdout] --> src/kernel/svc_handler.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | define_fn!(svc_query_memory, global_context (memory_info _placeholder address), { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_context` [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] = note: `#[warn(dead_code)]` on by default [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:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | 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:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VarAddr` [INFO] [stdout] --> src/jit/emitter_cond.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::jit::assembler::short_inst::var_addr::{Addr, VarAddr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `memory_info` [INFO] [stdout] --> src/kernel/svc_handler.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | define_fn!(svc_query_memory, global_context (memory_info _placeholder address), { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_info` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/kernel/svc_handler.rs:45:75 [INFO] [stdout] | [INFO] [stdout] 45 | define_fn!(svc_query_memory, global_context (memory_info _placeholder address), { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `global_context` [INFO] [stdout] --> src/kernel/svc_handler.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | define_fn!(svc_query_memory, global_context (memory_info _placeholder address), { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_global_context` [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] = note: `#[warn(dead_code)]` on by default [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:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.83s [INFO] running `Command { std: "docker" "inspect" "a513a50e97b3ad1368f3cdf068e2cfad0d6715f01b3ec1f163d7e191a7f52fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a513a50e97b3ad1368f3cdf068e2cfad0d6715f01b3ec1f163d7e191a7f52fc9", kill_on_drop: false }` [INFO] [stdout] a513a50e97b3ad1368f3cdf068e2cfad0d6715f01b3ec1f163d7e191a7f52fc9