[INFO] cloning repository https://github.com/ChrisCochrun/libre-presenter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChrisCochrun/libre-presenter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisCochrun%2Flibre-presenter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisCochrun%2Flibre-presenter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a29a8cb8664173bde218f7d511fbc1899417a128 [INFO] checking ChrisCochrun/libre-presenter against master#19dd9535408db0f1ff3d16613619076aef524d19 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChrisCochrun%2Flibre-presenter" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ChrisCochrun/libre-presenter on toolchain 19dd9535408db0f1ff3d16613619076aef524d19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/ChrisCochrun/libre-presenter [INFO] finished tweaking git repo https://github.com/ChrisCochrun/libre-presenter [INFO] tweaked toml for git repo https://github.com/ChrisCochrun/libre-presenter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ChrisCochrun/libre-presenter 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" "+19dd9535408db0f1ff3d16613619076aef524d19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded youtube_dl v0.8.0 [INFO] [stderr] Downloaded cxx-qt-lib v0.5.3 [INFO] [stderr] Downloaded clang-format v0.1.3 [INFO] [stderr] Downloaded qt-build-utils v0.5.3 [INFO] [stderr] Downloaded cxx-qt v0.5.3 [INFO] [stderr] Downloaded cxx-qt-build v0.5.3 [INFO] [stderr] Downloaded configparser v3.0.2 [INFO] [stderr] Downloaded indoc v2.0.1 [INFO] [stderr] Downloaded cxx-qt-gen v0.5.3 [INFO] [stderr] Downloaded cxx-qt-lib-headers v0.5.3 [INFO] [stderr] Downloaded diesel_derives v2.1.0 [INFO] [stderr] Downloaded diesel v2.1.0 [INFO] [stderr] Downloaded cxx-gen v0.7.94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97798c41e64f9854bff8b38ae503535b49fb3867d2f3abcb9aa57d51ee5ab33e [INFO] running `Command { std: "docker" "start" "-a" "97798c41e64f9854bff8b38ae503535b49fb3867d2f3abcb9aa57d51ee5ab33e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97798c41e64f9854bff8b38ae503535b49fb3867d2f3abcb9aa57d51ee5ab33e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97798c41e64f9854bff8b38ae503535b49fb3867d2f3abcb9aa57d51ee5ab33e", kill_on_drop: false }` [INFO] [stdout] 97798c41e64f9854bff8b38ae503535b49fb3867d2f3abcb9aa57d51ee5ab33e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ba086779117a7e3e668adf48fecc584ae67a3e92f317619504eec9566d146aa [INFO] running `Command { std: "docker" "start" "-a" "0ba086779117a7e3e668adf48fecc584ae67a3e92f317619504eec9566d146aa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling serde v1.0.183 [INFO] [stderr] Compiling serde_derive v1.0.183 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling scratch v1.0.5 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cxx-qt-lib-headers v0.5.3 [INFO] [stderr] Compiling cxxbridge-flags v1.0.94 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling link-cplusplus v1.0.8 [INFO] [stderr] Compiling cxx v1.0.94 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling versions v4.1.0 [INFO] [stderr] Compiling clang-format v0.1.3 [INFO] [stderr] Compiling indoc v2.0.1 [INFO] [stderr] Compiling winnow v0.5.3 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling cxx-build v1.0.94 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling cxx-gen v0.7.94 [INFO] [stderr] Checking unicode-ident v1.0.8 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking youtube_dl v0.8.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling cxx-qt-gen v0.5.3 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Compiling cxxbridge-macro v1.0.94 [INFO] [stderr] Compiling diesel_derives v2.1.0 [INFO] [stderr] Compiling migrations_internals v2.1.0 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking configparser v3.0.2 [INFO] [stderr] Compiling qt-build-utils v0.5.3 [INFO] [stderr] Compiling cxx-qt-lib v0.5.3 [INFO] [stderr] Compiling cxx-qt-build v0.5.3 [INFO] [stderr] Compiling migrations_macros v2.1.0 [INFO] [stderr] Compiling cxx-qt v0.5.3 [INFO] [stderr] Compiling liblumina v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> build.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking diesel v2.1.0 [INFO] [stderr] Checking diesel_migrations v2.1.0 [INFO] [stdout] warning: unused import: `cxx_qt_lib::QVariantValue` [INFO] [stdout] --> src/rust/file_helper.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use cxx_qt_lib::QVariantValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/rust/image_model.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/rust/image_model.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/rust/presentation_model.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/rust/presentation_model.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/rust/service_item_model.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer`, `Map`, `Serializer` [INFO] [stdout] --> src/rust/service_item_model.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | use serde_json::{json, Deserializer, Map, Serializer, Value}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rust/service_item_model.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/rust/service_item_model.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cxx_qt_lib::QVariantValue` [INFO] [stdout] --> src/rust/service_thing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use cxx_qt_lib::QVariantValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> src/rust/song_model.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/rust/video_model.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/rust/video_model.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cxx_qt_lib::QVariantValue` [INFO] [stdout] --> src/rust/file_helper.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use cxx_qt_lib::QVariantValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/rust/image_model.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/rust/image_model.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/rust/presentation_model.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/rust/presentation_model.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/rust/service_item_model.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserializer`, `Map`, `Serializer` [INFO] [stdout] --> src/rust/service_item_model.rs:139:28 [INFO] [stdout] | [INFO] [stdout] 139 | use serde_json::{json, Deserializer, Map, Serializer, Value}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/rust/service_item_model.rs:140:19 [INFO] [stdout] | [INFO] [stdout] 140 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/rust/service_item_model.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cxx_qt_lib::QVariantValue` [INFO] [stdout] --> src/rust/service_thing.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use cxx_qt_lib::QVariantValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf`, `Path` [INFO] [stdout] --> src/rust/song_model.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models::*` [INFO] [stdout] --> src/rust/video_model.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/rust/video_model.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/rust/service_item_model.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 496 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 497 | let rc = self.as_ref().count() - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/rust/service_item_model.rs:497:13 [INFO] [stdout] | [INFO] [stdout] 496 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 497 | let rc = self.as_ref().count() - 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rust/service_item_model.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rust/service_item_model.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/rust/image_model.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(image) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presentation` [INFO] [stdout] --> src/rust/presentation_model.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | if let Some(presentation) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_presentation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/rust/service_item_model.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/rust/service_item_model.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_item` [INFO] [stdout] --> src/rust/service_item_model.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | if let Some(service_item) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_index` [INFO] [stdout] --> src/rust/service_item_model.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | let model_index = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/rust/service_item_model.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | items: QMap_QString_QVariant, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/rust/service_item_model.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | index: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/rust/service_item_model.rs:556:24 [INFO] [stdout] | [INFO] [stdout] 556 | Ok(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rust/service_item_model.rs:677:32 [INFO] [stdout] | [INFO] [stdout] 677 | ... Ok(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rust/service_item_model.rs:682:40 [INFO] [stdout] | [INFO] [stdout] 682 | ... Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rust/service_item_model.rs:686:48 [INFO] [stdout] | [INFO] [stdout] 686 | ... Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/rust/image_model.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | if let Some(image) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn save(mut self: Pin<&mut Self>, file: QUrl) -> bool { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | let mut s = fs::read_to_string(service_path).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | let mut audio; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:811:25 [INFO] [stdout] | [INFO] [stdout] 811 | let mut background; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:918:32 [INFO] [stdout] | [INFO] [stdout] 918 | pub fn load_last_saved(mut self: Pin<&mut Self>) -> bool { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `presentation` [INFO] [stdout] --> src/rust/presentation_model.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | if let Some(presentation) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_presentation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:689:29 [INFO] [stdout] | [INFO] [stdout] 689 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:711:29 [INFO] [stdout] | [INFO] [stdout] 711 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:768:25 [INFO] [stdout] | [INFO] [stdout] 768 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:842:25 [INFO] [stdout] | [INFO] [stdout] 842 | if let Some(slide) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service_item` [INFO] [stdout] --> src/rust/service_item_model.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | if let Some(service_item) = [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_index` [INFO] [stdout] --> src/rust/service_item_model.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | let model_index = [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `items` [INFO] [stdout] --> src/rust/service_item_model.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | items: QMap_QString_QVariant, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_items` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/rust/service_item_model.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | index: i32, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/rust/service_item_model.rs:556:24 [INFO] [stdout] | [INFO] [stdout] 556 | Ok(f) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/rust/service_item_model.rs:677:32 [INFO] [stdout] | [INFO] [stdout] 677 | ... Ok(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rust/service_item_model.rs:682:40 [INFO] [stdout] | [INFO] [stdout] 682 | ... Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rust/service_item_model.rs:686:48 [INFO] [stdout] | [INFO] [stdout] 686 | ... Ok(i) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:537:21 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn save(mut self: Pin<&mut Self>, file: QUrl) -> bool { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:760:21 [INFO] [stdout] | [INFO] [stdout] 760 | let mut s = fs::read_to_string(service_path).unwrap(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | let mut audio; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:811:25 [INFO] [stdout] | [INFO] [stdout] 811 | let mut background; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/service_item_model.rs:918:32 [INFO] [stdout] | [INFO] [stdout] 918 | pub fn load_last_saved(mut self: Pin<&mut Self>) -> bool { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `song` [INFO] [stdout] --> src/rust/song_model.rs:789:25 [INFO] [stdout] | [INFO] [stdout] 789 | if let Some(song) = self.rust().songs.get(index as usize) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_song` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_item` [INFO] [stdout] --> src/rust/song_model.rs:829:25 [INFO] [stdout] | [INFO] [stdout] 829 | let mut first_item = true; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/song_model.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/song_model.rs:829:21 [INFO] [stdout] | [INFO] [stdout] 829 | let mut first_item = true; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/song_model.rs:857:21 [INFO] [stdout] | [INFO] [stdout] 857 | for mut verse in vorder { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_dir` [INFO] [stdout] --> src/rust/ytdl.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let data_dir = dirs::data_local_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:689:29 [INFO] [stdout] | [INFO] [stdout] 689 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:711:29 [INFO] [stdout] | [INFO] [stdout] 711 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:745:25 [INFO] [stdout] | [INFO] [stdout] 745 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:768:25 [INFO] [stdout] | [INFO] [stdout] 768 | for (i, slide) in slides_iter [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `slide` [INFO] [stdout] --> src/rust/slide_model.rs:842:25 [INFO] [stdout] | [INFO] [stdout] 842 | if let Some(slide) = [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_slide` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QVariant` is never used [INFO] [stdout] --> src/rust/file_helper.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | type QVariant = cxx_qt_lib::QVariant; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QStringList` is never used [INFO] [stdout] --> src/rust/image_model.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | type QStringList = cxx_qt_lib::QStringList; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QList_QString` is never used [INFO] [stdout] --> src/rust/image_model.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | type QList_QString = cxx_qt_lib::QList; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QStringList` is never used [INFO] [stdout] --> src/rust/presentation_model.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | type QStringList = cxx_qt_lib::QStringList; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QList_QString` is never used [INFO] [stdout] --> src/rust/presentation_model.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | type QList_QString = cxx_qt_lib::QList; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/rust/service_item_model.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ServiceItemMod { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 85 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceItemMod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Signals` is never used [INFO] [stdout] --> src/rust/service_item_model.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum Signals<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QVariant` is never used [INFO] [stdout] --> src/rust/service_thing.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | type QVariant = cxx_qt_lib::QVariant; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `video_start_time` and `video_end_time` are never read [INFO] [stdout] --> src/rust/slide_model.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Slidey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | video_start_time: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | video_end_time: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slidey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/rust/slide_model.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct SlideyMod { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 80 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlideyMod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PlayingChanged`, `SlideIndexChanged`, and `SlideSizeChanged` are never constructed [INFO] [stdout] --> src/rust/slide_obj.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Signals<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 18 | PlayingChanged { is_playing: &'a bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | SlideIndexChanged { slide_index: &'a i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | SlideSizeChanged { slide_size: &'a i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QUrl` is never used [INFO] [stdout] --> src/rust/song_model.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | type QUrl = cxx_qt_lib::QUrl; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QStringList` is never used [INFO] [stdout] --> src/rust/video_model.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | type QStringList = cxx_qt_lib::QStringList; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QList_QString` is never used [INFO] [stdout] --> src/rust/video_model.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | type QList_QString = cxx_qt_lib::QList; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rust/service_item_model.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | fs::create_dir_all(&datadir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 736 | let _ = fs::create_dir_all(&datadir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rust/service_item_model.rs:751:25 [INFO] [stdout] | [INFO] [stdout] 751 | file.unpack_in(&datadir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 751 | let _ = file.unpack_in(&datadir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `song` [INFO] [stdout] --> src/rust/song_model.rs:789:25 [INFO] [stdout] | [INFO] [stdout] 789 | if let Some(song) = self.rust().songs.get(index as usize) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_song` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_item` [INFO] [stdout] --> src/rust/song_model.rs:829:25 [INFO] [stdout] | [INFO] [stdout] 829 | let mut first_item = true; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/song_model.rs:803:13 [INFO] [stdout] | [INFO] [stdout] 803 | mut self: Pin<&mut Self>, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/song_model.rs:829:21 [INFO] [stdout] | [INFO] [stdout] 829 | let mut first_item = true; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rust/song_model.rs:857:21 [INFO] [stdout] | [INFO] [stdout] 857 | for mut verse in vorder { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_dir` [INFO] [stdout] --> src/rust/ytdl.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let data_dir = dirs::data_local_dir().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QVariant` is never used [INFO] [stdout] --> src/rust/file_helper.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | type QVariant = cxx_qt_lib::QVariant; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QStringList` is never used [INFO] [stdout] --> src/rust/image_model.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | type QStringList = cxx_qt_lib::QStringList; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QList_QString` is never used [INFO] [stdout] --> src/rust/image_model.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | type QList_QString = cxx_qt_lib::QList; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QStringList` is never used [INFO] [stdout] --> src/rust/presentation_model.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | type QStringList = cxx_qt_lib::QStringList; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QList_QString` is never used [INFO] [stdout] --> src/rust/presentation_model.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | type QList_QString = cxx_qt_lib::QList; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/rust/service_item_model.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct ServiceItemMod { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 85 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceItemMod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Signals` is never used [INFO] [stdout] --> src/rust/service_item_model.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | pub enum Signals<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QVariant` is never used [INFO] [stdout] --> src/rust/service_thing.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | type QVariant = cxx_qt_lib::QVariant; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `video_start_time` and `video_end_time` are never read [INFO] [stdout] --> src/rust/slide_model.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Slidey { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | video_start_time: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | video_end_time: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Slidey` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/rust/slide_model.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct SlideyMod { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 80 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlideyMod` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PlayingChanged`, `SlideIndexChanged`, and `SlideSizeChanged` are never constructed [INFO] [stdout] --> src/rust/slide_obj.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Signals<'a> { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 18 | PlayingChanged { is_playing: &'a bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | SlideIndexChanged { slide_index: &'a i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | SlideSizeChanged { slide_size: &'a i32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QUrl` is never used [INFO] [stdout] --> src/rust/song_model.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | type QUrl = cxx_qt_lib::QUrl; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QStringList` is never used [INFO] [stdout] --> src/rust/video_model.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | type QStringList = cxx_qt_lib::QStringList; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `QList_QString` is never used [INFO] [stdout] --> src/rust/video_model.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | type QList_QString = cxx_qt_lib::QList; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rust/service_item_model.rs:736:13 [INFO] [stdout] | [INFO] [stdout] 736 | fs::create_dir_all(&datadir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 736 | let _ = fs::create_dir_all(&datadir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/rust/service_item_model.rs:751:25 [INFO] [stdout] | [INFO] [stdout] 751 | file.unpack_in(&datadir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 751 | let _ = file.unpack_in(&datadir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "0ba086779117a7e3e668adf48fecc584ae67a3e92f317619504eec9566d146aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba086779117a7e3e668adf48fecc584ae67a3e92f317619504eec9566d146aa", kill_on_drop: false }` [INFO] [stdout] 0ba086779117a7e3e668adf48fecc584ae67a3e92f317619504eec9566d146aa