[INFO] fetching crate webdav-handler 0.2.0... [INFO] checking webdav-handler-0.2.0 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate webdav-handler 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate webdav-handler 0.2.0 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate webdav-handler 0.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate webdav-handler 0.2.0 [INFO] tweaked toml for crates.io crate webdav-handler 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate webdav-handler 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-util v0.6.6 [INFO] [stderr] Downloaded actix-macros v0.2.0 [INFO] [stderr] Downloaded httpdate v1.0.0 [INFO] [stderr] Downloaded actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Downloaded ahash v0.7.2 [INFO] [stderr] Downloaded headers v0.3.4 [INFO] [stderr] Downloaded actix-http v3.0.0-beta.6 [INFO] [stderr] Downloaded actix-web v4.0.0-beta.6 [INFO] [stderr] Downloaded handlebars v3.5.5 [INFO] [stderr] Downloaded hyper v0.14.7 [INFO] [stderr] Downloaded derive_more v0.99.13 [INFO] [stderr] Downloaded const_fn v0.4.7 [INFO] [stderr] Downloaded warp v0.3.1 [INFO] [stderr] Downloaded lru v0.6.5 [INFO] [stderr] Downloaded tokio-stream v0.1.5 [INFO] [stderr] Downloaded cpufeatures v0.1.1 [INFO] [stderr] Downloaded xmltree v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8683e1cc2e072e1e55f7ed268a596d064d0136b5d121232f871a84299d43c8d7 [INFO] running `Command { std: "docker" "start" "-a" "8683e1cc2e072e1e55f7ed268a596d064d0136b5d121232f871a84299d43c8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8683e1cc2e072e1e55f7ed268a596d064d0136b5d121232f871a84299d43c8d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8683e1cc2e072e1e55f7ed268a596d064d0136b5d121232f871a84299d43c8d7", kill_on_drop: false }` [INFO] [stdout] 8683e1cc2e072e1e55f7ed268a596d064d0136b5d121232f871a84299d43c8d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34690edb7840010421bf926052f06b24e6a8ed9014f25c47f359c55ad1576657 [INFO] running `Command { std: "docker" "start" "-a" "34690edb7840010421bf926052f06b24e6a8ed9014f25c47f359c55ad1576657", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling const_fn v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking cpufeatures v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking webdav-handler v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/davhandler.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use bytes::{self, buf::Buf}; [INFO] [stdout] | ^^^^ the item `bytes` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/davheaders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use url; [INFO] [stdout] | ^^^ the item `url` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xml` is imported redundantly [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xml; [INFO] [stdout] | ^^^ the item `xml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_copymove.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::{util::DavMethod, DavResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_delete.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::DavResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `htmlescape` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use htmlescape; [INFO] [stdout] | ^^^^^^^^^^ the item `htmlescape` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavFile` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `DavFile` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavMetaData` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:26 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `DavMetaData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FsFuture` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `FsFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FsResult` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:49 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `FsResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xmltree` is imported redundantly [INFO] [stdout] --> src/handle_lock.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use xmltree::{self, Element}; [INFO] [stdout] | ^^^^ the item `xmltree` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_lock.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::DavResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_props.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::{DavInner, DavResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/handle_put.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use http::{self, Request, Response}; [INFO] [stdout] | ^^^^ the item `http` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xml` is imported redundantly [INFO] [stdout] --> src/multierror.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use xml; [INFO] [stdout] | ^^^ the item `xml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xml` is imported redundantly [INFO] [stdout] --> src/xmltree_ext.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use xml; [INFO] [stdout] | ^^^ the item `xml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xmltree` is imported redundantly [INFO] [stdout] --> src/xmltree_ext.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use xmltree::{self, Element, XMLNode}; [INFO] [stdout] | ^^^^ the item `xmltree` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mime_guess` is imported redundantly [INFO] [stdout] --> src/davpath.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mime_guess; [INFO] [stdout] | ^^^^^^^^^^ the item `mime_guess` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/localfs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/tree.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | pub data: D, [INFO] [stdout] 23 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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: field `locks` is never read [INFO] [stdout] --> src/memls.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct MemLsInner { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 29 | tree: Tree, [INFO] [stdout] 30 | locks: HashMap, u64>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemLsInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stdout] warning: the item `env_logger` is imported redundantly [INFO] [stdout] --> examples/sample-litmus-server.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use env_logger; [INFO] [stdout] | ^^^^^^^^^^ the item `env_logger` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `hyper` is imported redundantly [INFO] [stdout] --> examples/sample-litmus-server.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use hyper; [INFO] [stdout] | ^^^^^ the item `hyper` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bytes` is imported redundantly [INFO] [stdout] --> src/davhandler.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use bytes::{self, buf::Buf}; [INFO] [stdout] | ^^^^ the item `bytes` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `url` is imported redundantly [INFO] [stdout] --> src/davheaders.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use url; [INFO] [stdout] | ^^^ the item `url` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xml` is imported redundantly [INFO] [stdout] --> src/errors.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use xml; [INFO] [stdout] | ^^^ the item `xml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_copymove.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::{util::DavMethod, DavResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_delete.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use crate::DavResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `htmlescape` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use htmlescape; [INFO] [stdout] | ^^^^^^^^^^ the item `htmlescape` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavFile` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `DavFile` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavMetaData` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:26 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `DavMetaData` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FsFuture` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:39 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `FsFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FsResult` is imported redundantly [INFO] [stdout] --> src/handle_gethead.rs:474:49 [INFO] [stdout] | [INFO] [stdout] 18 | use crate::fs::*; [INFO] [stdout] | ------------ the item `FsResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 474 | use crate::fs::{DavFile, DavMetaData, FsFuture, FsResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xmltree` is imported redundantly [INFO] [stdout] --> src/handle_lock.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use xmltree::{self, Element}; [INFO] [stdout] | ^^^^ the item `xmltree` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_lock.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::DavResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `DavResult` is imported redundantly [INFO] [stdout] --> src/handle_props.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::errors::*; [INFO] [stdout] | ---------------- the item `DavResult` is already imported here [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::{DavInner, DavResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `http` is imported redundantly [INFO] [stdout] --> src/handle_put.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | use http::{self, Request, Response}; [INFO] [stdout] | ^^^^ the item `http` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xml` is imported redundantly [INFO] [stdout] --> src/multierror.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use xml; [INFO] [stdout] | ^^^ the item `xml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `UNIX_EPOCH` is imported redundantly [INFO] [stdout] --> src/util.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 201 | use super::*; [INFO] [stdout] | -------- the item `UNIX_EPOCH` is already imported here [INFO] [stdout] 202 | use std::time::UNIX_EPOCH; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xml` is imported redundantly [INFO] [stdout] --> src/xmltree_ext.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use xml; [INFO] [stdout] | ^^^ the item `xml` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `xmltree` is imported redundantly [INFO] [stdout] --> src/xmltree_ext.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use xmltree::{self, Element, XMLNode}; [INFO] [stdout] | ^^^^ the item `xmltree` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `mime_guess` is imported redundantly [INFO] [stdout] --> src/davpath.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mime_guess; [INFO] [stdout] | ^^^^^^^^^^ the item `mime_guess` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `libc` is imported redundantly [INFO] [stdout] --> src/localfs.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use libc; [INFO] [stdout] | ^^^^ the item `libc` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/tree.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 22 | pub data: D, [INFO] [stdout] 23 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` 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: field `locks` is never read [INFO] [stdout] --> src/memls.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct MemLsInner { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 29 | tree: Tree, [INFO] [stdout] 30 | locks: HashMap, u64>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemLsInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.01s [INFO] running `Command { std: "docker" "inspect" "34690edb7840010421bf926052f06b24e6a8ed9014f25c47f359c55ad1576657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34690edb7840010421bf926052f06b24e6a8ed9014f25c47f359c55ad1576657", kill_on_drop: false }` [INFO] [stdout] 34690edb7840010421bf926052f06b24e6a8ed9014f25c47f359c55ad1576657