[INFO] cloning repository https://github.com/jht5945/simplehttpserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jht5945/simplehttpserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjht5945%2Fsimplehttpserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjht5945%2Fsimplehttpserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 440aa24f2569a9b1db034188764b4993d0115914 [INFO] testing jht5945/simplehttpserver against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjht5945%2Fsimplehttpserver" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jht5945/simplehttpserver on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jht5945/simplehttpserver [INFO] finished tweaking git repo https://github.com/jht5945/simplehttpserver [INFO] tweaked toml for git repo https://github.com/jht5945/simplehttpserver written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/jht5945/simplehttpserver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 536ee52a3f25ac7e755299a7ce70aff3aa5851a78ba905c50815e743e56123e8 [INFO] running `Command { std: "docker" "start" "-a" "536ee52a3f25ac7e755299a7ce70aff3aa5851a78ba905c50815e743e56123e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "536ee52a3f25ac7e755299a7ce70aff3aa5851a78ba905c50815e743e56123e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "536ee52a3f25ac7e755299a7ce70aff3aa5851a78ba905c50815e743e56123e8", kill_on_drop: false }` [INFO] [stdout] 536ee52a3f25ac7e755299a7ce70aff3aa5851a78ba905c50815e743e56123e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52a433e3b59829031732028c8884541210c0921f90fd7f250bef3eb08e2dd830 [INFO] running `Command { std: "docker" "start" "-a" "52a433e3b59829031732028c8884541210c0921f90fd7f250bef3eb08e2dd830", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rust_util v0.1.0 (https://github.com/jht5945/rust_util#90cd623f) [INFO] [stderr] Compiling simplehttpserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_http_request_from_read(_read: &Read) -> XResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn parse_http_request_from_read(_read: &Read) -> XResult { [INFO] [stdout] 54 + fn parse_http_request_from_read(_read: &dyn Read) -> XResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `method` [INFO] [stdout] --> src/http.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | method: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/http.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol` [INFO] [stdout] --> src/http.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | protocol: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headers` [INFO] [stdout] --> src/http.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | headers: HttpRequestHeaders, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.52s [INFO] running `Command { std: "docker" "inspect" "52a433e3b59829031732028c8884541210c0921f90fd7f250bef3eb08e2dd830", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52a433e3b59829031732028c8884541210c0921f90fd7f250bef3eb08e2dd830", kill_on_drop: false }` [INFO] [stdout] 52a433e3b59829031732028c8884541210c0921f90fd7f250bef3eb08e2dd830 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a796381975243c1b517f79479d8d910b3fcd7777f6499cc7cae5a432e838450a [INFO] running `Command { std: "docker" "start" "-a" "a796381975243c1b517f79479d8d910b3fcd7777f6499cc7cae5a432e838450a", kill_on_drop: false }` [INFO] [stderr] Compiling simplehttpserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http.rs:54:41 [INFO] [stdout] | [INFO] [stdout] 54 | fn parse_http_request_from_read(_read: &Read) -> XResult { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 - fn parse_http_request_from_read(_read: &Read) -> XResult { [INFO] [stdout] 54 + fn parse_http_request_from_read(_read: &dyn Read) -> XResult { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `method` [INFO] [stdout] --> src/http.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | method: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/http.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol` [INFO] [stdout] --> src/http.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | protocol: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `headers` [INFO] [stdout] --> src/http.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | headers: HttpRequestHeaders, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/http.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/simplehttpserver-dc3009e0aa8bf3c2) [INFO] running `Command { std: "docker" "inspect" "a796381975243c1b517f79479d8d910b3fcd7777f6499cc7cae5a432e838450a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a796381975243c1b517f79479d8d910b3fcd7777f6499cc7cae5a432e838450a", kill_on_drop: false }` [INFO] [stdout] a796381975243c1b517f79479d8d910b3fcd7777f6499cc7cae5a432e838450a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6fd092a79cfa2ad3c91f27186e974d473f6411c2e6ed6ce8dd0ef40660d1cdbb [INFO] running `Command { std: "docker" "start" "-a" "6fd092a79cfa2ad3c91f27186e974d473f6411c2e6ed6ce8dd0ef40660d1cdbb", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] [INFO] [stderr] --> src/http.rs:54:41 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 54 | fn parse_http_request_from_read(_read: &Read) -> XResult { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 54 - fn parse_http_request_from_read(_read: &Read) -> XResult { [INFO] [stderr] 54 + fn parse_http_request_from_read(_read: &dyn Read) -> XResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `method` [INFO] [stderr] --> src/http.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | method: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> src/http.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | path: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `protocol` [INFO] [stderr] --> src/http.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | protocol: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `headers` [INFO] [stderr] --> src/http.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | headers: HttpRequestHeaders, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/http.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `simplehttpserver` (bin "simplehttpserver" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/simplehttpserver-dc3009e0aa8bf3c2) [INFO] running `Command { std: "docker" "inspect" "6fd092a79cfa2ad3c91f27186e974d473f6411c2e6ed6ce8dd0ef40660d1cdbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fd092a79cfa2ad3c91f27186e974d473f6411c2e6ed6ce8dd0ef40660d1cdbb", kill_on_drop: false }` [INFO] [stdout] 6fd092a79cfa2ad3c91f27186e974d473f6411c2e6ed6ce8dd0ef40660d1cdbb