[INFO] fetching crate dev_bestia_simple_server 2021.918.1640... [INFO] checking dev_bestia_simple_server-2021.918.1640 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate dev_bestia_simple_server 2021.918.1640 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate dev_bestia_simple_server 2021.918.1640 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dev_bestia_simple_server 2021.918.1640 [INFO] finished tweaking crates.io crate dev_bestia_simple_server 2021.918.1640 [INFO] tweaked toml for crates.io crate dev_bestia_simple_server 2021.918.1640 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate dev_bestia_simple_server 2021.918.1640 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.9.0 [INFO] [stderr] Downloaded time v0.3.2 [INFO] [stderr] Downloaded unwrap v1.2.1 [INFO] [stderr] Downloaded time-macros v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f994f059b14d223f2301da0665123ee155449a84a4d220f3d855f8acf5b4022 [INFO] running `Command { std: "docker" "start" "-a" "7f994f059b14d223f2301da0665123ee155449a84a4d220f3d855f8acf5b4022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f994f059b14d223f2301da0665123ee155449a84a4d220f3d855f8acf5b4022", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f994f059b14d223f2301da0665123ee155449a84a4d220f3d855f8acf5b4022", kill_on_drop: false }` [INFO] [stdout] 7f994f059b14d223f2301da0665123ee155449a84a4d220f3d855f8acf5b4022 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e97d4e7039983a595b9023a4863eda227e1e55f18d217edae98f3e5d10e59e4 [INFO] running `Command { std: "docker" "start" "-a" "3e97d4e7039983a595b9023a4863eda227e1e55f18d217edae98f3e5d10e59e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling time-macros v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking unwrap v1.2.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking dev_bestia_simple_server v2021.918.1640 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use http; [INFO] [stdout] | ^^^^ the item `http` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scoped_threadpool` is imported redundantly [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use scoped_threadpool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the item `scoped_threadpool` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http; [INFO] [stdout] | ^^^^ the item `http` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use httparse; [INFO] [stdout] | ^^^^^^^^ the item `httparse` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/parsing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use httparse; [INFO] [stdout] | ^^^^^^^^ the item `httparse` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../tests/big-http-request.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/parsing.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | let request = include_bytes!("../tests/big-http-request.txt").to_vec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/../tests/big-http-request.txt`: No such file or directory (os error 2) [INFO] [stdout] --> src/request.rs:99:42 [INFO] [stdout] | [INFO] [stdout] 99 | static HTTP_REQUEST: &'static [u8] = include_bytes!("../tests/big-http-request.txt"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use http; [INFO] [stdout] | ^^^^ the item `http` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_cpus` is imported redundantly [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | use num_cpus; [INFO] [stdout] | ^^^^^^^^ the item `num_cpus` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scoped_threadpool` is imported redundantly [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use scoped_threadpool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the item `scoped_threadpool` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `time` is imported redundantly [INFO] [stdout] --> src/lib.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | use time; [INFO] [stdout] | ^^^^ the item `time` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http; [INFO] [stdout] | ^^^^ the item `http` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/error.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use httparse; [INFO] [stdout] | ^^^^^^^^ the item `httparse` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/parsing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use httparse; [INFO] [stdout] | ^^^^^^^^ the item `httparse` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dev_bestia_simple_server` (lib test) due to 3 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e97d4e7039983a595b9023a4863eda227e1e55f18d217edae98f3e5d10e59e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e97d4e7039983a595b9023a4863eda227e1e55f18d217edae98f3e5d10e59e4", kill_on_drop: false }` [INFO] [stdout] 3e97d4e7039983a595b9023a4863eda227e1e55f18d217edae98f3e5d10e59e4