[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/4579f12e972b333cd667307f157f38a6a267af6a against master#9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a for pr-138458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmakotoshimazu%2Fpwntools-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/makotoshimazu/pwntools-rs on toolchain 9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 82 packages to latest compatible versions [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.32) [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" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded elf-utilities v0.2.8 [INFO] [stderr] Downloaded unicorn-engine v2.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cba6d0edb54dda03f183423f09c1fdaa76553ee2a397e5746830bbed54bc0033 [INFO] running `Command { std: "docker" "start" "-a" "cba6d0edb54dda03f183423f09c1fdaa76553ee2a397e5746830bbed54bc0033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cba6d0edb54dda03f183423f09c1fdaa76553ee2a397e5746830bbed54bc0033", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cba6d0edb54dda03f183423f09c1fdaa76553ee2a397e5746830bbed54bc0033", kill_on_drop: false }` [INFO] [stdout] cba6d0edb54dda03f183423f09c1fdaa76553ee2a397e5746830bbed54bc0033 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+9c67cecd12d79f1bbc00a74f70e7ef9fff086a5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d3bb1f0243b224af5d96b019d3662072dd5401800694a92790f9e913741c6ac [INFO] running `Command { std: "docker" "start" "-a" "3d3bb1f0243b224af5d96b019d3662072dd5401800694a92790f9e913741c6ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling unicorn-engine v2.1.3 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.44.1 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking elf-utilities v0.2.8 [INFO] [stderr] Checking pwntools v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: The #[tokio::main] macro requires rt or rt-multi-thread. [INFO] [stdout] --> examples/remote.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection::Connection` and `connection::Remote` [INFO] [stdout] --> examples/remote.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use pwntools::{connection::Connection, connection::Remote}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `remote` [INFO] [stdout] --> examples/remote.rs:8:2 [INFO] [stdout] | [INFO] [stdout] 8 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/remote.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: The #[tokio::main] macro requires rt or rt-multi-thread. [INFO] [stdout] --> examples/process.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pwntools` (example "remote") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `connection::Connection` and `connection::Process` [INFO] [stdout] --> examples/process.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use pwntools::{connection::Connection, connection::Process}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> examples/process.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `process` [INFO] [stdout] --> examples/process.rs:19:2 [INFO] [stdout] | [INFO] [stdout] 19 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/process.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[tokio::main] macro requires rt or rt-multi-thread. [INFO] [stdout] --> examples/solve_beginners_pwn.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `connection::Connection`, `connection::Process`, `pwn::*`, and `util::*` [INFO] [stdout] --> examples/solve_beginners_pwn.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use pwntools::{connection::Connection, connection::Process, pwn::*, util::*}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `io` and `time` [INFO] [stdout] --> examples/solve_beginners_pwn.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{io, time}; [INFO] [stdout] | ^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `solve_beginners_pwn` [INFO] [stdout] --> examples/solve_beginners_pwn.rs:61:2 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/solve_beginners_pwn.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pwntools` (example "solve_beginners_pwn") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] error: could not compile `pwntools` (example "process") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3d3bb1f0243b224af5d96b019d3662072dd5401800694a92790f9e913741c6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3bb1f0243b224af5d96b019d3662072dd5401800694a92790f9e913741c6ac", kill_on_drop: false }` [INFO] [stdout] 3d3bb1f0243b224af5d96b019d3662072dd5401800694a92790f9e913741c6ac