[INFO] fetching crate http-file-headers 0.1.8... [INFO] checking http-file-headers-0.1.8 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate http-file-headers 0.1.8 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate http-file-headers 0.1.8 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate http-file-headers 0.1.8 [INFO] finished tweaking crates.io crate http-file-headers 0.1.8 [INFO] tweaked toml for crates.io crate http-file-headers 0.1.8 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e7ad3a177b2d0bb1523dd53a28ddbf910bb9dec21080b12bf4f29e755522cc2 [INFO] running `Command { std: "docker" "start" "-a" "1e7ad3a177b2d0bb1523dd53a28ddbf910bb9dec21080b12bf4f29e755522cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e7ad3a177b2d0bb1523dd53a28ddbf910bb9dec21080b12bf4f29e755522cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e7ad3a177b2d0bb1523dd53a28ddbf910bb9dec21080b12bf4f29e755522cc2", kill_on_drop: false }` [INFO] [stdout] 1e7ad3a177b2d0bb1523dd53a28ddbf910bb9dec21080b12bf4f29e755522cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04b27dfe32acd4f3611ece8afa38efcfd6f63a100b8b95bccfe7df53e5b76cf5 [INFO] running `Command { std: "docker" "start" "-a" "04b27dfe32acd4f3611ece8afa38efcfd6f63a100b8b95bccfe7df53e5b76cf5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking netbuf v0.4.1 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking sha1 v0.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking smallvec v0.6.14 [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 parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking generic-array v0.9.1 [INFO] [stderr] Checking generic-array v0.11.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking digest v0.7.6 [INFO] [stderr] Checking crypto-mac v0.5.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tk-bufstream v0.3.0 [INFO] [stderr] Checking digest-writer v0.3.1 [INFO] [stderr] Checking blake2 v0.7.1 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tk-sendfile v0.4.0 [INFO] [stderr] Checking tk-listen v0.1.1 [INFO] [stderr] Checking tk-http v0.3.9 [INFO] [stderr] Checking http-file-headers v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/etag.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | b'0'...b'9' => Ok(c - b'0' + 52), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/etag.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | b'A'...b'Z' => Ok(c - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/etag.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | b'a'...b'z' => Ok(c - b'a' + 26), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | type Item=(&'a str, &'a Display); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | fn next(&mut self) -> Option<(&'a str, &'a Display)> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:119:58 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|x| ("Last-Modified", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|x| ("ETag", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:128:55 [INFO] [stdout] | [INFO] [stdout] 128 | ... &self.head.encoding as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|x| ("Content-Range", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:139:57 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|x| ("Content-Type", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:142:58 [INFO] [stdout] | [INFO] [stdout] 142 | Some(("Accept-Ranges", BYTES_PTR as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/accept_encoding.rs:114:39 [INFO] [stdout] | [INFO] [stdout] 114 | ... x@b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/etag.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use blake2::{Blake2b, Digest, digest::VariableOutput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `allow_any` [INFO] [stdout] --> src/accept_encoding.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | allow_any: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/etag.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | digest.variable_result(&mut value[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/serve_dir.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | type ResponseFuture = Box, [INFO] [stdout] | ______________________________^ [INFO] [stdout] 37 | | Error=server::Error>>; [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | type ResponseFuture = Box, [INFO] [stdout] 37 | Error=server::Error>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/etag.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | b'0'...b'9' => Ok(c - b'0' + 52), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/etag.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | b'A'...b'Z' => Ok(c - b'A'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/etag.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | b'a'...b'z' => Ok(c - b'a' + 26), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | type Item=(&'a str, &'a Display); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:113:48 [INFO] [stdout] | [INFO] [stdout] 113 | fn next(&mut self) -> Option<(&'a str, &'a Display)> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:119:58 [INFO] [stdout] | [INFO] [stdout] 119 | .map(|x| ("Last-Modified", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | .map(|x| ("ETag", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:128:55 [INFO] [stdout] | [INFO] [stdout] 128 | ... &self.head.encoding as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:135:58 [INFO] [stdout] | [INFO] [stdout] 135 | .map(|x| ("Content-Range", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:139:57 [INFO] [stdout] | [INFO] [stdout] 139 | .map(|x| ("Content-Type", x as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/output.rs:142:58 [INFO] [stdout] | [INFO] [stdout] 142 | Some(("Accept-Ranges", BYTES_PTR as &Display)) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Display` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/accept_encoding.rs:114:39 [INFO] [stdout] | [INFO] [stdout] 114 | ... x@b'0'...b'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> examples/serve_dir.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 155 | .trim_left_matches(|x| x == '/')); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/etag.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use blake2::{Blake2b, Digest, digest::VariableOutput}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `allow_any` [INFO] [stdout] --> src/accept_encoding.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | allow_any: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/etag.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | digest.variable_result(&mut value[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "04b27dfe32acd4f3611ece8afa38efcfd6f63a100b8b95bccfe7df53e5b76cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04b27dfe32acd4f3611ece8afa38efcfd6f63a100b8b95bccfe7df53e5b76cf5", kill_on_drop: false }` [INFO] [stdout] 04b27dfe32acd4f3611ece8afa38efcfd6f63a100b8b95bccfe7df53e5b76cf5