[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] testing stanzhai/phantom against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstanzhai%2Fphantom" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stanzhai/phantom on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-5/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psl-types v2.0.9 [INFO] [stderr] Downloaded lru v0.7.0 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] [stderr] Downloaded publicsuffix v2.1.1 [INFO] [stderr] Downloaded cookie_store v0.15.1 [INFO] [stderr] Downloaded futures-executor v0.3.18 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded webdav-handler v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d57fcd3de5252440510ae360182ac9ed7234143fbd0d72c53759fbcc357339b4 [INFO] running `Command { std: "docker" "start" "-a" "d57fcd3de5252440510ae360182ac9ed7234143fbd0d72c53759fbcc357339b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d57fcd3de5252440510ae360182ac9ed7234143fbd0d72c53759fbcc357339b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57fcd3de5252440510ae360182ac9ed7234143fbd0d72c53759fbcc357339b4", kill_on_drop: false }` [INFO] [stdout] d57fcd3de5252440510ae360182ac9ed7234143fbd0d72c53759fbcc357339b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbefb1dd5821f4272301251d3046943b6a6213bbb3ef37b9ca5c7582b413baec [INFO] running `Command { std: "docker" "start" "-a" "bbefb1dd5821f4272301251d3046943b6a6213bbb3ef37b9ca5c7582b413baec", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling psl-types v2.0.9 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling htmlescape v0.3.1 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling xmltree v0.10.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling publicsuffix v2.1.1 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling lru v0.7.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling headers v0.3.5 [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 tracing-attributes v0.1.18 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling cookie_store v0.15.1 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling webdav-handler v0.2.0 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling reqwest v0.11.7 [INFO] [stderr] Compiling phantom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/tree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tree.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_id` [INFO] [stdout] --> src/tree.rs:22:5 [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] --> src/tree.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_node_from_parent` [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 is never used: `delete_node` [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 is never used: `delete_subtree` [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 is never used: `move_node` [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: associated function is never used: `download` [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] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/jellyfin/fs.rs:38:5 [INFO] [stdout] | [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] --> src/jellyfin/fs.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/jellyfin/fs.rs:45:5 [INFO] [stdout] | [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] --> src/jellyfin/fs.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/jellyfin/fs.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | id: String, [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] --> src/jellyfin/fs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/jellyfin/fs.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | client: Arc, [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] --> src/jellyfin/fs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `append` [INFO] [stdout] --> src/jellyfin/fs.rs:69:5 [INFO] [stdout] | [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] --> src/jellyfin/fs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propkey` [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 is never used: `cloneprop` [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: associated function is never used: `update_mtime` [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 is never used: `as_file_mut` [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 is never used: `get_props` [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 is never used: `get_props_mut` [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: function is never used: `file_name` [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: field is never read: `props` [INFO] [stdout] --> src/oof/oof_fs.rs:34:5 [INFO] [stdout] | [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] --> src/oof/oof_fs.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/oof/oof_fs.rs:41:5 [INFO] [stdout] | [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] --> src/oof/oof_fs.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pickcode` [INFO] [stdout] --> src/oof/oof_fs.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pickcode: String, [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] --> src/oof/oof_fs.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/oof/oof_fs.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | client: Arc, [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] --> src/oof/oof_fs.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `append` [INFO] [stdout] --> src/oof/oof_fs.rs:65:5 [INFO] [stdout] | [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] --> src/oof/oof_fs.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propkey` [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 is never used: `cloneprop` [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: associated function is never used: `update_mtime` [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 is never used: `as_file_mut` [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 is never used: `get_props` [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 is never used: `get_props_mut` [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: function is never used: `file_name` [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: 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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.10s [INFO] running `Command { std: "docker" "inspect" "bbefb1dd5821f4272301251d3046943b6a6213bbb3ef37b9ca5c7582b413baec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbefb1dd5821f4272301251d3046943b6a6213bbb3ef37b9ca5c7582b413baec", kill_on_drop: false }` [INFO] [stdout] bbefb1dd5821f4272301251d3046943b6a6213bbb3ef37b9ca5c7582b413baec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5d2fc89b7db2a57209eb20ad9252afc7a676e8a0e76061fc7d49f74b4f95c33 [INFO] running `Command { std: "docker" "start" "-a" "f5d2fc89b7db2a57209eb20ad9252afc7a676e8a0e76061fc7d49f74b4f95c33", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling phantom v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/tree.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | id: u64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/tree.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_id` [INFO] [stdout] --> src/tree.rs:22:5 [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] --> src/tree.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_node_from_parent` [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 is never used: `delete_node` [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 is never used: `delete_subtree` [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 is never used: `move_node` [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: associated function is never used: `download` [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] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/jellyfin/fs.rs:38:5 [INFO] [stdout] | [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] --> src/jellyfin/fs.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/jellyfin/fs.rs:45:5 [INFO] [stdout] | [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] --> src/jellyfin/fs.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/jellyfin/fs.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | id: String, [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] --> src/jellyfin/fs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/jellyfin/fs.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | client: Arc, [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] --> src/jellyfin/fs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `append` [INFO] [stdout] --> src/jellyfin/fs.rs:69:5 [INFO] [stdout] | [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] --> src/jellyfin/fs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propkey` [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 is never used: `cloneprop` [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: associated function is never used: `update_mtime` [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 is never used: `as_file_mut` [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 is never used: `get_props` [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 is never used: `get_props_mut` [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: function is never used: `file_name` [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: field is never read: `props` [INFO] [stdout] --> src/oof/oof_fs.rs:34:5 [INFO] [stdout] | [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] --> src/oof/oof_fs.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/oof/oof_fs.rs:41:5 [INFO] [stdout] | [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] --> src/oof/oof_fs.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pickcode` [INFO] [stdout] --> src/oof/oof_fs.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | pickcode: String, [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] --> src/oof/oof_fs.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client` [INFO] [stdout] --> src/oof/oof_fs.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | client: Arc, [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] --> src/oof/oof_fs.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `append` [INFO] [stdout] --> src/oof/oof_fs.rs:65:5 [INFO] [stdout] | [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] --> src/oof/oof_fs.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `propkey` [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 is never used: `cloneprop` [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: associated function is never used: `update_mtime` [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 is never used: `as_file_mut` [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 is never used: `get_props` [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 is never used: `get_props_mut` [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: function is never used: `file_name` [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: 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: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "f5d2fc89b7db2a57209eb20ad9252afc7a676e8a0e76061fc7d49f74b4f95c33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5d2fc89b7db2a57209eb20ad9252afc7a676e8a0e76061fc7d49f74b4f95c33", kill_on_drop: false }` [INFO] [stdout] f5d2fc89b7db2a57209eb20ad9252afc7a676e8a0e76061fc7d49f74b4f95c33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 948e4a9c542a39f2f72bf48817bbe130384689a79ea6bbae8fd5bc7ce8b41ea1 [INFO] running `Command { std: "docker" "start" "-a" "948e4a9c542a39f2f72bf48817bbe130384689a79ea6bbae8fd5bc7ce8b41ea1", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/tree.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | id: u64, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tree.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent_id` [INFO] [stderr] --> src/tree.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | parent_id: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/tree.rs:17:10 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_node_from_parent` [INFO] [stderr] --> src/tree.rs:116:8 [INFO] [stderr] | [INFO] [stderr] 116 | fn delete_node_from_parent(&mut self, id: u64) -> FsResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_node` [INFO] [stderr] --> src/tree.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn delete_node(&mut self, id: u64) -> FsResult> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_subtree` [INFO] [stderr] --> src/tree.rs:148:12 [INFO] [stderr] | [INFO] [stderr] 148 | pub fn delete_subtree(&mut self, id: u64) -> FsResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `move_node` [INFO] [stderr] --> src/tree.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | pub fn move_node( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `download` [INFO] [stderr] --> src/jellyfin/client.rs:108:14 [INFO] [stderr] | [INFO] [stderr] 108 | async fn download(&self, id: &str, start: usize, end: usize) -> Bytes { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `props` [INFO] [stderr] --> src/jellyfin/fs.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | props: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FSDirNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jellyfin/fs.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `props` [INFO] [stderr] --> src/jellyfin/fs.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | props: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FSFileNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/jellyfin/fs.rs:43:10 [INFO] [stderr] | [INFO] [stderr] 43 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/jellyfin/fs.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | id: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jellyfin/fs.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client` [INFO] [stderr] --> src/jellyfin/fs.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | client: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jellyfin/fs.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `append` [INFO] [stderr] --> src/jellyfin/fs.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | append: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/jellyfin/fs.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `propkey` [INFO] [stderr] --> src/jellyfin/fs.rs:216:4 [INFO] [stderr] | [INFO] [stderr] 216 | fn propkey(ns: &Option, name: &str) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cloneprop` [INFO] [stderr] --> src/jellyfin/fs.rs:221:4 [INFO] [stderr] | [INFO] [stderr] 221 | fn cloneprop(p: &DavProp) -> DavProp { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_mtime` [INFO] [stderr] --> src/jellyfin/fs.rs:361:8 [INFO] [stderr] | [INFO] [stderr] 361 | fn update_mtime(&mut self, tm: std::time::SystemTime) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_file_mut` [INFO] [stderr] --> src/jellyfin/fs.rs:389:8 [INFO] [stderr] | [INFO] [stderr] 389 | fn as_file_mut(&mut self) -> FsResult<&mut FSFileNode> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_props` [INFO] [stderr] --> src/jellyfin/fs.rs:396:8 [INFO] [stderr] | [INFO] [stderr] 396 | fn get_props(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_props_mut` [INFO] [stderr] --> src/jellyfin/fs.rs:403:8 [INFO] [stderr] | [INFO] [stderr] 403 | fn get_props_mut(&mut self) -> &mut HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `file_name` [INFO] [stderr] --> src/jellyfin/fs.rs:452:4 [INFO] [stderr] | [INFO] [stderr] 452 | fn file_name(path: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `props` [INFO] [stderr] --> src/oof/oof_fs.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | props: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OofFSDirNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/oof/oof_fs.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `props` [INFO] [stderr] --> src/oof/oof_fs.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | props: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OofFSFileNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/oof/oof_fs.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `pickcode` [INFO] [stderr] --> src/oof/oof_fs.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | pickcode: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OofFSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/oof/oof_fs.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client` [INFO] [stderr] --> src/oof/oof_fs.rs:63:5 [INFO] [stderr] | [INFO] [stderr] 63 | client: Arc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OofFSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/oof/oof_fs.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `append` [INFO] [stderr] --> src/oof/oof_fs.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | append: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OofFSFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/oof/oof_fs.rs:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `propkey` [INFO] [stderr] --> src/oof/oof_fs.rs:198:4 [INFO] [stderr] | [INFO] [stderr] 198 | fn propkey(ns: &Option, name: &str) -> String { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `cloneprop` [INFO] [stderr] --> src/oof/oof_fs.rs:203:4 [INFO] [stderr] | [INFO] [stderr] 203 | fn cloneprop(p: &DavProp) -> DavProp { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `update_mtime` [INFO] [stderr] --> src/oof/oof_fs.rs:340:8 [INFO] [stderr] | [INFO] [stderr] 340 | fn update_mtime(&mut self, tm: std::time::SystemTime) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `as_file_mut` [INFO] [stderr] --> src/oof/oof_fs.rs:361:8 [INFO] [stderr] | [INFO] [stderr] 361 | fn as_file_mut(&mut self) -> FsResult<&mut OofFSFileNode> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_props` [INFO] [stderr] --> src/oof/oof_fs.rs:368:8 [INFO] [stderr] | [INFO] [stderr] 368 | fn get_props(&self) -> &HashMap { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_props_mut` [INFO] [stderr] --> src/oof/oof_fs.rs:375:8 [INFO] [stderr] | [INFO] [stderr] 375 | fn get_props_mut(&mut self) -> &mut HashMap { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `file_name` [INFO] [stderr] --> src/oof/oof_fs.rs:424:4 [INFO] [stderr] | [INFO] [stderr] 424 | fn file_name(path: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/jellyfin/fs.rs:187:21 [INFO] [stderr] | [INFO] [stderr] 187 | tree.add_child(0, node_id, entry.name.into_bytes(), node, false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/oof/oof_fs.rs:169:21 [INFO] [stderr] | [INFO] [stderr] 169 | tree.add_child(entry.id, node_id, entry.name.into_bytes(), node, false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `phantom` (bin "phantom" test) generated 33 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/phantom-4ed3e132ada81f66) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "948e4a9c542a39f2f72bf48817bbe130384689a79ea6bbae8fd5bc7ce8b41ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948e4a9c542a39f2f72bf48817bbe130384689a79ea6bbae8fd5bc7ce8b41ea1", kill_on_drop: false }` [INFO] [stdout] 948e4a9c542a39f2f72bf48817bbe130384689a79ea6bbae8fd5bc7ce8b41ea1