[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 master#160e7623e8cbbf1feab2b6e2a24733a98c7bde9c for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjld-adriano%2Frun-http" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jld-adriano/run-http on toolchain 160e7623e8cbbf1feab2b6e2a24733a98c7bde9c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "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] 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded portable-pty v0.8.1 [INFO] [stderr] Downloaded clap v4.5.15 [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded shared_library v0.1.9 [INFO] [stderr] Downloaded serial v0.4.0 [INFO] [stderr] Downloaded serial-windows v0.4.0 [INFO] [stderr] Downloaded serde_derive v1.0.205 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded serde v1.0.205 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded cc v1.1.8 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded clap-markdown v0.1.4 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded clap_derive v4.5.13 [INFO] [stderr] Downloaded filedescriptor v0.8.3 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64ba61d4ce53261c61d5e644bd0cde2ecd016cb91c0ff076491cd2ff29e4cc2a [INFO] running `Command { std: "docker" "start" "-a" "64ba61d4ce53261c61d5e644bd0cde2ecd016cb91c0ff076491cd2ff29e4cc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64ba61d4ce53261c61d5e644bd0cde2ecd016cb91c0ff076491cd2ff29e4cc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ba61d4ce53261c61d5e644bd0cde2ecd016cb91c0ff076491cd2ff29e4cc2a", kill_on_drop: false }` [INFO] [stdout] 64ba61d4ce53261c61d5e644bd0cde2ecd016cb91c0ff076491cd2ff29e4cc2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b4cde3c4d602734fef2c7d8fa92e737c2fce438e18ecb8b22081295bd0b71ea [INFO] running `Command { std: "docker" "start" "-a" "7b4cde3c4d602734fef2c7d8fa92e737c2fce438e18ecb8b22081295bd0b71ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [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 futures-core v0.3.30 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling serde v1.0.205 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tinyvec v1.8.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 zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling indexmap v2.3.0 [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 digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ioctl-rs v0.1.6 [INFO] [stderr] Compiling termios v0.2.2 [INFO] [stderr] Compiling serial-core v0.4.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [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 tokio v1.39.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling serial-unix v0.4.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 language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling nix v0.25.1 [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 clap v4.5.15 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [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 serde_urlencoded v0.7.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling clap-markdown v0.1.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling zstd v0.13.2 [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 2m 28s [INFO] running `Command { std: "docker" "inspect" "7b4cde3c4d602734fef2c7d8fa92e737c2fce438e18ecb8b22081295bd0b71ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4cde3c4d602734fef2c7d8fa92e737c2fce438e18ecb8b22081295bd0b71ea", kill_on_drop: false }` [INFO] [stdout] 7b4cde3c4d602734fef2c7d8fa92e737c2fce438e18ecb8b22081295bd0b71ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0f70b4bc6a894bc60b9a4bf8ce59cdd61ee93c68e93fc4962b8188f0df53afa [INFO] running `Command { std: "docker" "start" "-a" "b0f70b4bc6a894bc60b9a4bf8ce59cdd61ee93c68e93fc4962b8188f0df53afa", 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 async-stream-impl v0.3.6 [INFO] [stderr] Compiling clap_derive v4.5.13 [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 futures-util v0.3.30 [INFO] [stderr] Compiling zerocopy v0.7.35 [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 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 actix-server v2.5.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [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 59.77s [INFO] running `Command { std: "docker" "inspect" "b0f70b4bc6a894bc60b9a4bf8ce59cdd61ee93c68e93fc4962b8188f0df53afa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f70b4bc6a894bc60b9a4bf8ce59cdd61ee93c68e93fc4962b8188f0df53afa", kill_on_drop: false }` [INFO] [stdout] b0f70b4bc6a894bc60b9a4bf8ce59cdd61ee93c68e93fc4962b8188f0df53afa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+160e7623e8cbbf1feab2b6e2a24733a98c7bde9c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 18e5fa04ba8e8be18dd24be10b141830fa347eb74b4a302e44450407a6892b4a [INFO] running `Command { std: "docker" "start" "-a" "18e5fa04ba8e8be18dd24be10b141830fa347eb74b4a302e44450407a6892b4a", 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.34s [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_restart_condition ... ok [INFO] [stdout] test tests::test_cli_args ... 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_pty_preserves_colors ... ok [INFO] [stdout] test tests::test_quiet_mode_exact_passthrough ... 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' (20) 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: 0x5c970c9e1a72 - std::backtrace_rs::backtrace::libunwind::trace::hf3086ff3c8ddfec7 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5c970c9e1a72 - std::backtrace_rs::backtrace::trace_unsynchronized::h6caf11542219ebc3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5c970c9e1a72 - std::sys::backtrace::_print_fmt::hfd9f352edf0ef63b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5c970c9e1a72 - ::fmt::h746cb25d4c2f20bf [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5c970c9f380f - core::fmt::rt::Argument::fmt::h7e560d1a4260d0bd [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5c970c9f380f - core::fmt::write::h51c104753c8435b2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5c970c9ab853 - std::io::default_write_fmt::h7681766be9629d2f [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5c970c9ab853 - std::io::Write::write_fmt::h41771a141bf0adb2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5c970c9b80c2 - std::sys::backtrace::BacktraceLock::print::heee726a1c5b4a2c3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5c970c9bdd2f - std::panicking::default_hook::{{closure}}::h938489fbb79d30ee [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5c970c9bdbc1 - std::panicking::default_hook::hf7e155db98319366 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5c970c47202e - as core::ops::function::Fn>::call::h8041688d09537997 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5c970c47202e - test::test_main_with_exit_callback::{{closure}}::hc8a7ea1f38432726 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5c970c9be47e - as core::ops::function::Fn>::call::h688488cd0fff9b17 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5c970c9be47e - std::panicking::panic_with_hook::h78bb7329978b77c8 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5c970c9be166 - std::panicking::panic_handler::{{closure}}::h306ab6080b8e304c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5c970c9b8209 - std::sys::backtrace::__rust_end_short_backtrace::hab10906eec9c5584 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5c970c99fc2d - __rustc[31cdaa5515be9d95]::rust_begin_unwind [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5c970c9fd1a0 - core::panicking::panic_fmt::h8cb2938d8e2b0e7b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5c970c41ee24 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::h33ee279fad786dbc [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:765:13 [INFO] [stdout] 20: 0x5c970c43d4bd - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::h74fb1911e36d7a0d [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: 0x5c970c43704c - tokio::runtime::coop::with_budget::hafc0d6903a05b6ce [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: 0x5c970c43704c - tokio::runtime::coop::budget::h7195a4294e2351ff [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: 0x5c970c43704c - tokio::runtime::park::CachedParkThread::block_on::h3f14d508e6b6b989 [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: 0x5c970c42748a - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::hb730f0c3474f520b [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: 0x5c970c4145a2 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h4826128d05ae7ef7 [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: 0x5c970c44b1d4 - tokio::runtime::context::runtime::enter_runtime::h1fe4e67b32ffaffb [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: 0x5c970c4142ba - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::hcc1939208983d6f8 [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: 0x5c970c442255 - tokio::runtime::runtime::Runtime::block_on_inner::h2ebf38636a18a944 [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: 0x5c970c443879 - tokio::runtime::runtime::Runtime::block_on::h828f617992d6197d [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: 0x5c970c41e632 - run_http::tests::test_pty_handles_interactive_programs::hffb1102dd8cffd77 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:744:12 [INFO] [stdout] 31: 0x5c970c41ef27 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::hb4bc0f2a7b9eb8b1 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:742:47 [INFO] [stdout] 32: 0x5c970c3e3e86 - core::ops::function::FnOnce::call_once::h2b6a103df8996cb3 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 33: 0x5c970c471deb - core::ops::function::FnOnce::call_once::ha1081c2f5558e6c0 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 34: 0x5c970c471deb - test::__rust_begin_short_backtrace::h42034e8abb013a4c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:663:18 [INFO] [stdout] 35: 0x5c970c4878f5 - test::run_test_in_process::{{closure}}::hf6d2134f58bf7650 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:686:74 [INFO] [stdout] 36: 0x5c970c4878f5 - as core::ops::function::FnOnce<()>>::call_once::hecbf148a08d929b4 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x5c970c4878f5 - std::panicking::catch_unwind::do_call::hdd8f84f296c52439 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5c970c4878f5 - std::panicking::catch_unwind::h3fd77bcad74bf69c [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5c970c4878f5 - std::panic::catch_unwind::h512ad17f65705767 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5c970c4878f5 - test::run_test_in_process::h2b79c7cc828fafad [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:686:27 [INFO] [stdout] 41: 0x5c970c4878f5 - test::run_test::{{closure}}::hc287323e9e7aa380 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:607:43 [INFO] [stdout] 42: 0x5c970c45e2c4 - test::run_test::{{closure}}::h26852bc3095664f0 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/test/src/lib.rs:637:41 [INFO] [stdout] 43: 0x5c970c45e2c4 - std::sys::backtrace::__rust_begin_short_backtrace::he88c7ba58706034f [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 44: 0x5c970c461afa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff63832735ca5300 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 45: 0x5c970c461afa - as core::ops::function::FnOnce<()>>::call_once::h5618784f23b8bacb [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 46: 0x5c970c461afa - std::panicking::catch_unwind::do_call::hd103d0697f7d2f72 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:590:40 [INFO] [stdout] 47: 0x5c970c461afa - std::panicking::catch_unwind::h947b18413ee60fc2 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panicking.rs:553:19 [INFO] [stdout] 48: 0x5c970c461afa - std::panic::catch_unwind::h51f47dbca8916fbf [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/panic.rs:359:14 [INFO] [stdout] 49: 0x5c970c461afa - std::thread::Builder::spawn_unchecked_::{{closure}}::h92bd4fc7ba1a8896 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 50: 0x5c970c461afa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1edf6ba5edb7a202 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 51: 0x5c970c9b206f - as core::ops::function::FnOnce>::call_once::h6765fcdde4c5daa4 [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 52: 0x5c970c9b206f - std::sys::pal::unix::thread::Thread::new::thread_start::h448c4dadc391362b [INFO] [stdout] at /rustc/160e7623e8cbbf1feab2b6e2a24733a98c7bde9c/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 53: 0x7ee3c9c18aa4 - [INFO] [stdout] 54: 0x7ee3c9ca5a34 - 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.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin run-http` [INFO] running `Command { std: "docker" "inspect" "18e5fa04ba8e8be18dd24be10b141830fa347eb74b4a302e44450407a6892b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18e5fa04ba8e8be18dd24be10b141830fa347eb74b4a302e44450407a6892b4a", kill_on_drop: false }` [INFO] [stdout] 18e5fa04ba8e8be18dd24be10b141830fa347eb74b4a302e44450407a6892b4a