[INFO] cloning repository https://github.com/stanzhai/phantom [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stanzhai/phantom" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanzhai%2Fphantom", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanzhai%2Fphantom'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c91cc578f65f3f09a0e1f72d6a3a8bd2deb169e [INFO] checking stanzhai/phantom against master#8c6ce6b91b172f77c795a74bfeaf74b865146b3f for pr-101345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanzhai%2Fphantom" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stanzhai/phantom on toolchain 8c6ce6b91b172f77c795a74bfeaf74b865146b3f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stanzhai/phantom [INFO] finished tweaking git repo https://github.com/stanzhai/phantom [INFO] tweaked toml for git repo https://github.com/stanzhai/phantom written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/stanzhai/phantom already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psl-types v2.0.9 [INFO] [stderr] Downloaded webdav-handler v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07dc57463150f3e4c6794f7911b7e6c6487f4eea468121453eebdb01cf8e6929 [INFO] running `Command { std: "docker" "start" "-a" "07dc57463150f3e4c6794f7911b7e6c6487f4eea468121453eebdb01cf8e6929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07dc57463150f3e4c6794f7911b7e6c6487f4eea468121453eebdb01cf8e6929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07dc57463150f3e4c6794f7911b7e6c6487f4eea468121453eebdb01cf8e6929", kill_on_drop: false }` [INFO] [stdout] 07dc57463150f3e4c6794f7911b7e6c6487f4eea468121453eebdb01cf8e6929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+8c6ce6b91b172f77c795a74bfeaf74b865146b3f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9742d0b0dde4b5366e2ebb669cc2fbbe9b08c7a9840676f050a08b471e83cc01 [INFO] running `Command { std: "docker" "start" "-a" "9742d0b0dde4b5366e2ebb669cc2fbbe9b08c7a9840676f050a08b471e83cc01", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking futures-io v0.3.18 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking psl-types v2.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking htmlescape v0.3.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking publicsuffix v2.1.1 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Checking lru v0.7.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking headers v0.3.5 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tungstenite v0.14.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking tokio-tungstenite v0.15.0 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking hyper v0.14.15 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking handlebars v3.5.5 [INFO] [stderr] Checking cookie_store v0.15.1 [INFO] [stderr] Checking webdav-handler v0.2.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.2 [INFO] [stderr] Checking reqwest v0.11.7 [INFO] [stderr] Checking phantom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `download` is never used [INFO] [stdout] --> src/jellyfin/client.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | async fn download(&self, id: &str, start: usize, end: usize) -> Bytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/jellyfin/fs.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct FSDirNode { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 37 | id: String, [INFO] [stdout] 38 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FSDirNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/jellyfin/fs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct FSFileNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FSFileNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `client` and `append` are never read [INFO] [stdout] --> src/jellyfin/fs.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct FSFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | pos: usize, [INFO] [stdout] 69 | append: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `propkey` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn propkey(ns: &Option, name: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cloneprop` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn cloneprop(p: &DavProp) -> DavProp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | fn file_name(path: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_mtime` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn update_mtime(&mut self, tm: std::time::SystemTime) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_file_mut` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn as_file_mut(&mut self) -> FsResult<&mut FSFileNode> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn get_props(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props_mut` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_props_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/oof/oof_fs.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct OofFSDirNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 34 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OofFSDirNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/oof/oof_fs.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct OofFSFileNode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 41 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OofFSFileNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pickcode`, `client` and `append` are never read [INFO] [stdout] --> src/oof/oof_fs.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct OofFSFile { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pickcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | pos: usize, [INFO] [stdout] 65 | append: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OofFSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `propkey` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn propkey(ns: &Option, name: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cloneprop` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn cloneprop(p: &DavProp) -> DavProp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn file_name(path: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_mtime` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | fn update_mtime(&mut self, tm: std::time::SystemTime) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_file_mut` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn as_file_mut(&mut self) -> FsResult<&mut OofFSFileNode> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | fn get_props(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props_mut` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | fn get_props_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_id` are never read [INFO] [stdout] --> src/tree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub data: D, [INFO] [stdout] 21 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | parent_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] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_node_from_parent` is never used [INFO] [stdout] --> src/tree.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn delete_node_from_parent(&mut self, id: u64) -> FsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_node` is never used [INFO] [stdout] --> src/tree.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn delete_node(&mut self, id: u64) -> FsResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_subtree` is never used [INFO] [stdout] --> src/tree.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn delete_subtree(&mut self, id: u64) -> FsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_node` is never used [INFO] [stdout] --> src/tree.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn move_node( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/jellyfin/fs.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | tree.add_child(0, node_id, entry.name.into_bytes(), node, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/oof/oof_fs.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | tree.add_child(entry.id, node_id, entry.name.into_bytes(), node, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `download` is never used [INFO] [stdout] --> src/jellyfin/client.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | async fn download(&self, id: &str, start: usize, end: usize) -> Bytes { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/jellyfin/fs.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 36 | struct FSDirNode { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 37 | id: String, [INFO] [stdout] 38 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FSDirNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/jellyfin/fs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct FSFileNode { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FSFileNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `client` and `append` are never read [INFO] [stdout] --> src/jellyfin/fs.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 63 | struct FSFile { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 68 | pos: usize, [INFO] [stdout] 69 | append: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `propkey` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn propkey(ns: &Option, name: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cloneprop` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn cloneprop(p: &DavProp) -> DavProp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:452:4 [INFO] [stdout] | [INFO] [stdout] 452 | fn file_name(path: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_mtime` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn update_mtime(&mut self, tm: std::time::SystemTime) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_file_mut` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:389:8 [INFO] [stdout] | [INFO] [stdout] 389 | fn as_file_mut(&mut self) -> FsResult<&mut FSFileNode> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:396:8 [INFO] [stdout] | [INFO] [stdout] 396 | fn get_props(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props_mut` is never used [INFO] [stdout] --> src/jellyfin/fs.rs:403:8 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_props_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/oof/oof_fs.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct OofFSDirNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 34 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OofFSDirNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `props` is never read [INFO] [stdout] --> src/oof/oof_fs.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct OofFSFileNode { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 41 | props: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OofFSFileNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pickcode`, `client` and `append` are never read [INFO] [stdout] --> src/oof/oof_fs.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct OofFSFile { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 62 | pickcode: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 63 | client: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 64 | pos: usize, [INFO] [stdout] 65 | append: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OofFSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `propkey` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn propkey(ns: &Option, name: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cloneprop` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:203:4 [INFO] [stdout] | [INFO] [stdout] 203 | fn cloneprop(p: &DavProp) -> DavProp { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `file_name` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:424:4 [INFO] [stdout] | [INFO] [stdout] 424 | fn file_name(path: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `update_mtime` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:340:8 [INFO] [stdout] | [INFO] [stdout] 340 | fn update_mtime(&mut self, tm: std::time::SystemTime) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `as_file_mut` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:361:8 [INFO] [stdout] | [INFO] [stdout] 361 | fn as_file_mut(&mut self) -> FsResult<&mut OofFSFileNode> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:368:8 [INFO] [stdout] | [INFO] [stdout] 368 | fn get_props(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_props_mut` is never used [INFO] [stdout] --> src/oof/oof_fs.rs:375:8 [INFO] [stdout] | [INFO] [stdout] 375 | fn get_props_mut(&mut self) -> &mut HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `parent_id` are never read [INFO] [stdout] --> src/tree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 20 | pub data: D, [INFO] [stdout] 21 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 22 | parent_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] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_node_from_parent` is never used [INFO] [stdout] --> src/tree.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn delete_node_from_parent(&mut self, id: u64) -> FsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_node` is never used [INFO] [stdout] --> src/tree.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn delete_node(&mut self, id: u64) -> FsResult> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `delete_subtree` is never used [INFO] [stdout] --> src/tree.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn delete_subtree(&mut self, id: u64) -> FsResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `move_node` is never used [INFO] [stdout] --> src/tree.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn move_node( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/jellyfin/fs.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | tree.add_child(0, node_id, entry.name.into_bytes(), node, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/oof/oof_fs.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | tree.add_child(entry.id, node_id, entry.name.into_bytes(), node, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.14s [INFO] running `Command { std: "docker" "inspect" "9742d0b0dde4b5366e2ebb669cc2fbbe9b08c7a9840676f050a08b471e83cc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9742d0b0dde4b5366e2ebb669cc2fbbe9b08c7a9840676f050a08b471e83cc01", kill_on_drop: false }` [INFO] [stdout] 9742d0b0dde4b5366e2ebb669cc2fbbe9b08c7a9840676f050a08b471e83cc01