[INFO] updating cached repository https://github.com/kylehz/http-server-rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 5edb19f46df0a9000b49d37b7133138363bdd8b1 [INFO] testing kylehz/http-server-rs against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylehz%2Fhttp-server-rs" "/workspace/builds/worker-2/source"` [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.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 62a893911c43660ef8ac9280693af3b9f2599a59d468d012113cb01a232e9cbc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "62a893911c43660ef8ac9280693af3b9f2599a59d468d012113cb01a232e9cbc"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling futures v0.1.27 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.14 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling dtoa v0.4.4 [INFO] [stderr] Compiling spin v0.5.0 [INFO] [stderr] Compiling hashbrown v0.3.0 [INFO] [stderr] Compiling copyless v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.16 [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 regex-syntax v0.6.6 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling encoding v0.2.33 [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 mime v0.3.13 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.9 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling signal-hook-registry v1.0.1 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.5 [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 url v1.7.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.16 [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 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 tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling actix-utils v0.4.0 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [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 actix-server-config v0.1.1 [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.2 [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 failure v0.1.5 [INFO] [stderr] Compiling trust-dns-proto v0.7.3 [INFO] [stderr] Compiling v_htmlescape v0.4.3 [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 trust-dns-resolver v0.11.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] [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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index` [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: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 29s [INFO] running `"docker" "inspect" "62a893911c43660ef8ac9280693af3b9f2599a59d468d012113cb01a232e9cbc"` [INFO] running `"docker" "rm" "-f" "62a893911c43660ef8ac9280693af3b9f2599a59d468d012113cb01a232e9cbc"` [INFO] [stdout] 62a893911c43660ef8ac9280693af3b9f2599a59d468d012113cb01a232e9cbc [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bd7890a00b167aa676f43f7ed9adcdc095f80245c130ed8d85eb3b4909b1ff5c [INFO] running `"docker" "start" "-a" "bd7890a00b167aa676f43f7ed9adcdc095f80245c130ed8d85eb3b4909b1ff5c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling http-server v0.9.0 (/opt/rustwide/workdir) [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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index` [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: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `"docker" "inspect" "bd7890a00b167aa676f43f7ed9adcdc095f80245c130ed8d85eb3b4909b1ff5c"` [INFO] running `"docker" "rm" "-f" "bd7890a00b167aa676f43f7ed9adcdc095f80245c130ed8d85eb3b4909b1ff5c"` [INFO] [stdout] bd7890a00b167aa676f43f7ed9adcdc095f80245c130ed8d85eb3b4909b1ff5c [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 61e1168adbc8f97d229ced786f1591d4d950ec765ac0aca5e8345206262eefdb [INFO] running `"docker" "start" "-a" "61e1168adbc8f97d229ced786f1591d4d950ec765ac0aca5e8345206262eefdb"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item '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 item: `trim_start_matches` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `index` [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: 7 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/http_server-b0b7dfd2179d17aa [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 [INFO] [stdout] [INFO] running `"docker" "inspect" "61e1168adbc8f97d229ced786f1591d4d950ec765ac0aca5e8345206262eefdb"` [INFO] running `"docker" "rm" "-f" "61e1168adbc8f97d229ced786f1591d4d950ec765ac0aca5e8345206262eefdb"` [INFO] [stdout] 61e1168adbc8f97d229ced786f1591d4d950ec765ac0aca5e8345206262eefdb