[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] checking kylehz/http-server-rs against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylehz%2Fhttp-server-rs" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylehz/http-server-rs on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0f3499193cc1f74181ab618b617ade07464d88a02346ed4a44e62b9aa65d794 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d0f3499193cc1f74181ab618b617ade07464d88a02346ed4a44e62b9aa65d794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0f3499193cc1f74181ab618b617ade07464d88a02346ed4a44e62b9aa65d794", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f3499193cc1f74181ab618b617ade07464d88a02346ed4a44e62b9aa65d794", kill_on_drop: false }` [INFO] [stdout] d0f3499193cc1f74181ab618b617ade07464d88a02346ed4a44e62b9aa65d794 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0eb31f12b0604d446fea2bd126f076a06491d67f58c55f87412b5fbf6101071f [INFO] running `Command { std: "docker" "start" "-a" "0eb31f12b0604d446fea2bd126f076a06491d67f58c55f87412b5fbf6101071f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking futures v0.1.27 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking spin v0.5.0 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Checking untrusted v0.6.2 [INFO] [stderr] Checking copyless v0.1.2 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking hashbrown v0.3.0 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling v_escape v0.7.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.16 [INFO] [stderr] Checking lock_api v0.2.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Checking tokio-executor v0.1.7 [INFO] [stderr] Checking tokio-sync v0.1.5 [INFO] [stderr] Checking actix-service v0.4.0 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mime v0.3.13 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking socket2 v0.3.9 [INFO] [stderr] Checking hostname v0.1.5 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking signal-hook-registry v1.0.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking filetime v0.2.5 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking threadpool v1.7.1 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Checking resolv-conf v0.6.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking signal-hook v0.1.9 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking tar v0.4.25 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking string v0.2.0 [INFO] [stderr] Checking regex v1.1.6 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking actix-codec v0.1.2 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking actix-utils v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-signal v0.2.7 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking actix-server-config v0.1.1 [INFO] [stderr] Checking h2 v0.1.18 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling derive_more v0.14.0 [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_htmlescape v0.4.3 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking trust-dns-proto v0.7.3 [INFO] [stderr] Checking actix-threadpool v0.1.0 [INFO] [stderr] Checking actix-rt v0.2.2 [INFO] [stderr] Checking actix-server v0.5.0 [INFO] [stderr] Checking trust-dns-resolver v0.11.0 [INFO] [stderr] Checking actix-connect v0.2.0 [INFO] [stderr] Checking serde v1.0.91 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking actix-router v0.1.3 [INFO] [stderr] Checking actix-http v0.2.0 [INFO] [stderr] Checking awc v0.2.0 [INFO] [stderr] Checking actix-web v1.0.0-beta.5 [INFO] [stderr] Checking actix-files v0.1.0-beta.4 [INFO] [stderr] Checking 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 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: 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 a macro (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 a macro (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: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (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 a macro (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: 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 is never used: `index` [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: function is never used: `index` [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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "0eb31f12b0604d446fea2bd126f076a06491d67f58c55f87412b5fbf6101071f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb31f12b0604d446fea2bd126f076a06491d67f58c55f87412b5fbf6101071f", kill_on_drop: false }` [INFO] [stdout] 0eb31f12b0604d446fea2bd126f076a06491d67f58c55f87412b5fbf6101071f