[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#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjld-adriano%2Frun-http" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jld-adriano/run-http on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding anyhow v1.0.99 [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2af2661d46a2bca598dca884c4bef57c49c1b724566b14ca4efa6c1e06a4a40 [INFO] running `Command { std: "docker" "start" "-a" "b2af2661d46a2bca598dca884c4bef57c49c1b724566b14ca4efa6c1e06a4a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2af2661d46a2bca598dca884c4bef57c49c1b724566b14ca4efa6c1e06a4a40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2af2661d46a2bca598dca884c4bef57c49c1b724566b14ca4efa6c1e06a4a40", kill_on_drop: false }` [INFO] [stdout] b2af2661d46a2bca598dca884c4bef57c49c1b724566b14ca4efa6c1e06a4a40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0690309f521c08e431d606a185cd6e6d7ea78b46e98ac9c6fdc92510c396bddf [INFO] running `Command { std: "docker" "start" "-a" "0690309f521c08e431d606a185cd6e6d7ea78b46e98ac9c6fdc92510c396bddf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling clap v4.5.15 [INFO] [stderr] Compiling clap-markdown v0.1.4 [INFO] [stderr] Compiling zstd v0.13.2 [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 actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 1m 03s [INFO] running `Command { std: "docker" "inspect" "0690309f521c08e431d606a185cd6e6d7ea78b46e98ac9c6fdc92510c396bddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0690309f521c08e431d606a185cd6e6d7ea78b46e98ac9c6fdc92510c396bddf", kill_on_drop: false }` [INFO] [stdout] 0690309f521c08e431d606a185cd6e6d7ea78b46e98ac9c6fdc92510c396bddf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bac7f7928ac047e524da99ac3f17768d132f9a84a0ccd137eace8275254c646 [INFO] running `Command { std: "docker" "start" "-a" "4bac7f7928ac047e524da99ac3f17768d132f9a84a0ccd137eace8275254c646", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [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-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling filedescriptor v0.8.3 [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 rand_chacha v0.3.1 [INFO] [stderr] Compiling clap v4.5.15 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap-markdown v0.1.4 [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 actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-test v0.4.4 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 38.10s [INFO] running `Command { std: "docker" "inspect" "4bac7f7928ac047e524da99ac3f17768d132f9a84a0ccd137eace8275254c646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bac7f7928ac047e524da99ac3f17768d132f9a84a0ccd137eace8275254c646", kill_on_drop: false }` [INFO] [stdout] 4bac7f7928ac047e524da99ac3f17768d132f9a84a0ccd137eace8275254c646 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7c42063f32035de651cf1824dcf2df98c7d84a0e3c38daefacf675ff710740eb [INFO] running `Command { std: "docker" "start" "-a" "7c42063f32035de651cf1824dcf2df98c7d84a0e3c38daefacf675ff710740eb", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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.27s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/run_http-e19c2ecf1ad000b1) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_cli_quiet_flag ... ok [INFO] [stdout] test tests::test_cli_restart_condition ... ok [INFO] [stdout] test tests::test_cli_args ... 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' (29) 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: 0x63320a8481e2 - std::backtrace_rs::backtrace::libunwind::trace::h4b3f5960ed1c0917 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63320a8481e2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2f16383c47f8bd04 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63320a8481e2 - std::sys::backtrace::_print_fmt::h698d661724c270ea [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63320a8481e2 - ::fmt::h1c8375013274064c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63320a859f6f - core::fmt::rt::Argument::fmt::h9232377a772d3f8c [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63320a859f6f - core::fmt::write::h6dc9e168423d9633 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x63320a812223 - std::io::default_write_fmt::hec53a38f10739f86 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63320a812223 - std::io::Write::write_fmt::hf5089d8bbbe5aaa6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63320a81e832 - std::sys::backtrace::BacktraceLock::print::hf83c3d8cbd01f904 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63320a82449f - std::panicking::default_hook::{{closure}}::h3d4c49adc0898362 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x63320a824331 - std::panicking::default_hook::hccea28f2487e7471 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x63320a2d90de - as core::ops::function::Fn>::call::h06e1b96f84d5792f [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x63320a2d90de - test::test_main_with_exit_callback::{{closure}}::hf6db6d7b1242fcd4 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63320a824bee - as core::ops::function::Fn>::call::hfeb094aff1e6591e [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x63320a824bee - std::panicking::panic_with_hook::h694b8196629eb5e1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x63320a8248d6 - std::panicking::panic_handler::{{closure}}::h0d99dd765f7e6554 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x63320a81e979 - std::sys::backtrace::__rust_end_short_backtrace::h8b43cbde72f7d592 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x63320a80639d - __rustc[d1dec8fc82f9a585]::rust_begin_unwind [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x63320a863900 - core::panicking::panic_fmt::h315eeb0e4d90fcdc [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x63320a285534 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::hca84a25ce7ff1ed3 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:765:13 [INFO] [stdout] 20: 0x63320a2a464d - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h57338965b242978e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/park.rs:281:74 [INFO] [stdout] 21: 0x63320a29da2c - tokio::runtime::coop::with_budget::h62dcdbcb0c14520a [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] 22: 0x63320a29da2c - tokio::runtime::coop::budget::hf9b6d65f8f7179a0 [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] 23: 0x63320a29da2c - tokio::runtime::park::CachedParkThread::block_on::h0d354ee4ac6dec80 [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] 24: 0x63320a26079a - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h2fe3ff512ef0bc5a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/context/blocking.rs:66:14 [INFO] [stdout] 25: 0x63320a27ad02 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h3811ceafd81abe40 [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:22 [INFO] [stdout] 26: 0x63320a2b3a54 - tokio::runtime::context::runtime::enter_runtime::hc44d22a0a5378f69 [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] 27: 0x63320a27a94a - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h45afa3d68c20649f [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] 28: 0x63320a2a96a5 - tokio::runtime::runtime::Runtime::block_on_inner::h61249ff1bf60731a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:363:50 [INFO] [stdout] 29: 0x63320a2a9fe9 - tokio::runtime::runtime::Runtime::block_on::h0b53611f766d783a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.39.2/src/runtime/runtime.rs:335:18 [INFO] [stdout] 30: 0x63320a284d12 - run_http::tests::test_pty_handles_interactive_programs::h7ac5ac57ac400f6c [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:744:12 [INFO] [stdout] 31: 0x63320a284d77 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::ha2561d3fee1a7729 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:742:47 [INFO] [stdout] 32: 0x63320a24ac86 - core::ops::function::FnOnce::call_once::h2f21b448ccfe4bf8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 33: 0x63320a2d8f4b - core::ops::function::FnOnce::call_once::h5852f0076c8c0d8d [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 34: 0x63320a2d8f4b - test::__rust_begin_short_backtrace::hc8457233131a06d0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:663:18 [INFO] [stdout] 35: 0x63320a2ee9a5 - test::run_test_in_process::{{closure}}::ha3eda53784ae2639 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:74 [INFO] [stdout] 36: 0x63320a2ee9a5 - as core::ops::function::FnOnce<()>>::call_once::hbd60f847cd185bc6 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x63320a2ee9a5 - std::panicking::catch_unwind::do_call::h11c1623aed953668 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x63320a2ee9a5 - std::panicking::catch_unwind::hf8551f73b52d8ed0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x63320a2ee9a5 - std::panic::catch_unwind::h66ff870d847fc7cf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x63320a2ee9a5 - test::run_test_in_process::h808a5fa5cb24efde [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:686:27 [INFO] [stdout] 41: 0x63320a2ee9a5 - test::run_test::{{closure}}::hcf5782fef76f68bf [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:607:43 [INFO] [stdout] 42: 0x63320a2c5374 - test::run_test::{{closure}}::h59bb1f8f7167fee7 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/test/src/lib.rs:637:41 [INFO] [stdout] 43: 0x63320a2c5374 - std::sys::backtrace::__rust_begin_short_backtrace::h073f551083d60480 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 44: 0x63320a2c8c5a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9d6eff1e4da9d0f2 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 45: 0x63320a2c8c5a - as core::ops::function::FnOnce<()>>::call_once::he37f75191b40d4b0 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 46: 0x63320a2c8c5a - std::panicking::catch_unwind::do_call::h339b26991b458079 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:590:40 [INFO] [stdout] 47: 0x63320a2c8c5a - std::panicking::catch_unwind::h2e5906b8a84cca89 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panicking.rs:553:19 [INFO] [stdout] 48: 0x63320a2c8c5a - std::panic::catch_unwind::h3fea03a95c906d68 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/panic.rs:359:14 [INFO] [stdout] 49: 0x63320a2c8c5a - std::thread::Builder::spawn_unchecked_::{{closure}}::hab1ac593ae8241c8 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 50: 0x63320a2c8c5a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb46ae6da79faf2c5 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 51: 0x63320a8187df - as core::ops::function::FnOnce>::call_once::h317217a5c86437d1 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 52: 0x63320a8187df - std::sys::pal::unix::thread::Thread::new::thread_start::h9b0e1220f8cf5182 [INFO] [stdout] at /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 53: 0x7603afbcaaa4 - [INFO] [stdout] 54: 0x7603afc57a34 - 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.37s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin run-http` [INFO] running `Command { std: "docker" "inspect" "7c42063f32035de651cf1824dcf2df98c7d84a0e3c38daefacf675ff710740eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c42063f32035de651cf1824dcf2df98c7d84a0e3c38daefacf675ff710740eb", kill_on_drop: false }` [INFO] [stdout] 7c42063f32035de651cf1824dcf2df98c7d84a0e3c38daefacf675ff710740eb