[INFO] cloning repository https://github.com/makotoshimazu/pwntools-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/makotoshimazu/pwntools-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakotoshimazu%2Fpwntools-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakotoshimazu%2Fpwntools-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4579f12e972b333cd667307f157f38a6a267af6a
[INFO] checking makotoshimazu/pwntools-rs against master#cf79d034aa3d8f396d407aafce6f1ccd818e710e for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakotoshimazu%2Fpwntools-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/makotoshimazu/pwntools-rs
[INFO] finished tweaking git repo https://github.com/makotoshimazu/pwntools-rs
[INFO] tweaked toml for git repo https://github.com/makotoshimazu/pwntools-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/makotoshimazu/pwntools-rs on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "generate-lockfile" "--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]      Locking 86 packages to latest compatible versions
[INFO] [stderr]       Adding clap v3.2.25 (available: v4.6.1)
[INFO] [stderr]       Adding elf-utilities v0.2.8 (available: v0.2.20)
[INFO] [stderr]       Adding num-derive v0.3.3 (available: v0.4.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded elf-utilities v0.2.8
[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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 678a3ba8b89ed1bb19d5db661f9acb7175efe995d60108db40acaf2e9a5a6f2b
[INFO] running `Command { std: "docker" "start" "-a" "678a3ba8b89ed1bb19d5db661f9acb7175efe995d60108db40acaf2e9a5a6f2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "678a3ba8b89ed1bb19d5db661f9acb7175efe995d60108db40acaf2e9a5a6f2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "678a3ba8b89ed1bb19d5db661f9acb7175efe995d60108db40acaf2e9a5a6f2b", kill_on_drop: false }`
[INFO] [stdout] 678a3ba8b89ed1bb19d5db661f9acb7175efe995d60108db40acaf2e9a5a6f2b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ce20339f584c1cd6cb2e40cfbac9ac6ab97ffd573520d8e5afd789278032cddf
[INFO] running `Command { std: "docker" "start" "-a" "ce20339f584c1cd6cb2e40cfbac9ac6ab97ffd573520d8e5afd789278032cddf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling prettyplease v0.2.37
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling bindgen v0.71.1
[INFO] [stderr]    Compiling libloading v0.8.9
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling rustc-hash v2.1.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling bitflags v2.11.1
[INFO] [stderr]    Compiling cc v1.2.62
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking textwrap v0.16.2
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling clap_derive v3.2.25
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking elf-utilities v0.2.8
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]    Compiling unicorn-engine-sys v2.1.5
[INFO] [stderr]     Checking unicorn-engine v2.1.5
[INFO] [stderr]     Checking pwntools v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `unicorn_engine::unicorn_const::Permission`
[INFO] [stdout]    --> src/pwn.rs:113:67
[INFO] [stdout]     |
[INFO] [stdout] 113 |         use unicorn_engine::unicorn_const::{Arch, HookType, Mode, Permission};
[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/pwn.rs:113:67
[INFO] [stdout]     |
[INFO] [stdout] 113 |         use unicorn_engine::unicorn_const::{Arch, HookType, Mode, Permission};
[INFO] [stdout]     |                                                                   ^^^^^^^^^^ no `Permission` in `unicorn_const`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/pwn.rs:133:28
[INFO] [stdout]     |
[INFO] [stdout] 133 |         emu.mem_map(start, (stop - start) as usize, 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] 133 |         emu.mem_map(start, ((stop - start) as usize).try_into().unwrap(), Permission::ALL)
[INFO] [stdout]     |                            +                       +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/pwn.rs:133:28
[INFO] [stdout]     |
[INFO] [stdout] 133 |         emu.mem_map(start, (stop - start) as usize, 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] 133 |         emu.mem_map(start, ((stop - start) as usize).try_into().unwrap(), Permission::ALL)
[INFO] [stdout]     |                            +                       +++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pwntools` (lib) due to 2 previous errors
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[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 `pwntools` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "ce20339f584c1cd6cb2e40cfbac9ac6ab97ffd573520d8e5afd789278032cddf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce20339f584c1cd6cb2e40cfbac9ac6ab97ffd573520d8e5afd789278032cddf", kill_on_drop: false }`
[INFO] [stdout] ce20339f584c1cd6cb2e40cfbac9ac6ab97ffd573520d8e5afd789278032cddf
