[INFO] cloning repository https://github.com/stevenleon99/pty-claude
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevenleon99/pty-claude" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenleon99%2Fpty-claude", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenleon99%2Fpty-claude'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1f2698e7e62e440118c832c6d72ca799fa5756ed
[INFO] checking stevenleon99/pty-claude against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenleon99%2Fpty-claude" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/stevenleon99/pty-claude
[INFO] finished tweaking git repo https://github.com/stevenleon99/pty-claude
[INFO] tweaked toml for git repo https://github.com/stevenleon99/pty-claude written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/stevenleon99/pty-claude on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/stevenleon99/pty-claude 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--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]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.120
[INFO] [stderr]   Downloaded vte_generate_state_changes v0.1.2
[INFO] [stderr]   Downloaded vte v0.13.1
[INFO] [stderr]   Downloaded uuid v1.23.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.120
[INFO] [stderr]   Downloaded rand_xorshift v0.4.0
[INFO] [stderr]   Downloaded rustls-pemfile v2.2.0
[INFO] [stderr]   Downloaded bit-set v0.8.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.120
[INFO] [stderr]   Downloaded relative-path v1.9.3
[INFO] [stderr]   Downloaded diff v0.1.13
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.120
[INFO] [stderr]   Downloaded unarray v0.1.4
[INFO] [stderr]   Downloaded wait-timeout v0.2.1
[INFO] [stderr]   Downloaded quick-error v1.2.3
[INFO] [stderr]   Downloaded tracing-serde v0.2.0
[INFO] [stderr]   Downloaded shell-words v1.1.1
[INFO] [stderr]   Downloaded futures-timer v3.0.3
[INFO] [stderr]   Downloaded kqueue-sys v1.1.0
[INFO] [stderr]   Downloaded rusty-fork v0.3.1
[INFO] [stderr]   Downloaded bit-vec v0.8.0
[INFO] [stderr]   Downloaded tokio-test v0.4.5
[INFO] [stderr]   Downloaded headers-core v0.3.0
[INFO] [stderr]   Downloaded zerofrom v0.1.7
[INFO] [stderr]   Downloaded portable-pty v0.9.0
[INFO] [stderr]   Downloaded kqueue v1.1.1
[INFO] [stderr]   Downloaded inotify-sys v0.1.5
[INFO] [stderr]   Downloaded fsevent-sys v4.1.0
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded fastrand v2.4.1
[INFO] [stderr]   Downloaded rstest v0.18.2
[INFO] [stderr]   Downloaded inotify v0.9.6
[INFO] [stderr]   Downloaded openssl-probe v0.1.6
[INFO] [stderr]   Downloaded data-encoding v2.11.0
[INFO] [stderr]   Downloaded jobserver v0.1.34
[INFO] [stderr]   Downloaded serial2 v0.2.36
[INFO] [stderr]   Downloaded filetime v0.2.27
[INFO] [stderr]   Downloaded inotify v0.10.2
[INFO] [stderr]   Downloaded multer v3.1.0
[INFO] [stderr]   Downloaded notify v6.1.1
[INFO] [stderr]   Downloaded tokio-tungstenite v0.24.0
[INFO] [stderr]   Downloaded axum-extra v0.9.6
[INFO] [stderr]   Downloaded rstest_macros v0.18.2
[INFO] [stderr]   Downloaded pretty_assertions v1.4.1
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] [stderr]   Downloaded tungstenite v0.24.0
[INFO] [stderr]   Downloaded cc v1.2.61
[INFO] [stderr]   Downloaded headers v0.4.1
[INFO] [stderr]   Downloaded openssl-sys v0.9.115
[INFO] [stderr]   Downloaded js-sys v0.3.97
[INFO] [stderr]   Downloaded hashbrown v0.17.0
[INFO] [stderr]   Downloaded git2 v0.18.3
[INFO] [stderr]   Downloaded proptest v1.11.0
[INFO] [stderr]   Downloaded aws-lc-rs v1.16.3
[INFO] [stderr]   Downloaded nix v0.28.0
[INFO] [stderr]   Downloaded libssh2-sys v0.3.1
[INFO] [stderr]   Downloaded libz-sys v1.1.28
[INFO] [stderr]   Downloaded tokio v1.52.2
[INFO] [stderr]   Downloaded libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]   Downloaded aws-lc-sys v0.40.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16
[INFO] running `Command { std: "docker" "start" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.186
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking utf-8 v0.7.6
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]     Checking data-encoding v2.11.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]    Compiling cc v1.2.61
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking regex-syntax v0.8.10
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking mio v1.2.0
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking tokio v1.52.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking fastrand v2.4.1
[INFO] [stderr]     Checking rand v0.8.6
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking inotify-sys v0.1.5
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking tungstenite v0.24.0
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling nix v0.28.0
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling openssl-sys v0.9.115
[INFO] [stderr]    Compiling libz-sys v1.1.28
[INFO] [stderr]    Compiling libssh2-sys v0.3.1
[INFO] [stderr]    Compiling libgit2-sys v0.16.2+1.7.2
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]     Checking headers-core v0.3.0
[INFO] [stderr]    Compiling axum-macros v0.4.2
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking headers v0.4.1
[INFO] [stderr]     Checking hyper v1.9.0
[INFO] [stderr]     Checking tokio-tungstenite v0.24.0
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking crossbeam-channel v0.5.15
[INFO] [stderr]     Checking tungstenite v0.21.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]    Compiling rstest_macros v0.18.2
[INFO] [stderr]     Checking inotify v0.9.6
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking filetime v0.2.27
[INFO] [stderr]    Compiling vte_generate_state_changes v0.1.2
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking tower-http v0.5.2
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking vte v0.13.1
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]     Checking notify v6.1.1
[INFO] [stderr]     Checking tempfile v3.27.0
[INFO] [stderr]     Checking tokio-tungstenite v0.21.0
[INFO] [stderr]     Checking inotify v0.10.2
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking uuid v1.23.1
[INFO] [stderr]     Checking wait-timeout v0.2.1
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling relative-path v1.9.3
[INFO] [stderr]     Checking bit-vec v0.8.0
[INFO] [stderr]     Checking rusty-fork v0.3.1
[INFO] [stderr]     Checking bit-set v0.8.0
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_xorshift v0.4.0
[INFO] [stderr]     Checking rand v0.9.4
[INFO] [stderr]     Checking yansi v1.0.1
[INFO] [stderr]     Checking diff v0.1.13
[INFO] [stderr]     Checking futures-timer v3.0.3
[INFO] [stderr]     Checking unarray v0.1.4
[INFO] [stderr]     Checking pretty_assertions v1.4.1
[INFO] [stderr]     Checking tokio-test v0.4.5
[INFO] [stderr]     Checking assert_matches v1.5.0
[INFO] [stderr]     Checking proptest v1.11.0
[INFO] [stderr]     Checking axum-extra v0.9.6
[INFO] [stderr]     Checking rstest v0.18.2
[INFO] [stderr]     Checking rustls-webpki v0.103.13
[INFO] [stderr]     Checking git2 v0.18.3
[INFO] [stderr]     Checking tokio-rustls v0.26.4
[INFO] [stderr]     Checking pty-claude v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `nix::sys::termios::Winsize`
[INFO] [stdout]   --> src/session/posix_pty.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use nix::sys::termios::Winsize;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            no `Winsize` in `sys::termios`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 22 -     use nix::sys::termios::Winsize;
[INFO] [stdout] 22 +     use nix::pty::Winsize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nix::sys::termios::Winsize`
[INFO] [stdout]   --> src/session/posix_pty.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use nix::sys::termios::Winsize;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^-------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            no `Winsize` in `sys::termios`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout] 22 -     use nix::sys::termios::Winsize;
[INFO] [stdout] 22 +     use nix::pty::Winsize;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/net/routes.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tracing::{debug, info};
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read` and `write`
[INFO] [stdout]   --> src/session/posix_pty.rs:24:59
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use nix::unistd::{chdir, close, execve, execvp, pipe, read, write, Pid};
[INFO] [stdout]    |                                                           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `debug`
[INFO] [stdout]   --> src/net/routes.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 23 | use tracing::{debug, info};
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `read` and `write`
[INFO] [stdout]   --> src/session/posix_pty.rs:24:59
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use nix::unistd::{chdir, close, execve, execvp, pipe, read, write, Pid};
[INFO] [stdout]    |                                                           ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `readable_fd`
[INFO] [stdout]    --> src/session/registry.rs:354:5
[INFO] [stdout]     |
[INFO] [stdout] 354 |     impl PtyProcess for MockPty {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `readable_fd` in implementation
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/session/mod.rs:58:9
[INFO] [stdout]     |
[INFO] [stdout]  58 |         fn readable_fd(&self) -> Option<std::os::unix::io::RawFd>;
[INFO] [stdout]     |         ---------------------------------------------------------- `readable_fd` from trait
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]   --> src/session/posix_pty.rs:82:54
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let (read_fd, write_fd) = pipe().map_err(PtyError::Io)?;
[INFO] [stdout]    |                                              ------- ^^^^^^^^^^^^ expected due to this
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/session/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Io(#[from] std::io::Error),
[INFO] [stdout]    |         -- found signature defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected function signature `fn(Errno) -> _`
[INFO] [stdout]               found function signature `fn(std::io::Error) -> _`
[INFO] [stdout] note: required by a bound in `Result::<T, E>::map_err`
[INFO] [stdout]   --> /rustc/4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d/library/core/src/result.rs:960:4
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let (read_fd, write_fd) = pipe().map_err(|arg0: Errno| PtyError::Io(/* std::io::Error */))?;
[INFO] [stdout]    |                                                      +++++++++++++             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/session/posix_pty.rs:83:25
[INFO] [stdout]     |
[INFO] [stdout]  83 |             set_cloexec(read_fd)?;
[INFO] [stdout]     |             ----------- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/session/posix_pty.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 |     fn set_cloexec(fd: RawFd) -> Result<(), PtyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^ ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/session/posix_pty.rs:84:25
[INFO] [stdout]     |
[INFO] [stdout]  84 |             set_cloexec(write_fd)?;
[INFO] [stdout]     |             ----------- ^^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/session/posix_pty.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 |     fn set_cloexec(fd: RawFd) -> Result<(), PtyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^ ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:89:31
[INFO] [stdout]      |
[INFO] [stdout]   89 |                 let _ = close(read_fd);
[INFO] [stdout]      |                         ----- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:90:31
[INFO] [stdout]      |
[INFO] [stdout]   90 |                 let _ = close(write_fd);
[INFO] [stdout]      |                         ----- ^^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Child` found for struct `ForkptyResult` in the current scope
[INFO] [stdout]   --> src/session/posix_pty.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 ForkptyResult::Child => {
[INFO] [stdout]    |                                ^^^^^ associated function or constant not found in `ForkptyResult`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]    --> src/session/posix_pty.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 ForkptyResult::Parent { master, child } => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Parent` implemented for `ForkptyResult`, you could use the fully-qualified path
[INFO] [stdout]     |
[INFO] [stdout] 135 -                 ForkptyResult::Parent { master, child } => {
[INFO] [stdout] 135 +                 <ForkptyResult as Example>::Parent { master, child } => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:97:35
[INFO] [stdout]      |
[INFO] [stdout]   97 |                     let _ = close(read_fd);
[INFO] [stdout]      |                             ----- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:137:35
[INFO] [stdout]      |
[INFO] [stdout]  137 |                     let _ = close(write_fd);
[INFO] [stdout]      |                             ----- ^^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:145:35
[INFO] [stdout]      |
[INFO] [stdout]  145 |                     let _ = close(read_fd);
[INFO] [stdout]      |                             ----- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: AsFd` is not satisfied
[INFO] [stdout]     --> src/session/posix_pty.rs:172:44
[INFO] [stdout]      |
[INFO] [stdout]  172 |                 let n = nix::unistd::write(fd, &input[written..])
[INFO] [stdout]      |                         ------------------ ^^ the trait `AsFd` is not implemented for `i32`
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = help: the following other types implement trait `AsFd`:
[INFO] [stdout]                &T
[INFO] [stdout]                &mut T
[INFO] [stdout]                Arc<T>
[INFO] [stdout]                AsyncFd<T>
[INFO] [stdout]                BorrowedFd<'_>
[INFO] [stdout]                Box<T>
[INFO] [stdout]                Dir
[INFO] [stdout]                OwnedFd
[INFO] [stdout]              and 55 others
[INFO] [stdout] note: required by a bound in `nix::unistd::write`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1105:18
[INFO] [stdout]      |
[INFO] [stdout] 1105 | pub fn write<Fd: AsFd>(fd: Fd, buf: &[u8]) -> Result<usize> {
[INFO] [stdout]      |                  ^^^^ required by this bound in `write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0631]: type mismatch in function arguments
[INFO] [stdout]   --> src/session/posix_pty.rs:82:54
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let (read_fd, write_fd) = pipe().map_err(PtyError::Io)?;
[INFO] [stdout]    |                                              ------- ^^^^^^^^^^^^ expected due to this
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/session/mod.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Io(#[from] std::io::Error),
[INFO] [stdout]    |         -- found signature defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected function signature `fn(Errno) -> _`
[INFO] [stdout]               found function signature `fn(std::io::Error) -> _`
[INFO] [stdout] note: required by a bound in `Result::<T, E>::map_err`
[INFO] [stdout]   --> /rustc/4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d/library/core/src/result.rs:960:4
[INFO] [stdout] help: consider wrapping the function in a closure
[INFO] [stdout]    |
[INFO] [stdout] 82 |             let (read_fd, write_fd) = pipe().map_err(|arg0: Errno| PtyError::Io(/* std::io::Error */))?;
[INFO] [stdout]    |                                                      +++++++++++++             ++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/session/posix_pty.rs:83:25
[INFO] [stdout]     |
[INFO] [stdout]  83 |             set_cloexec(read_fd)?;
[INFO] [stdout]     |             ----------- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/session/posix_pty.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 |     fn set_cloexec(fd: RawFd) -> Result<(), PtyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^ ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/session/posix_pty.rs:84:25
[INFO] [stdout]     |
[INFO] [stdout]  84 |             set_cloexec(write_fd)?;
[INFO] [stdout]     |             ----------- ^^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]     |             |
[INFO] [stdout]     |             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/session/posix_pty.rs:292:8
[INFO] [stdout]     |
[INFO] [stdout] 292 |     fn set_cloexec(fd: RawFd) -> Result<(), PtyError> {
[INFO] [stdout]     |        ^^^^^^^^^^^ ---------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:89:31
[INFO] [stdout]      |
[INFO] [stdout]   89 |                 let _ = close(read_fd);
[INFO] [stdout]      |                         ----- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:90:31
[INFO] [stdout]      |
[INFO] [stdout]   90 |                 let _ = close(write_fd);
[INFO] [stdout]      |                         ----- ^^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `Child` found for struct `ForkptyResult` in the current scope
[INFO] [stdout]   --> src/session/posix_pty.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |                 ForkptyResult::Child => {
[INFO] [stdout]    |                                ^^^^^ associated function or constant not found in `ForkptyResult`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]    --> src/session/posix_pty.rs:135:17
[INFO] [stdout]     |
[INFO] [stdout] 135 |                 ForkptyResult::Parent { master, child } => {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Parent` implemented for `ForkptyResult`, you could use the fully-qualified path
[INFO] [stdout]     |
[INFO] [stdout] 135 -                 ForkptyResult::Parent { master, child } => {
[INFO] [stdout] 135 +                 <ForkptyResult as Example>::Parent { master, child } => {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:97:35
[INFO] [stdout]      |
[INFO] [stdout]   97 |                     let _ = close(read_fd);
[INFO] [stdout]      |                             ----- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:137:35
[INFO] [stdout]      |
[INFO] [stdout]  137 |                     let _ = close(write_fd);
[INFO] [stdout]      |                             ----- ^^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]     --> src/session/posix_pty.rs:145:35
[INFO] [stdout]      |
[INFO] [stdout]  145 |                     let _ = close(read_fd);
[INFO] [stdout]      |                             ----- ^^^^^^^ expected `i32`, found `OwnedFd`
[INFO] [stdout]      |                             |
[INFO] [stdout]      |                             arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1087:8
[INFO] [stdout]      |
[INFO] [stdout] 1087 | pub fn close(fd: RawFd) -> Result<()> {
[INFO] [stdout]      |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `i32: AsFd` is not satisfied
[INFO] [stdout]     --> src/session/posix_pty.rs:172:44
[INFO] [stdout]      |
[INFO] [stdout]  172 |                 let n = nix::unistd::write(fd, &input[written..])
[INFO] [stdout]      |                         ------------------ ^^ the trait `AsFd` is not implemented for `i32`
[INFO] [stdout]      |                         |
[INFO] [stdout]      |                         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = help: the following other types implement trait `AsFd`:
[INFO] [stdout]                &T
[INFO] [stdout]                &mut T
[INFO] [stdout]                AsyncFd<T>
[INFO] [stdout]                BorrowedFd<'_>
[INFO] [stdout]                Box<T>
[INFO] [stdout]                Dir
[INFO] [stdout]                NamedTempFile<F>
[INFO] [stdout]                OwnedFd
[INFO] [stdout]              and 56 others
[INFO] [stdout] note: required by a bound in `nix::unistd::write`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.28.0/src/unistd.rs:1105:18
[INFO] [stdout]      |
[INFO] [stdout] 1105 | pub fn write<Fd: AsFd>(fd: Fd, buf: &[u8]) -> Result<usize> {
[INFO] [stdout]      |                  ^^^^ required by this bound in `write`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0223, E0277, E0308, E0432, E0599, E0631.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0223`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pty-claude` (lib) due to 12 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0046, E0223, E0277, E0308, E0432, E0599, E0631.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pty-claude` (lib test) due to 13 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16", kill_on_drop: false }`
[INFO] [stdout] ae38817a632820df43ddffe5303fa34585979c4238c49629393c76a135fdbc16
