[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#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjld-adriano%2Frun-http" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jld-adriano/run-http on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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.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] Downloading crates ... [INFO] [stderr] Downloaded tokio-stream v0.1.15 [INFO] [stderr] Downloaded serial v0.4.0 [INFO] [stderr] Downloaded serial-windows v0.4.0 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded portable-pty v0.8.1 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded ioctl-rs v0.1.6 [INFO] [stderr] Downloaded httparse v1.9.4 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded clap-markdown v0.1.4 [INFO] [stderr] Downloaded thiserror-impl v1.0.65 [INFO] [stderr] Downloaded mio v1.0.1 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded url v2.5.2 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded bytestring v1.3.1 [INFO] [stderr] Downloaded clap v4.5.15 [INFO] [stderr] Downloaded brotli-decompressor v4.0.1 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded filedescriptor v0.8.3 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded derive_more v0.99.18 [INFO] [stderr] Downloaded thiserror v1.0.65 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Downloaded brotli v6.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f90331103d5410c33b20f0a0fff4ae6142d22507973bbed66fd6c9ee4d453373 [INFO] running `Command { std: "docker" "start" "-a" "f90331103d5410c33b20f0a0fff4ae6142d22507973bbed66fd6c9ee4d453373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f90331103d5410c33b20f0a0fff4ae6142d22507973bbed66fd6c9ee4d453373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90331103d5410c33b20f0a0fff4ae6142d22507973bbed66fd6c9ee4d453373", kill_on_drop: false }` [INFO] [stdout] f90331103d5410c33b20f0a0fff4ae6142d22507973bbed66fd6c9ee4d453373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3fec09cce4a7e3c9dc974473694567658d114bd2c9cc24a1df5e6eb3ec692205 [INFO] running `Command { std: "docker" "start" "-a" "3fec09cce4a7e3c9dc974473694567658d114bd2c9cc24a1df5e6eb3ec692205", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling typenum v1.17.0 [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 quote v1.0.36 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling cc v1.1.8 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling generic-array v0.14.7 [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 mio v1.0.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle-query v1.1.1 [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 deranged v0.3.11 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [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 actix-utils v3.0.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.99 [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 strsim v0.11.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling clap_builder v4.5.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling serial-unix v0.4.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling clap v4.5.15 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling serial v0.4.0 [INFO] [stderr] Compiling filedescriptor v0.8.3 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling url v2.5.2 [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 actix-macros v0.2.4 [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 env_logger v0.9.3 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling portable-pty v0.8.1 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling clap-markdown v0.1.4 [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 16s [INFO] running `Command { std: "docker" "inspect" "3fec09cce4a7e3c9dc974473694567658d114bd2c9cc24a1df5e6eb3ec692205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fec09cce4a7e3c9dc974473694567658d114bd2c9cc24a1df5e6eb3ec692205", kill_on_drop: false }` [INFO] [stdout] 3fec09cce4a7e3c9dc974473694567658d114bd2c9cc24a1df5e6eb3ec692205 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd2ad96bdae35afb6560fa4c28a5d62ef6bd2da1de10a7b7a5e4f7b33040b4b0 [INFO] running `Command { std: "docker" "start" "-a" "fd2ad96bdae35afb6560fa4c28a5d62ef6bd2da1de10a7b7a5e4f7b33040b4b0", 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 clap_derive v4.5.13 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling derive_more v0.99.18 [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 clap-markdown v0.1.4 [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 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: 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 58.47s [INFO] running `Command { std: "docker" "inspect" "fd2ad96bdae35afb6560fa4c28a5d62ef6bd2da1de10a7b7a5e4f7b33040b4b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2ad96bdae35afb6560fa4c28a5d62ef6bd2da1de10a7b7a5e4f7b33040b4b0", kill_on_drop: false }` [INFO] [stdout] fd2ad96bdae35afb6560fa4c28a5d62ef6bd2da1de10a7b7a5e4f7b33040b4b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bbf5349d64807b2a33dcd9f52d9f41ea45c13af9906710bf6d5f088262a695d6 [INFO] running `Command { std: "docker" "start" "-a" "bbf5349d64807b2a33dcd9f52d9f41ea45c13af9906710bf6d5f088262a695d6", 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.32s [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_quiet_mode_exact_passthrough ... ok [INFO] [stdout] test tests::test_pty_preserves_colors ... ok [INFO] [stdout] test tests::test_start_stop_command ... ok [INFO] [stdout] test tests::test_pty_handles_interactive_programs ... FAILED [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' (22) 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: 0x5f8dd09f3bc2 - std::backtrace_rs::backtrace::libunwind::trace::h52580dd202462214 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f8dd09f3bc2 - std::backtrace_rs::backtrace::trace_unsynchronized::hc969519abce0f52b [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f8dd09f3bc2 - std::sys::backtrace::_print_fmt::hfd5825900b6e0030 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f8dd09f3bc2 - ::fmt::h427144ad75cfb218 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f8dd0a059ef - core::fmt::rt::Argument::fmt::hd5ccc9cf97cea7f7 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f8dd0a059ef - core::fmt::write::h593aaf5adf0f5dae [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f8dd09bd871 - std::io::default_write_fmt::h305b5a0727055346 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f8dd09bd871 - std::io::Write::write_fmt::h76f14a8a88733dc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f8dd09c9f82 - std::sys::backtrace::BacktraceLock::print::h3953113552dca3ca [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f8dd09cfd3f - std::panicking::default_hook::{{closure}}::h486b96ad75eafbb8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f8dd09cfbd1 - std::panicking::default_hook::h99456317c5a1a20c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5f8dd0488fbe - as core::ops::function::Fn>::call::h441e4551014e4cf8 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5f8dd0488fbe - test::test_main_with_exit_callback::{{closure}}::hdbca54e17f1a00e4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f8dd09d04af - as core::ops::function::Fn>::call::h1e57b72c4e1d3045 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5f8dd09d04af - std::panicking::panic_with_hook::h67ab0df20212e4ea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5f8dd09d0226 - std::panicking::panic_handler::{{closure}}::hc9e4a933ae92e208 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5f8dd09ca0c9 - std::sys::backtrace::__rust_end_short_backtrace::hbfa72df9b68c2d19 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5f8dd09b1a2d - __rustc[8cce077e14951490]::rust_begin_unwind [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5f8dd0a0f360 - core::panicking::panic_fmt::h49931053d20abf41 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f8dd042cec4 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::h90b4f724fdd99103 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:765:13 [INFO] [stdout] 20: 0x5f8dd0406b8d - tokio::runtime::park::CachedParkThread::block_on::{{closure}}::hde5372d67c2eeaa7 [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: 0x5f8dd040568c - tokio::runtime::coop::with_budget::h653f0184baa11d4e [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: 0x5f8dd040568c - tokio::runtime::coop::budget::h46ea365433e074b7 [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: 0x5f8dd040568c - tokio::runtime::park::CachedParkThread::block_on::hf77a02bee5bcea13 [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: 0x5f8dd0434c5a - tokio::runtime::context::blocking::BlockingRegionGuard::block_on::h340d55fdac4067cd [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: 0x5f8dd0422832 - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::{{closure}}::h81e5fe7c8c2fc8dd [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: 0x5f8dd0461584 - tokio::runtime::context::runtime::enter_runtime::h0d7b0c0bf856cec9 [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: 0x5f8dd042242a - tokio::runtime::scheduler::multi_thread::MultiThread::block_on::h9a87a40a5375c31e [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: 0x5f8dd0442585 - tokio::runtime::runtime::Runtime::block_on_inner::h4944ca69d0b8d5b0 [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: 0x5f8dd0443649 - tokio::runtime::runtime::Runtime::block_on::h8219f929217acbcb [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: 0x5f8dd042c6a2 - run_http::tests::test_pty_handles_interactive_programs::h425c26ac8496efde [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:744:12 [INFO] [stdout] 31: 0x5f8dd042c707 - run_http::tests::test_pty_handles_interactive_programs::{{closure}}::h077f3c7b77baecd8 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:742:47 [INFO] [stdout] 32: 0x5f8dd0437216 - core::ops::function::FnOnce::call_once::hb9f229043d0f15cc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 33: 0x5f8dd0488d7b - core::ops::function::FnOnce::call_once::h5d9016d521f5aee4 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 34: 0x5f8dd0488d7b - test::__rust_begin_short_backtrace::h123fcee610330442 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:663:18 [INFO] [stdout] 35: 0x5f8dd049e865 - test::run_test_in_process::{{closure}}::h0442efda2e6359b2 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:74 [INFO] [stdout] 36: 0x5f8dd049e865 - as core::ops::function::FnOnce<()>>::call_once::hfe3528c8dd09682c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x5f8dd049e865 - std::panicking::catch_unwind::do_call::hb1659f7844fe8531 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x5f8dd049e865 - std::panicking::catch_unwind::hdc1f4be0019e72ad [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x5f8dd049e865 - std::panic::catch_unwind::hd6d7ccfa4513e770 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5f8dd049e865 - test::run_test_in_process::h6bbb839ed0802366 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:686:27 [INFO] [stdout] 41: 0x5f8dd049e865 - test::run_test::{{closure}}::he4fad7398c8acc11 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:607:43 [INFO] [stdout] 42: 0x5f8dd04751d4 - test::run_test::{{closure}}::h41975797e198d26c [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/test/src/lib.rs:637:41 [INFO] [stdout] 43: 0x5f8dd04751d4 - std::sys::backtrace::__rust_begin_short_backtrace::hfb46c397857336f1 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 44: 0x5f8dd0478b7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hddf826a64f532bea [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 45: 0x5f8dd0478b7a - as core::ops::function::FnOnce<()>>::call_once::hc3518c3eab91aeb3 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 46: 0x5f8dd0478b7a - std::panicking::catch_unwind::do_call::h7bf3ad6dc012415a [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:590:40 [INFO] [stdout] 47: 0x5f8dd0478b7a - std::panicking::catch_unwind::h8b88f0375c767e36 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panicking.rs:553:19 [INFO] [stdout] 48: 0x5f8dd0478b7a - std::panic::catch_unwind::h66cb5d61a90f7bc5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/panic.rs:359:14 [INFO] [stdout] 49: 0x5f8dd0478b7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h65bc9d15fb966bbd [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 50: 0x5f8dd0478b7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8d2c9a8796342e5 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 51: 0x5f8dd09c3def - as core::ops::function::FnOnce>::call_once::hef12b47e5c033835 [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 52: 0x5f8dd09c3def - std::sys::pal::unix::thread::Thread::new::thread_start::h135087e7c97657bc [INFO] [stdout] at /rustc/ad85bc524b1ad696e42061ad8338d382dffbdbe5/library/std/src/sys/pal/unix/thread.rs:118:17 [INFO] [stdout] 53: 0x73df4f405aa4 - [INFO] [stdout] 54: 0x73df4f492a34 - 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.33s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin run-http` [INFO] running `Command { std: "docker" "inspect" "bbf5349d64807b2a33dcd9f52d9f41ea45c13af9906710bf6d5f088262a695d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbf5349d64807b2a33dcd9f52d9f41ea45c13af9906710bf6d5f088262a695d6", kill_on_drop: false }` [INFO] [stdout] bbf5349d64807b2a33dcd9f52d9f41ea45c13af9906710bf6d5f088262a695d6