[INFO] cloning repository https://github.com/ManStudio/MuzzMan-Lib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ManStudio/MuzzMan-Lib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManStudio%2FMuzzMan-Lib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManStudio%2FMuzzMan-Lib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9788a233e20d477cffc6f4ba2347882a3a4e0ad5 [INFO] checking ManStudio/MuzzMan-Lib/9788a233e20d477cffc6f4ba2347882a3a4e0ad5 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManStudio%2FMuzzMan-Lib" "/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/ManStudio/MuzzMan-Lib on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ManStudio/MuzzMan-Lib [INFO] finished tweaking git repo https://github.com/ManStudio/MuzzMan-Lib [INFO] tweaked toml for git repo https://github.com/ManStudio/MuzzMan-Lib written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ManStudio/MuzzMan-Lib 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/module-http/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `muzzman_module_http` library target) [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes-kman-derive v0.3.0 [INFO] [stderr] Downloaded bytes-kman v0.3.0 [INFO] [stderr] Downloaded circular-buffer v0.1.1 [INFO] [stderr] Downloaded get_ref v0.1.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93ab93f00ca9f3274c3a38f63eb841d7eb7ae796e037f7826f4f2a06bdd65e98 [INFO] running `Command { std: "docker" "start" "-a" "93ab93f00ca9f3274c3a38f63eb841d7eb7ae796e037f7826f4f2a06bdd65e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93ab93f00ca9f3274c3a38f63eb841d7eb7ae796e037f7826f4f2a06bdd65e98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93ab93f00ca9f3274c3a38f63eb841d7eb7ae796e037f7826f4f2a06bdd65e98", kill_on_drop: false }` [INFO] [stdout] 93ab93f00ca9f3274c3a38f63eb841d7eb7ae796e037f7826f4f2a06bdd65e98 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5732f866961bafe8713eb53b82dbf4a9a19cdc572d4adf4495b208939adb5eee [INFO] running `Command { std: "docker" "start" "-a" "5732f866961bafe8713eb53b82dbf4a9a19cdc572d4adf4495b208939adb5eee", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/module-http/Cargo.toml: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `muzzman_module_http` library target) [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Checking get_ref v0.1.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking unicode-ident v1.0.10 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking circular-buffer v0.1.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking futures-channel v0.3.28 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking proc-macro2 v1.0.64 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking quote v1.0.29 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking muzzman-lib-macros v0.1.3 (/opt/rustwide/workdir/macros) [INFO] [stderr] Compiling bytes-kman-derive v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking bytes-kman v0.3.0 [INFO] [stderr] Checking muzzman-lib v0.3.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RangeFull` and `RangeInclusive` [INFO] [stdout] --> src/settings.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{RangeFull, RangeInclusive}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RangeFull` and `RangeInclusive` [INFO] [stdout] --> src/settings.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ops::{RangeFull, RangeInclusive}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking muzzman-local-session v0.1.0 (/opt/rustwide/workdir/local-session) [INFO] [stdout] warning: unused import: `Wraper` [INFO] [stdout] --> local-session/src/session_location.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{TLocalSession, UIDPath, Wraper}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::RawModule` [INFO] [stdout] --> local-session/src/session_module.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{module::RawModule, TLocalSession}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> local-session/src/session_element.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 92 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 95 | element.element.write().unwrap().enabled = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | fn events(&self, uid: UID, consume: bool) -> SessionResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `consume` [INFO] [stdout] --> local-session/src/session_common.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | fn events(&self, uid: UID, consume: bool) -> SessionResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | fn push_event(&self, uid: UID, event: Event) -> SessionResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> local-session/src/session_common.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | fn push_event(&self, uid: UID, event: Event) -> SessionResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | fn get_buffer_size(&self, uid: UID) -> SessionResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 236 | fn set_buffer_size(&self, uid: UID, size: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> local-session/src/session_common.rs:236:41 [INFO] [stdout] | [INFO] [stdout] 236 | fn set_buffer_size(&self, uid: UID, size: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | fn remaining(&self, uid: UID) -> SessionResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | fn read(&self, uid: UID, len: usize) -> SessionResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> local-session/src/session_common.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | fn read(&self, uid: UID, len: usize) -> SessionResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> local-session/src/session_element.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_element(&self, path: Vec) -> SessionResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn move_element(&self, element: ElementId, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_element.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | fn move_element(&self, element: ElementId, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_element.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let module = self.as_ref().module(module_id.uid)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> local-session/src/session_element.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let runtime = self.runtime(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | element.element.write().unwrap().enabled = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | fn element_get_path(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn element_set_path(&self, element: ElementId, path: std::path::PathBuf) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> local-session/src/session_element.rs:107:52 [INFO] [stdout] | [INFO] [stdout] 107 | fn element_set_path(&self, element: ElementId, path: std::path::PathBuf) -> SessionResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn element_is_completed(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn element_is_error(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | fn element_get_statuses(&self, element: ElementId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | fn element_set_statuses(&self, element: ElementId, statuses: Vec) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statuses` [INFO] [stdout] --> local-session/src/session_element.rs:123:56 [INFO] [stdout] | [INFO] [stdout] 123 | fn element_set_statuses(&self, element: ElementId, statuses: Vec) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | fn element_get_status(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | fn element_set_status(&self, element: ElementId, status: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> local-session/src/session_element.rs:131:54 [INFO] [stdout] | [INFO] [stdout] 131 | fn element_set_status(&self, element: ElementId, status: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | fn element_get_status_str(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | fn element_get_progress(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | fn element_get_download_speed(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | fn element_get_upload_speed(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | fn element_get_download_total(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | fn element_get_upload_total(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | element: ElementId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | element: ElementId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> local-session/src/session_element.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | data: std::collections::HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | fn element_get_settings(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | fn element_set_settings(&self, element: ElementId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_element.rs:196:56 [INFO] [stdout] | [INFO] [stdout] 196 | fn element_set_settings(&self, element: ElementId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | fn element_get_module(&self, element: ElementId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | fn element_wait(&self, element: ElementId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | fn destroy_element(&self, element: ElementId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> local-session/src/session_location.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 115 | fn location_set_enabled(&self, location: LocationId, enabled: bool) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let location = self.as_ref().location(location.uid)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:222:37 [INFO] [stdout] | [INFO] [stdout] 222 | fn location_get_progress(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn location_get_download_speed(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | fn location_get_upload_speed(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:234:43 [INFO] [stdout] | [INFO] [stdout] 234 | fn location_get_download_total(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | fn location_get_upload_total(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> local-session/src/session_location.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | data: std::collections::HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | fn location_get_settings(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | fn location_set_settings(&self, location: LocationId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_location.rs:261:59 [INFO] [stdout] | [INFO] [stdout] 261 | fn location_set_settings(&self, location: LocationId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | fn location_get_module(&self, location: LocationId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_id` [INFO] [stdout] --> local-session/src/session_location.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | module_id: Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location_location` [INFO] [stdout] --> local-session/src/session_location.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | location_location: LocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | fn location_path(&self, location: LocationId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | fn location_wait(&self, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | fn destroy_location(&self, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> local-session/src/session_module.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_module(&self, path: usize) -> SessionResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | fn module_get_element_settings(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | module: ModuleId, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_module.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | settings: Settings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn module_get_location_settings(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | module: ModuleId, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_module.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | settings: Settings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn module_supports_protocols(&self, module: ModuleId) -> SessionResult> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | fn module_supports_extensions(&self, module: ModuleId) -> SessionResult> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | fn module_path(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn module_id(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn destroy_module(&self, module: ModuleId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 78 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking muzzman-module-http v0.1.0 (/opt/rustwide/workdir/module-http) [INFO] [stdout] warning: unused import: `hyper::http::request` [INFO] [stdout] --> module-http/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::http::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hyper::http::request` [INFO] [stdout] --> module-http/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::http::request; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [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] --> module-http/src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut client = hyper::Client::new(); [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: variable does not need to be mutable [INFO] [stdout] --> module-http/src/lib.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut client = hyper::Client::new(); [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: `ctx` [INFO] [stdout] --> module-http/src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ctx: &mut std::task::Context<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> module-http/src/lib.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | ctx: &mut std::task::Context<'_>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> module-http/src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | location: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> module-http/src/lib.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | location: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> module-http/src/lib.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | element: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> module-http/src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> module-http/src/lib.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | element: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> module-http/src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> module-http/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | location: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> module-http/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> module-http/src/lib.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | location: std::sync::Arc>, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> module-http/src/lib.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | event: Event, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> module-http/src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut settings = Settings::default(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> module-http/src/lib.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | storage: &mut Storage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> module-http/src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | id.set_enabled(false); [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] 83 | let _ = id.set_enabled(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> module-http/src/lib.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let mut settings = Settings::default(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> module-http/src/lib.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | id.set_enabled(false); [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] 83 | let _ = id.set_enabled(false); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wraper` [INFO] [stdout] --> local-session/src/session_location.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{TLocalSession, UIDPath, Wraper}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `module::RawModule` [INFO] [stdout] --> local-session/src/session_module.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{module::RawModule, TLocalSession}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> local-session/src/session_element.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 92 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 95 | element.element.write().unwrap().enabled = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | fn events(&self, uid: UID, consume: bool) -> SessionResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `consume` [INFO] [stdout] --> local-session/src/session_common.rs:224:32 [INFO] [stdout] | [INFO] [stdout] 224 | fn events(&self, uid: UID, consume: bool) -> SessionResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_consume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:228:26 [INFO] [stdout] | [INFO] [stdout] 228 | fn push_event(&self, uid: UID, event: Event) -> SessionResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> local-session/src/session_common.rs:228:36 [INFO] [stdout] | [INFO] [stdout] 228 | fn push_event(&self, uid: UID, event: Event) -> SessionResult<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | fn get_buffer_size(&self, uid: UID) -> SessionResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:236:31 [INFO] [stdout] | [INFO] [stdout] 236 | fn set_buffer_size(&self, uid: UID, size: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> local-session/src/session_common.rs:236:41 [INFO] [stdout] | [INFO] [stdout] 236 | fn set_buffer_size(&self, uid: UID, size: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:240:25 [INFO] [stdout] | [INFO] [stdout] 240 | fn remaining(&self, uid: UID) -> SessionResult { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> local-session/src/session_common.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | fn read(&self, uid: UID, len: usize) -> SessionResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> local-session/src/session_common.rs:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | fn read(&self, uid: UID, len: usize) -> SessionResult> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> local-session/src/session_element.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_element(&self, path: Vec) -> SessionResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | fn move_element(&self, element: ElementId, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_element.rs:33:48 [INFO] [stdout] | [INFO] [stdout] 33 | fn move_element(&self, element: ElementId, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_element.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | let module = self.as_ref().module(module_id.uid)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> local-session/src/session_element.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | let runtime = self.runtime(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | element.element.write().unwrap().enabled = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | fn element_get_path(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:107:32 [INFO] [stdout] | [INFO] [stdout] 107 | fn element_set_path(&self, element: ElementId, path: std::path::PathBuf) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> local-session/src/session_element.rs:107:52 [INFO] [stdout] | [INFO] [stdout] 107 | fn element_set_path(&self, element: ElementId, path: std::path::PathBuf) -> SessionResult<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn element_is_completed(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn element_is_error(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:119:36 [INFO] [stdout] | [INFO] [stdout] 119 | fn element_get_statuses(&self, element: ElementId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | fn element_set_statuses(&self, element: ElementId, statuses: Vec) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `statuses` [INFO] [stdout] --> local-session/src/session_element.rs:123:56 [INFO] [stdout] | [INFO] [stdout] 123 | fn element_set_statuses(&self, element: ElementId, statuses: Vec) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_statuses` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:127:34 [INFO] [stdout] | [INFO] [stdout] 127 | fn element_get_status(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | fn element_set_status(&self, element: ElementId, status: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> local-session/src/session_element.rs:131:54 [INFO] [stdout] | [INFO] [stdout] 131 | fn element_set_status(&self, element: ElementId, status: usize) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:135:38 [INFO] [stdout] | [INFO] [stdout] 135 | fn element_get_status_str(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | fn element_get_progress(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:161:42 [INFO] [stdout] | [INFO] [stdout] 161 | fn element_get_download_speed(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | fn element_get_upload_speed(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:169:42 [INFO] [stdout] | [INFO] [stdout] 169 | fn element_get_download_total(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:173:40 [INFO] [stdout] | [INFO] [stdout] 173 | fn element_get_upload_total(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | element: ElementId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | element: ElementId, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> local-session/src/session_element.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | data: std::collections::HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:192:36 [INFO] [stdout] | [INFO] [stdout] 192 | fn element_get_settings(&self, element: ElementId) -> SessionResult { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:196:36 [INFO] [stdout] | [INFO] [stdout] 196 | fn element_set_settings(&self, element: ElementId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_element.rs:196:56 [INFO] [stdout] | [INFO] [stdout] 196 | fn element_set_settings(&self, element: ElementId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:200:34 [INFO] [stdout] | [INFO] [stdout] 200 | fn element_get_module(&self, element: ElementId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:218:28 [INFO] [stdout] | [INFO] [stdout] 218 | fn element_wait(&self, element: ElementId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> local-session/src/session_element.rs:222:31 [INFO] [stdout] | [INFO] [stdout] 222 | fn destroy_element(&self, element: ElementId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enabled` [INFO] [stdout] --> local-session/src/session_location.rs:115:58 [INFO] [stdout] | [INFO] [stdout] 115 | fn location_set_enabled(&self, location: LocationId, enabled: bool) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | let location = self.as_ref().location(location.uid)?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:222:37 [INFO] [stdout] | [INFO] [stdout] 222 | fn location_get_progress(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn location_get_download_speed(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:230:41 [INFO] [stdout] | [INFO] [stdout] 230 | fn location_get_upload_speed(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:234:43 [INFO] [stdout] | [INFO] [stdout] 234 | fn location_get_download_total(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:238:41 [INFO] [stdout] | [INFO] [stdout] 238 | fn location_get_upload_total(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:251:9 [INFO] [stdout] | [INFO] [stdout] 251 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> local-session/src/session_location.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | data: std::collections::HashMap, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:257:37 [INFO] [stdout] | [INFO] [stdout] 257 | fn location_get_settings(&self, location: LocationId) -> SessionResult { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | fn location_set_settings(&self, location: LocationId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_location.rs:261:59 [INFO] [stdout] | [INFO] [stdout] 261 | fn location_set_settings(&self, location: LocationId, settings: Settings) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | fn location_get_module(&self, location: LocationId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module_id` [INFO] [stdout] --> local-session/src/session_location.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | module_id: Option, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | location: LocationId, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location_location` [INFO] [stdout] --> local-session/src/session_location.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | location_location: LocationId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | fn location_path(&self, location: LocationId) -> SessionResult> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:289:29 [INFO] [stdout] | [INFO] [stdout] 289 | fn location_wait(&self, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location` [INFO] [stdout] --> local-session/src/session_location.rs:293:32 [INFO] [stdout] | [INFO] [stdout] 293 | fn destroy_location(&self, location: LocationId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> local-session/src/session_module.rs:10:26 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_module(&self, path: usize) -> SessionResult { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | fn module_get_element_settings(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | module: ModuleId, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_module.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | settings: Settings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | fn module_get_location_settings(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | module: ModuleId, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> local-session/src/session_module.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | settings: Settings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:38:41 [INFO] [stdout] | [INFO] [stdout] 38 | fn module_supports_protocols(&self, module: ModuleId) -> SessionResult> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 42 | fn module_supports_extensions(&self, module: ModuleId) -> SessionResult> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | fn module_path(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | fn module_id(&self, module: ModuleId) -> SessionResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `module` [INFO] [stdout] --> local-session/src/session_module.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn destroy_module(&self, module: ModuleId) -> SessionResult<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> local-session/src/tests/http_download_google.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut local_session = LocalSession::new(); [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: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "5732f866961bafe8713eb53b82dbf4a9a19cdc572d4adf4495b208939adb5eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5732f866961bafe8713eb53b82dbf4a9a19cdc572d4adf4495b208939adb5eee", kill_on_drop: false }` [INFO] [stdout] 5732f866961bafe8713eb53b82dbf4a9a19cdc572d4adf4495b208939adb5eee