[INFO] cloning repository https://github.com/kylehz/http-server-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylehz/http-server-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylehz%2Fhttp-server-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylehz%2Fhttp-server-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5edb19f46df0a9000b49d37b7133138363bdd8b1 [INFO] testing kylehz/http-server-rs against 1.63.0 for beta-1.64-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylehz%2Fhttp-server-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylehz/http-server-rs on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylehz/http-server-rs [INFO] finished tweaking git repo https://github.com/kylehz/http-server-rs [INFO] tweaked toml for git repo https://github.com/kylehz/http-server-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/kylehz/http-server-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_more v0.14.0 [INFO] [stderr] Downloaded actix-http v0.2.0 [INFO] [stderr] Downloaded backtrace v0.3.16 [INFO] [stderr] Downloaded actix-web v1.0.0-beta.5 [INFO] [stderr] Downloaded actix-files v0.1.0-beta.4 [INFO] [stderr] Downloaded actix-server v0.5.0 [INFO] [stderr] Downloaded h2 v0.1.18 [INFO] [stderr] Downloaded tar v0.4.25 [INFO] [stderr] Downloaded actix-router v0.1.3 [INFO] [stderr] Downloaded actix-web-codegen v0.1.0-beta.1 [INFO] [stderr] Downloaded actix-utils v0.4.0 [INFO] [stderr] Downloaded libc v0.2.54 [INFO] [stderr] Downloaded filetime v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f224289e70efafe6c1ae0d0747032e64fc77e5dd08c2c932d92c0feb60b04b8 [INFO] running `Command { std: "docker" "start" "-a" "8f224289e70efafe6c1ae0d0747032e64fc77e5dd08c2c932d92c0feb60b04b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f224289e70efafe6c1ae0d0747032e64fc77e5dd08c2c932d92c0feb60b04b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f224289e70efafe6c1ae0d0747032e64fc77e5dd08c2c932d92c0feb60b04b8", kill_on_drop: false }` [INFO] [stdout] 8f224289e70efafe6c1ae0d0747032e64fc77e5dd08c2c932d92c0feb60b04b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 966d59f0c0f34e3772ad315d1bf2f11f7c71df47f0f9dfaf8fc793072e44a620 [INFO] running `Command { std: "docker" "start" "-a" "966d59f0c0f34e3772ad315d1bf2f11f7c71df47f0f9dfaf8fc793072e44a620", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling copyless v0.1.2 [INFO] [stderr] Compiling hashbrown v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.16 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling actix-service v0.4.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling filetime v0.2.5 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling signal-hook v0.1.9 [INFO] [stderr] Compiling tar v0.4.25 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling string v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-utils v0.4.0 [INFO] [stderr] Compiling actix-server-config v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling derive_more v0.14.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling v_escape_derive v0.5.3 [INFO] [stderr] Compiling actix-web-codegen v0.1.0-beta.1 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [INFO] [stderr] Compiling trust-dns-proto v0.7.3 [INFO] [stderr] Compiling trust-dns-resolver v0.11.0 [INFO] [stderr] Compiling actix-threadpool v0.1.0 [INFO] [stderr] Compiling actix-rt v0.2.2 [INFO] [stderr] Compiling actix-server v0.5.0 [INFO] [stderr] Compiling actix-connect v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling actix-router v0.1.3 [INFO] [stderr] Compiling actix-http v0.2.0 [INFO] [stderr] Compiling awc v0.2.0 [INFO] [stderr] Compiling actix-web v1.0.0-beta.5 [INFO] [stderr] Compiling actix-files v0.1.0-beta.4 [INFO] [stderr] Compiling http-server v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/main.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{middleware, web, App, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `middleware` [INFO] [stdout] --> src/handler.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, middleware, web, App, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/handler.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | let dir_tar_path = String::from(req.path().trim_right_matches('/')) + ".tar"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/handler.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | let relpath = PathBuf::from(tail.trim_left_matches('/')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn index() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "966d59f0c0f34e3772ad315d1bf2f11f7c71df47f0f9dfaf8fc793072e44a620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "966d59f0c0f34e3772ad315d1bf2f11f7c71df47f0f9dfaf8fc793072e44a620", kill_on_drop: false }` [INFO] [stdout] 966d59f0c0f34e3772ad315d1bf2f11f7c71df47f0f9dfaf8fc793072e44a620 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 802a92aa596a4c1443bbd5e9c619edacad2b9fc2cd542cef0b7cf483bdd63493 [INFO] running `Command { std: "docker" "start" "-a" "802a92aa596a4c1443bbd5e9c619edacad2b9fc2cd542cef0b7cf483bdd63493", kill_on_drop: false }` [INFO] [stderr] Compiling http-server v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpResponse` [INFO] [stdout] --> src/main.rs:3:39 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{middleware, web, App, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `middleware` [INFO] [stdout] --> src/handler.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{error, middleware, web, App, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | .author(clap::crate_authors!("\n")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/handler.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | let dir_tar_path = String::from(req.path().trim_right_matches('/')) + ".tar"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/handler.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | let relpath = PathBuf::from(tail.trim_left_matches('/')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/main.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn index() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "802a92aa596a4c1443bbd5e9c619edacad2b9fc2cd542cef0b7cf483bdd63493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "802a92aa596a4c1443bbd5e9c619edacad2b9fc2cd542cef0b7cf483bdd63493", kill_on_drop: false }` [INFO] [stdout] 802a92aa596a4c1443bbd5e9c619edacad2b9fc2cd542cef0b7cf483bdd63493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 16c3a1a47cadb0e2291a6c215bfc323b1a9d563042ad023ebdf1597e70b51265 [INFO] running `Command { std: "docker" "start" "-a" "16c3a1a47cadb0e2291a6c215bfc323b1a9d563042ad023ebdf1597e70b51265", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HttpResponse` [INFO] [stderr] --> src/main.rs:3:39 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{middleware, web, App, HttpResponse, HttpServer}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `middleware` [INFO] [stderr] --> src/handler.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{error, middleware, web, App, HttpRequest, HttpResponse}; [INFO] [stderr] | ^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | .author(clap::crate_authors!("\n")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/main.rs:17:17 [INFO] [stderr] | [INFO] [stderr] 17 | .author(clap::crate_authors!("\n")) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `clap::crate_authors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/handler.rs:39:48 [INFO] [stderr] | [INFO] [stderr] 39 | let dir_tar_path = String::from(req.path().trim_right_matches('/')) + ".tar"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/handler.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | let relpath = PathBuf::from(tail.trim_left_matches('/')); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: function `index` is never used [INFO] [stderr] --> src/main.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | fn index() -> &'static str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `http-server` (bin "http-server" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/http_server-875f4cc3d997990d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16c3a1a47cadb0e2291a6c215bfc323b1a9d563042ad023ebdf1597e70b51265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c3a1a47cadb0e2291a6c215bfc323b1a9d563042ad023ebdf1597e70b51265", kill_on_drop: false }` [INFO] [stdout] 16c3a1a47cadb0e2291a6c215bfc323b1a9d563042ad023ebdf1597e70b51265