[INFO] fetching crate tower-web 0.3.7... [INFO] checking tower-web-0.3.7 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tower-web 0.3.7 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate tower-web 0.3.7 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tower-web 0.3.7 [INFO] finished tweaking crates.io crate tower-web 0.3.7 [INFO] tweaked toml for crates.io crate tower-web 0.3.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 202 packages [INFO] [stderr] Adding atoi v0.2.3 (latest: v2.0.0) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.2.0) [INFO] [stderr] Adding base64 v0.9.3 (latest: v0.22.0) [INFO] [stderr] Adding base64 v0.10.1 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding dtoa v0.4.8 (latest: v1.0.9) [INFO] [stderr] Adding env_logger v0.5.13 (latest: v0.11.3) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding h2 v0.1.26 (latest: v0.4.3) [INFO] [stderr] Adding handlebars v1.0.5 (latest: v5.1.2) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.3) [INFO] [stderr] Adding headers v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding headers-core v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding http v0.1.21 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.1.0 (latest: v1.0.0) [INFO] [stderr] Adding humantime v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding hyper v0.12.36 (latest: v1.2.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itoa v0.4.8 (latest: v1.0.11) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mime v0.2.6 (latest: v0.3.17) [INFO] [stderr] Adding mime_guess v1.8.8 (latest: v2.0.4) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding pest v1.0.6 (latest: v2.7.9) [INFO] [stderr] Adding pest_derive v1.0.8 (latest: v2.7.9) [INFO] [stderr] Adding phf v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding phf_codegen v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding phf_generator v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding phf_shared v0.7.24 (latest: v0.11.2) [INFO] [stderr] Adding proc-macro-hack v0.4.3 (latest: v0.5.20+deprecated) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding quote v0.3.15 (latest: v1.0.35) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.5.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding ring v0.13.5 (latest: v0.17.8) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding rustls v0.14.0 (latest: v0.23.4) [INFO] [stderr] Adding sct v0.4.0 (latest: v0.7.1) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding serde_plain v0.3.0 (latest: v1.0.2) [INFO] [stderr] Adding serde_urlencoded v0.5.5 (latest: v0.7.1) [INFO] [stderr] Adding sha-1 v0.8.2 (latest: v0.10.1) [INFO] [stderr] Adding siphasher v0.2.3 (latest: v1.0.1) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding string v0.2.1 (latest: v0.3.0) [INFO] [stderr] Adding syn v0.11.11 (latest: v2.0.57) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.57) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.34) [INFO] [stderr] Adding tokio v0.1.19 (latest: v1.37.0) [INFO] [stderr] Adding tokio-rustls v0.8.1 (latest: v0.26.0) [INFO] [stderr] Adding tokio-trace-core v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding tower-service v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding unicase v1.4.2 (latest: v2.7.0) [INFO] [stderr] Adding unicode-xid v0.0.4 (latest: v0.2.4) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding untrusted v0.6.2 (latest: v0.9.0) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.0) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.4) [INFO] [stderr] Adding want v0.2.0 (latest: v0.3.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding webpki v0.18.1 (latest: v0.22.4) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-web-macros v0.3.5 [INFO] [stderr] Downloaded tower-service v0.1.0 [INFO] [stderr] Downloaded tokio-rustls v0.8.1 [INFO] [stderr] Downloaded sct v0.4.0 [INFO] [stderr] Downloaded tokio-async-await v0.1.7 [INFO] [stderr] Downloaded atoi v0.2.3 [INFO] [stderr] Downloaded tokio v0.1.19 [INFO] [stderr] Downloaded checked v0.5.0 [INFO] [stderr] Downloaded handlebars v1.0.5 [INFO] [stderr] Downloaded rustls v0.14.0 [INFO] [stderr] Downloaded headers v0.2.3 [INFO] [stderr] Downloaded tokio-trace-core v0.1.0 [INFO] [stderr] Downloaded headers-core v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bdc0f618e8a9eb4cc314f341dde1410d5014266d3ae2931e1f5f03225e8b441 [INFO] running `Command { std: "docker" "start" "-a" "5bdc0f618e8a9eb4cc314f341dde1410d5014266d3ae2931e1f5f03225e8b441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bdc0f618e8a9eb4cc314f341dde1410d5014266d3ae2931e1f5f03225e8b441", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bdc0f618e8a9eb4cc314f341dde1410d5014266d3ae2931e1f5f03225e8b441", kill_on_drop: false }` [INFO] [stdout] 5bdc0f618e8a9eb4cc314f341dde1410d5014266d3ae2931e1f5f03225e8b441 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 940a217587e50d772b3dd7110dab42a64621fc5d9505d3b738ddb4f73f5ad97e [INFO] running `Command { std: "docker" "start" "-a" "940a217587e50d772b3dd7110dab42a64621fc5d9505d3b738ddb4f73f5ad97e", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling libc v0.2.153 [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] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro-hack-impl v0.4.3 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.4.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atoi v0.2.3 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking checked v0.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Checking tower-service v0.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking headers v0.2.3 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking serde_plain v0.3.0 [INFO] [stderr] Checking hyper v0.12.36 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking handlebars v1.0.5 [INFO] [stderr] Compiling tower-web-macros v0.3.5 [INFO] [stderr] Checking tower-web v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/error/catch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/error/catch.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_urlencoded` is imported redundantly [INFO] [stdout] --> src/extract/serde.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:483:1 [INFO] [stdout] | [INFO] [stdout] 483 | extern crate serde_urlencoded; [INFO] [stdout] | ------------------------------ the item `serde_urlencoded` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/extract/serde.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `percent_encoding` is imported redundantly [INFO] [stdout] --> src/extract/str.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | extern crate percent_encoding; [INFO] [stdout] | ------------------------------ the item `percent_encoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `percent_encoding` is imported redundantly [INFO] [stdout] --> src/extract/osstring.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | extern crate percent_encoding; [INFO] [stdout] | ------------------------------ the item `percent_encoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/extract/http_date_time.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use http::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/middleware/cors/config.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut headers = self.basic_headers();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/cors/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/cors/service.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use http::{self, HeaderMap, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/deflate/middleware.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/deflate/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/log/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/log/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/middleware/log/service.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 400...599 => Level::Error, [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/either.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/file.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use http::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/json.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/response/json.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{self, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/option.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/serde.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use http::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/response/serde.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/serializer_context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/str.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/response/vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde` is imported redundantly [INFO] [stdout] --> src/response/vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/routing/resource.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/routing/service.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/service/new_service.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/service/web.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/util/http/future.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/util/tuple.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mime_guess` is imported redundantly [INFO] [stdout] --> src/util/mime_types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mime_guess; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | extern crate mime_guess; [INFO] [stdout] | ------------------------ the item `mime_guess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Poll` is imported redundantly [INFO] [stdout] --> src/run.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | use tokio::prelude::*; [INFO] [stdout] | ----------------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/run.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> src/run.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | extern crate hyper; [INFO] [stdout] | ------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/run.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/error/catch.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/error/catch.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Path` is imported redundantly [INFO] [stdout] --> src/extract/pathbuf.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] 57 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde_urlencoded` is imported redundantly [INFO] [stdout] --> src/extract/serde.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_urlencoded; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:483:1 [INFO] [stdout] | [INFO] [stdout] 483 | extern crate serde_urlencoded; [INFO] [stdout] | ------------------------------ the item `serde_urlencoded` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/extract/serde.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `percent_encoding` is imported redundantly [INFO] [stdout] --> src/extract/str.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | extern crate percent_encoding; [INFO] [stdout] | ------------------------------ the item `percent_encoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `percent_encoding` is imported redundantly [INFO] [stdout] --> src/extract/osstring.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use percent_encoding; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:479:1 [INFO] [stdout] | [INFO] [stdout] 479 | extern crate percent_encoding; [INFO] [stdout] | ------------------------------ the item `percent_encoding` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/extract/http_date_time.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use http::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/middleware/cors/config.rs:191:48 [INFO] [stdout] | [INFO] [stdout] 191 | let mut headers = self.basic_headers();; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/cors/config.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/cors/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/deflate/middleware.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/deflate/service.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/log/middleware.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/middleware/log/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/middleware/log/service.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | 400...599 => Level::Error, [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 [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/context.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/either.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/file.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use http::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/json.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/response/json.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | use serde_json::{self, Value}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | extern crate serde_json; [INFO] [stdout] | ------------------------ the item `serde_json` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/option.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/serde.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use http::{self, header}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde` is imported redundantly [INFO] [stdout] --> src/response/serde.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/serializer_context.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/str.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/response/vec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `serde` is imported redundantly [INFO] [stdout] --> src/response/vec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:480:1 [INFO] [stdout] | [INFO] [stdout] 480 | extern crate serde; [INFO] [stdout] | ------------------- the item `serde` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/routing/resource.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/routing/service.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/service/new_service.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/service/web.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/util/http/future.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/util/tuple.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `mime_guess` is imported redundantly [INFO] [stdout] --> src/util/mime_types.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mime_guess; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:478:1 [INFO] [stdout] | [INFO] [stdout] 478 | extern crate mime_guess; [INFO] [stdout] | ------------------------ the item `mime_guess` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `Poll` is imported redundantly [INFO] [stdout] --> src/run.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::Poll; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | use tokio::prelude::*; [INFO] [stdout] | ----------------- the item `Poll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `http` is imported redundantly [INFO] [stdout] --> src/run.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:471:1 [INFO] [stdout] | [INFO] [stdout] 471 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `hyper` is imported redundantly [INFO] [stdout] --> src/run.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use hyper; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 472 | extern crate hyper; [INFO] [stdout] | ------------------- the item `hyper` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: the item `tokio` is imported redundantly [INFO] [stdout] --> src/run.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:484:1 [INFO] [stdout] | [INFO] [stdout] 484 | extern crate tokio; [INFO] [stdout] | ------------------- the item `tokio` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware/cors/config.rs:229:26 [INFO] [stdout] | [INFO] [stdout] 229 | type TestError = Box<::std::error::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 | type TestError = Box; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/middleware/cors/service.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | type TestError = Box<::std::error::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | type TestError = Box; [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/run.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 | type Future = Box, Error = Self::Error> + Send>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &Any).downcast_ref() [INFO] [stdout] | ^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &dyn Any).downcast_ref() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/mod.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &Any).downcast_ref() [INFO] [stdout] | ^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 74 | (&**boxed as &dyn Any).downcast_ref() [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/num.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | Error::invalid_argument(&err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/num.rs:25:62 [INFO] [stdout] | [INFO] [stdout] 25 | Error::invalid_argument(&err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | num_extract_impls!(u8, u16, u32, u64, i8, i16, i32, i64); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the macro `num_extract_impls` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/serde.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... Some(Error::invalid_argument(&err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/extract/serde.rs:86:63 [INFO] [stdout] | [INFO] [stdout] 86 | ... Some(Error::invalid_argument(&err.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/middleware/cors/config.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let mut headers = self.basic_headers(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variable does not need to be mutable [INFO] [stdout] --> src/middleware/cors/config.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | let mut headers = self.basic_headers(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_mut)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/extract/error.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/util/buf_stream/deflate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | /// `None` represents a deflate error [INFO] [stdout] 39 | inner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/extract/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | drop(callsite); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CallSite` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/extract/error.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(String), [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Invalid(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `inner` is never read [INFO] [stdout] --> src/util/buf_stream/deflate.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Error { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | /// `None` represents a deflate error [INFO] [stdout] 39 | inner: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/extract/mod.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | drop(callsite); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&CallSite` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[deny(dropping_references)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-web` (lib test) due to 52 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/hello_world.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / /// To derive `Resource`, the implementation of `HelloWorld` is contained in the [INFO] [stdout] 65 | | /// `impl_web!` macro. This macro does not modify any of its contents. It will [INFO] [stdout] 66 | | /// inspect the implementation and, with the help of some annotations, generate [INFO] [stdout] 67 | | /// the necessary glue code to run the web service. [INFO] [stdout] 68 | | /// [INFO] [stdout] 69 | | /// impl_web! is a temporary solution to enable tower-web to work with stable [INFO] [stdout] 70 | | /// rust. In the near future, this will be transitioned to use attribute macros. [INFO] [stdout] | |_-------------------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/content_type.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/methods.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/extract.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/resource.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/multi_resource.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `foo` and `bar` are never read [INFO] [stdout] --> examples/derive_extract.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct Foo { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 30 | /// A `foo` component must be provided and it must be a numeric type. [INFO] [stdout] 31 | foo: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | bar: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Foo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/html_handlebars.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use http; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: tests/params.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate http; [INFO] [stdout] | ------------------ the item `http` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 113 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> tests/support/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use self::futures::Future; [INFO] [stdout] | --------------------- the item `Future` is already imported here [INFO] [stdout] ... [INFO] [stdout] 128 | use self::futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "940a217587e50d772b3dd7110dab42a64621fc5d9505d3b738ddb4f73f5ad97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "940a217587e50d772b3dd7110dab42a64621fc5d9505d3b738ddb4f73f5ad97e", kill_on_drop: false }` [INFO] [stdout] 940a217587e50d772b3dd7110dab42a64621fc5d9505d3b738ddb4f73f5ad97e