[INFO] cloning repository https://github.com/tigger1005/uni_arm_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tigger1005/uni_arm_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigger1005%2Funi_arm_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigger1005%2Funi_arm_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e34cc7a6e8b8ebcdde3678a48bc1e77f6c38034b [INFO] checking tigger1005/uni_arm_sim/e34cc7a6e8b8ebcdde3678a48bc1e77f6c38034b against master#ab1d2444533d829e2d5cff6634cd3c70de6d7103 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftigger1005%2Funi_arm_sim" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tigger1005/uni_arm_sim [INFO] finished tweaking git repo https://github.com/tigger1005/uni_arm_sim [INFO] tweaked toml for git repo https://github.com/tigger1005/uni_arm_sim written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tigger1005/uni_arm_sim on toolchain ab1d2444533d829e2d5cff6634cd3c70de6d7103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 34 packages to latest compatible versions [INFO] [stderr] Adding elf v0.7.4 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicorn-engine v2.1.5 [INFO] [stderr] Downloaded unicorn-engine-sys v2.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a899bd2853b7ec4770d95d4c77155f95db37b4e86b8cd58c5e997a0930f1b0f9 [INFO] running `Command { std: "docker" "start" "-a" "a899bd2853b7ec4770d95d4c77155f95db37b4e86b8cd58c5e997a0930f1b0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a899bd2853b7ec4770d95d4c77155f95db37b4e86b8cd58c5e997a0930f1b0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a899bd2853b7ec4770d95d4c77155f95db37b4e86b8cd58c5e997a0930f1b0f9", kill_on_drop: false }` [INFO] [stdout] a899bd2853b7ec4770d95d4c77155f95db37b4e86b8cd58c5e997a0930f1b0f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5fd58d62787e175f66cc638c1a9fa281e1c5ab02ef42805b4a8116d87a9d0983 [INFO] running `Command { std: "docker" "start" "-a" "5fd58d62787e175f66cc638c1a9fa281e1c5ab02ef42805b4a8116d87a9d0983", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking elf v0.7.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling unicorn-engine-sys v2.1.5 [INFO] [stderr] Checking unicorn-engine v2.1.5 [INFO] [stderr] Checking uni_arm_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `unicorn_engine::unicorn_const::Permission` [INFO] [stdout] --> src/main.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | use unicorn_engine::unicorn_const::{Arch, Mode, Permission, SECOND_SCALE}; [INFO] [stdout] | ^^^^^^^^^^ no `Permission` in `unicorn_const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `unicorn_engine::unicorn_const::Permission` [INFO] [stdout] --> src/main.rs:14:49 [INFO] [stdout] | [INFO] [stdout] 14 | use unicorn_engine::unicorn_const::{Arch, Mode, Permission, SECOND_SCALE}; [INFO] [stdout] | ^^^^^^^^^^ no `Permission` in `unicorn_const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | emu.mem_map(file_data.program_header.p_paddr, code_size, Permission::ALL) [INFO] [stdout] | ------- ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.5/src/lib.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn mem_map(&mut self, address: u64, size: u64, perms: Prot) -> Result<(), uc_error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 55 | emu.mem_map(file_data.program_header.p_paddr, code_size.try_into().unwrap(), Permission::ALL) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | emu.mem_map(STACK_BASE, STACK_SIZE, Permission::READ | Permission::WRITE) [INFO] [stdout] | ------- ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.5/src/lib.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn mem_map(&mut self, address: u64, size: u64, perms: Prot) -> Result<(), uc_error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 59 | emu.mem_map(STACK_BASE, STACK_SIZE.try_into().unwrap(), Permission::READ | Permission::WRITE) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | emu.mmio_map( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 65 | SERIAL_IO_BASE, [INFO] [stdout] 66 | MINIMUM_MEMORY_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.5/src/lib.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn mmio_map( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 66 | MINIMUM_MEMORY_SIZE.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | emu.mem_map(file_data.program_header.p_paddr, code_size, Permission::ALL) [INFO] [stdout] | ------- ^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.5/src/lib.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn mem_map(&mut self, address: u64, size: u64, perms: Prot) -> Result<(), uc_error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 55 | emu.mem_map(file_data.program_header.p_paddr, code_size.try_into().unwrap(), Permission::ALL) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | emu.mem_map(STACK_BASE, STACK_SIZE, Permission::READ | Permission::WRITE) [INFO] [stdout] | ------- ^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.5/src/lib.rs:415:12 [INFO] [stdout] | [INFO] [stdout] 415 | pub fn mem_map(&mut self, address: u64, size: u64, perms: Prot) -> Result<(), uc_error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 59 | emu.mem_map(STACK_BASE, STACK_SIZE.try_into().unwrap(), Permission::READ | Permission::WRITE) [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uni_arm_sim` (bin "uni_arm_sim" test) due to 4 previous errors [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 64 | emu.mmio_map( [INFO] [stdout] | -------- arguments to this method are incorrect [INFO] [stdout] 65 | SERIAL_IO_BASE, [INFO] [stdout] 66 | MINIMUM_MEMORY_SIZE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/unicorn-engine-2.1.5/src/lib.rs:423:12 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn mmio_map( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: you can convert a `usize` to a `u64` and panic if the converted value doesn't fit [INFO] [stdout] | [INFO] [stdout] 66 | MINIMUM_MEMORY_SIZE.try_into().unwrap(), [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `uni_arm_sim` (bin "uni_arm_sim") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5fd58d62787e175f66cc638c1a9fa281e1c5ab02ef42805b4a8116d87a9d0983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fd58d62787e175f66cc638c1a9fa281e1c5ab02ef42805b4a8116d87a9d0983", kill_on_drop: false }` [INFO] [stdout] 5fd58d62787e175f66cc638c1a9fa281e1c5ab02ef42805b4a8116d87a9d0983