[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] building makotoshimazu/pwntools-rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakotoshimazu%2Fpwntools-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/makotoshimazu/pwntools-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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 104 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.48) [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e8056ebf6eca9c024b4571d7858c6a36bbac8b69ae2cc5b466d6ed8499574f2 [INFO] running `Command { std: "docker" "start" "-a" "2e8056ebf6eca9c024b4571d7858c6a36bbac8b69ae2cc5b466d6ed8499574f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e8056ebf6eca9c024b4571d7858c6a36bbac8b69ae2cc5b466d6ed8499574f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e8056ebf6eca9c024b4571d7858c6a36bbac8b69ae2cc5b466d6ed8499574f2", kill_on_drop: false }` [INFO] [stdout] 2e8056ebf6eca9c024b4571d7858c6a36bbac8b69ae2cc5b466d6ed8499574f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e0025f4cfa624a3374b4cf06582ec94707746497ccfd83baf3e671cb89095ff [INFO] running `Command { std: "docker" "start" "-a" "3e0025f4cfa624a3374b4cf06582ec94707746497ccfd83baf3e671cb89095ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling elf-utilities v0.2.8 [INFO] [stderr] Compiling unicorn-engine-sys v2.1.5 [INFO] [stderr] Compiling unicorn-engine v2.1.5 [INFO] [stderr] Compiling 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[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] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pwntools` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "3e0025f4cfa624a3374b4cf06582ec94707746497ccfd83baf3e671cb89095ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e0025f4cfa624a3374b4cf06582ec94707746497ccfd83baf3e671cb89095ff", kill_on_drop: false }` [INFO] [stdout] 3e0025f4cfa624a3374b4cf06582ec94707746497ccfd83baf3e671cb89095ff