[INFO] cloning repository https://github.com/jld-adriano/run-http [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jld-adriano/run-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjld-adriano%2Frun-http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjld-adriano%2Frun-http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0b3b4c00f37b1198c850028c7902231cabf111f6 [INFO] testing jld-adriano/run-http against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjld-adriano%2Frun-http" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jld-adriano/run-http on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jld-adriano/run-http [INFO] finished tweaking git repo https://github.com/jld-adriano/run-http [INFO] tweaked toml for git repo https://github.com/jld-adriano/run-http written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jld-adriano/run-http 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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding anyhow v1.0.95 [INFO] [stderr] Adding bitflags v1.3.2 [INFO] [stderr] Adding downcast-rs v1.2.1 [INFO] [stderr] Adding filedescriptor v0.8.3 [INFO] [stderr] Adding ioctl-rs v0.1.6 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding memoffset v0.6.5 [INFO] [stderr] Adding nix v0.25.1 [INFO] [stderr] Adding portable-pty v0.8.1 (available: v0.9.0) [INFO] [stderr] Adding serial v0.4.0 [INFO] [stderr] Adding serial-core v0.4.0 [INFO] [stderr] Adding serial-unix v0.4.0 [INFO] [stderr] Adding serial-windows v0.4.0 [INFO] [stderr] Adding shared_library v0.1.9 [INFO] [stderr] Adding shell-words v1.1.0 [INFO] [stderr] Adding termios v0.2.2 [INFO] [stderr] Adding thiserror v1.0.65 (available: v1.0.69) [INFO] [stderr] Adding thiserror-impl v1.0.65 (available: v1.0.69) [INFO] [stderr] Adding winreg v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99ad8afec9e06e87e807efc6014a4773d83c6d0f12c0b9daa1698e21e08a1591 [INFO] running `Command { std: "docker" "start" "-a" "99ad8afec9e06e87e807efc6014a4773d83c6d0f12c0b9daa1698e21e08a1591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99ad8afec9e06e87e807efc6014a4773d83c6d0f12c0b9daa1698e21e08a1591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99ad8afec9e06e87e807efc6014a4773d83c6d0f12c0b9daa1698e21e08a1591", kill_on_drop: false }` [INFO] [stdout] 99ad8afec9e06e87e807efc6014a4773d83c6d0f12c0b9daa1698e21e08a1591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dab603aec0be2519c7b9a2a3f0ecb63f432f0619f72a947f7a244bc6bdb3a115 [INFO] running `Command { std: "docker" "start" "-a" "dab603aec0be2519c7b9a2a3f0ecb63f432f0619f72a947f7a244bc6bdb3a115", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling clap v4.5.15 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling clap-markdown v0.1.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling run-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Child` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::process::{Child, Command as TokioCommand}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::body::MessageBody` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use actix_web::body::MessageBody; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_raw_output` is never used [INFO] [stdout] --> src/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | async fn stream_raw_output(mut stream: impl AsyncReadExt + Unpin, tx: mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_output` is never used [INFO] [stdout] --> src/main.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | async fn stream_output(mut stream: S, tx: mpsc::Sender) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 15s [INFO] running `Command { std: "docker" "inspect" "dab603aec0be2519c7b9a2a3f0ecb63f432f0619f72a947f7a244bc6bdb3a115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dab603aec0be2519c7b9a2a3f0ecb63f432f0619f72a947f7a244bc6bdb3a115", kill_on_drop: false }` [INFO] [stdout] dab603aec0be2519c7b9a2a3f0ecb63f432f0619f72a947f7a244bc6bdb3a115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 069f2980e7f9e78cc999068c15480aa0df4d748fa86d2b49c65093ff51f9d412 [INFO] running `Command { std: "docker" "start" "-a" "069f2980e7f9e78cc999068c15480aa0df4d748fa86d2b49c65093ff51f9d412", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling clap v4.5.15 [INFO] [stderr] Compiling clap-markdown v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling run-http v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Stdio` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::process::Stdio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Child` [INFO] [stdout] --> src/main.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::process::{Child, Command as TokioCommand}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_raw_output` is never used [INFO] [stdout] --> src/main.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | async fn stream_raw_output(mut stream: impl AsyncReadExt + Unpin, tx: mpsc::Sender) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_output` is never used [INFO] [stdout] --> src/main.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | async fn stream_output(mut stream: S, tx: mpsc::Sender) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 55.81s [INFO] running `Command { std: "docker" "inspect" "069f2980e7f9e78cc999068c15480aa0df4d748fa86d2b49c65093ff51f9d412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069f2980e7f9e78cc999068c15480aa0df4d748fa86d2b49c65093ff51f9d412", kill_on_drop: false }` [INFO] [stdout] 069f2980e7f9e78cc999068c15480aa0df4d748fa86d2b49c65093ff51f9d412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f50a3cba8530fb5fecc8ec4f45ff987af1ae0171fbf173dbfb89149b55f78be5 [INFO] running `Command { std: "docker" "start" "-a" "f50a3cba8530fb5fecc8ec4f45ff987af1ae0171fbf173dbfb89149b55f78be5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::process::Stdio` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::process::Stdio; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Child` [INFO] [stderr] --> src/main.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | use tokio::process::{Child, Command as TokioCommand}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `stream_raw_output` is never used [INFO] [stderr] --> src/main.rs:126:10 [INFO] [stderr] | [INFO] [stderr] 126 | async fn stream_raw_output(mut stream: impl AsyncReadExt + Unpin, tx: mpsc::Sender) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `stream_output` is never used [INFO] [stderr] --> src/main.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | async fn stream_output(mut stream: S, tx: mpsc::Sender) [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `run-http` (bin "run-http" test) generated 4 warnings (run `cargo fix --bin "run-http" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/run_http-bef3fa77ad4a8c12) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_cli_args ... ok [INFO] [stdout] test tests::test_cli_restart_condition ... ok [INFO] [stdout] test tests::test_cli_quiet_flag ... ok [INFO] [stdout] test tests::test_quiet_state_propagation ... ok [INFO] [stdout] test tests::test_restart_with_condition ... ok [INFO] [stdout] test tests::test_quiet_mode_exact_passthrough ... ok [INFO] [stdout] test tests::test_pty_preserves_colors ... ok [INFO] [stdout] test tests::test_pty_handles_interactive_programs ... FAILED [INFO] [stdout] test tests::test_start_stop_command ... ok [INFO] [stdout] test tests::test_long_running_command ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_pty_handles_interactive_programs stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_pty_handles_interactive_programs' panicked at src/main.rs:765:13: [INFO] [stdout] Python should detect it's running in a TTY [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5ecfd2f696ef - std::backtrace_rs::backtrace::libunwind::trace::h273cca4b4ff52a75 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5ecfd2f696ef - std::backtrace_rs::backtrace::trace_unsynchronized::h0dcaf4eaddc63f4d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5ecfd2f696ef - std::sys::backtrace::_print_fmt::h99227612ab693c91 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5ecfd2f696ef - ::fmt::hd0fb9a24f673249b [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5ecfd2f940b3 - core::fmt::rt::Argument::fmt::h3790bd73ff49839a [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/fmt/rt.rs:184:76 [INFO] [stdout] 5: 0x5ecfd2f940b3 - core::fmt::write::hf7b505e27c2f59c0 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/fmt/mod.rs:1449:21 [INFO] [stdout] 6: 0x5ecfd2f65813 - std::io::Write::write_fmt::hb002ef36900cedb4 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/io/mod.rs:1890:15 [INFO] [stdout] 7: 0x5ecfd2f69542 - std::sys::backtrace::BacktraceLock::print::h5fa244ae2c1a02f2 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5ecfd2f6ab1f - std::panicking::default_hook::{{closure}}::hd977fe155ed94062 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:298:22 [INFO] [stdout] 9: 0x5ecfd2f6a938 - std::panicking::default_hook::hf1aee4d1a1a53629 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:322:9 [INFO] [stdout] 10: 0x5ecfd2a3f0a5 - as core::ops::function::Fn>::call::h863d5366fd8956b9 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 11: 0x5ecfd2a3f0a5 - test::test_main::{{closure}}::h069467131d9eccce [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:135:21 [INFO] [stdout] 12: 0x5ecfd2f6b613 - as core::ops::function::Fn>::call::h4d850f4eb7d2da54 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 13: 0x5ecfd2f6b613 - std::panicking::rust_panic_with_hook::h8442779a6bb2c045 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:839:13 [INFO] [stdout] 14: 0x5ecfd2f6b296 - std::panicking::begin_panic_handler::{{closure}}::h5fc7eacd91180541 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:697:13 [INFO] [stdout] 15: 0x5ecfd2f69c09 - std::sys::backtrace::__rust_end_short_backtrace::h83d61fb88e4c1551 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5ecfd2f6af5d - rust_begin_unwind [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:695:5 [INFO] [stdout] 17: 0x5ecfd2f91dc0 - core::panicking::panic_fmt::hcb1ec5c71ed9d2aa [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5ecfd29c144e - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::h6a3b72bcb1fe5e2a [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:765:13 [INFO] [stdout] 19: 0x5ecfd29a5cdf - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::hf5b9703807d6f0cf [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/park.rs:281:63 [INFO] [stdout] 20: 0x5ecfd29a08ca - tokio::runtime::coop::with_budget::hc09e5b10bfa7bde8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/coop.rs:107:5 [INFO] [stdout] 21: 0x5ecfd29a08ca - tokio::runtime::coop::budget::ha1f1946b472e12ad [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/coop.rs:73:5 [INFO] [stdout] 22: 0x5ecfd29a08ca - tokio::runtime::park::CachedParkThread::block_on::h72c014c2f98f3212 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/park.rs:281:31 [INFO] [stdout] 23: 0x5ecfd29e173a - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h34389b03fd8efcf6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/blocking.rs:66:9 [INFO] [stdout] 24: 0x5ecfd2996002 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::hf72faad68f93861c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/multi_thread/mod.rs:87:13 [INFO] [stdout] 25: 0x5ecfd29d882a - tokio::runtime::context::runtime::enter_runtime::h9036085048d40bc6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 26: 0x5ecfd299582a - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h2028dcf7b2eb01ce [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/scheduler/multi_thread/mod.rs:86:9 [INFO] [stdout] 27: 0x5ecfd29b4c76 - tokio::runtime::runtime::Runtime::block_on_inner::ha5ab0a5106aaf1b3 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:363:45 [INFO] [stdout] 28: 0x5ecfd29b54e9 - tokio::runtime::runtime::Runtime::block_on::h07a6b203b62ac7f0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:335:13 [INFO] [stdout] 29: 0x5ecfd29c0bd2 - run_http::tests::test_pty_handles_interactive_programs::h74b0882e54c61f6a [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:744:9 [INFO] [stdout] 30: 0x5ecfd29c0b87 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::h5a03cb29f47b27a8 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:742:47 [INFO] [stdout] 31: 0x5ecfd29c3e86 - core::ops::function::FnOnce::call_once::hef908dc2fa49970d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 32: 0x5ecfd2a448bb - core::ops::function::FnOnce::call_once::h4f53344eaef367a7 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 33: 0x5ecfd2a448bb - test::__rust_begin_short_backtrace::hd74e5b45349ae0eb [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:637:18 [INFO] [stdout] 34: 0x5ecfd2a43718 - test::run_test_in_process::{{closure}}::h464496cd0c1c7008 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:660:60 [INFO] [stdout] 35: 0x5ecfd2a43718 - as core::ops::function::FnOnce<()>>::call_once::h783dbf339886dbb5 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5ecfd2a43718 - std::panicking::try::do_call::h939d38eaf9984278 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:587:40 [INFO] [stdout] 37: 0x5ecfd2a43718 - std::panicking::try::h7462749e6e425b58 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:550:19 [INFO] [stdout] 38: 0x5ecfd2a43718 - std::panic::catch_unwind::hd7e0994ef35a8a51 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x5ecfd2a43718 - test::run_test_in_process::hf0a6730e4eaf615d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:660:27 [INFO] [stdout] 40: 0x5ecfd2a43718 - test::run_test::{{closure}}::h6563d57083dce3d5 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:581:43 [INFO] [stdout] 41: 0x5ecfd2a06695 - test::run_test::{{closure}}::hd77e8481970892f0 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/test/src/lib.rs:611:41 [INFO] [stdout] 42: 0x5ecfd2a06695 - std::sys::backtrace::__rust_begin_short_backtrace::h3affc308abe149f2 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 43: 0x5ecfd2a0a03a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h0bcb7f1fc989ad90 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 44: 0x5ecfd2a0a03a - as core::ops::function::FnOnce<()>>::call_once::h7f1d3c81251e8f39 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 45: 0x5ecfd2a0a03a - std::panicking::try::do_call::ha04f8c9df155cd96 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:587:40 [INFO] [stdout] 46: 0x5ecfd2a0a03a - std::panicking::try::hbac6309ffcaaa153 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panicking.rs:550:19 [INFO] [stdout] 47: 0x5ecfd2a0a03a - std::panic::catch_unwind::h05df0eec2faa6d0d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/panic.rs:358:14 [INFO] [stdout] 48: 0x5ecfd2a0a03a - std::thread::Builder::spawn_unchecked_::{{closure}}::h0931fb094701c63d [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 49: 0x5ecfd2a0a03a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h58033be664b55387 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 50: 0x5ecfd2f6ff8b - as core::ops::function::FnOnce>::call_once::hc2b66a72ea953e16 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 51: 0x5ecfd2f6ff8b - as core::ops::function::FnOnce>::call_once::h64ac890f18adb1a4 [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 52: 0x5ecfd2f6ff8b - std::sys::pal::unix::thread::Thread::new::thread_start::h8744afc3d48ab12e [INFO] [stdout] at /rustc/7af779037716ae4125ceabb429791b4cf5dd0a43/library/std/src/sys/pal/unix/thread.rs:106:17 [INFO] [stdout] 53: 0x7c9bca268ac3 - [INFO] [stdout] 54: 0x7c9bca2f9a04 - clone [INFO] [stdout] 55: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_pty_handles_interactive_programs [INFO] [stdout] [INFO] [stdout] test result: FAILED. 9 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin run-http` [INFO] running `Command { std: "docker" "inspect" "f50a3cba8530fb5fecc8ec4f45ff987af1ae0171fbf173dbfb89149b55f78be5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50a3cba8530fb5fecc8ec4f45ff987af1ae0171fbf173dbfb89149b55f78be5", kill_on_drop: false }` [INFO] [stdout] f50a3cba8530fb5fecc8ec4f45ff987af1ae0171fbf173dbfb89149b55f78be5