[INFO] fetching crate wda 0.5.1... [INFO] checking wda-0.5.1 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate wda 0.5.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate wda 0.5.1 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wda 0.5.1 [INFO] finished tweaking crates.io crate wda 0.5.1 [INFO] tweaked toml for crates.io crate wda 0.5.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 117 packages [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.0) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding image v0.24.9 (latest: v0.25.1) [INFO] [stderr] Adding linux-raw-sys v0.4.13 (latest: v0.6.4) [INFO] [stderr] Adding num_enum v0.5.11 (latest: v0.7.2) [INFO] [stderr] Adding num_enum_derive v0.5.11 (latest: v0.7.2) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.1.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding ring v0.16.20 (latest: v0.17.8) [INFO] [stderr] Adding rustls v0.20.9 (latest: v0.23.4) [INFO] [stderr] Adding rustls-ffi v0.8.2 (latest: v0.13.0) [INFO] [stderr] Adding rustls-pemfile v0.2.1 (latest: v2.1.1) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.58) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.9) [INFO] [stderr] Adding untrusted v0.7.1 (latest: v0.9.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wdc v0.1.0-beta8 [INFO] [stderr] Downloaded rustls-ffi v0.8.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f314456819c24d0ae242d0e20d233ac1116731225b1e1b568d58ba46de909c [INFO] running `Command { std: "docker" "start" "-a" "07f314456819c24d0ae242d0e20d233ac1116731225b1e1b568d58ba46de909c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f314456819c24d0ae242d0e20d233ac1116731225b1e1b568d58ba46de909c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f314456819c24d0ae242d0e20d233ac1116731225b1e1b568d58ba46de909c", kill_on_drop: false }` [INFO] [stdout] 07f314456819c24d0ae242d0e20d233ac1116731225b1e1b568d58ba46de909c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2bdd72f6d25cc74045dde8f75dd564db83228ce7377e3cdb3db088f120d333a [INFO] running `Command { std: "docker" "start" "-a" "d2bdd72f6d25cc74045dde8f75dd564db83228ce7377e3cdb3db088f120d333a", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling rustls-ffi v0.8.2 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling curl-sys v0.4.72+curl-8.6.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking wdc v0.1.0-beta8 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking wda v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/wdadata.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> src/wdadata.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/wdadata.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Read, Seek, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/wdadata.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> src/wdadata.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> src/wdadata.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{Read, Seek, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/wdadata.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let ret: Self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rend_file_in_tar` [INFO] [stdout] --> src/wdadata.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let rend_file_in_tar = vals[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rend_file_in_tar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lck` [INFO] [stdout] --> src/wdadata.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let lck = self.try_lock(LCK_DLREND)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_f` [INFO] [stdout] --> src/wdadata.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let path_f = path_f.to_str().ok_or(BugFound(505))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_f` [INFO] [stdout] --> src/wdadata.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let size_f = file.header().size().map_err(|_e| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wdadata.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let mut dled_tgz = File::open(self.cache_file_pbuf(tarfile)).map_err(|_e| { [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: `rend_file_in_tar` [INFO] [stdout] --> src/wdadata.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let rend_file_in_tar = vals[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rend_file_in_tar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/wdadata.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | if let Some(mode) = infile.unix_mode() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/wdadata.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let ret: Self; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rend_file_in_tar` [INFO] [stdout] --> src/wdadata.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let rend_file_in_tar = vals[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rend_file_in_tar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lck` [INFO] [stdout] --> src/wdadata.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let lck = self.try_lock(LCK_DLREND)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_lck` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path_f` [INFO] [stdout] --> src/wdadata.rs:280:21 [INFO] [stdout] | [INFO] [stdout] 280 | let path_f = path_f.to_str().ok_or(BugFound(505))?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_path_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size_f` [INFO] [stdout] --> src/wdadata.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 281 | let size_f = file.header().size().map_err(|_e| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_size_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wdadata.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | let mut dled_tgz = File::open(self.cache_file_pbuf(tarfile)).map_err(|_e| { [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: `rend_file_in_tar` [INFO] [stdout] --> src/wdadata.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | let rend_file_in_tar = vals[2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rend_file_in_tar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/wdadata.rs:489:29 [INFO] [stdout] | [INFO] [stdout] 489 | if let Some(mode) = infile.unix_mode() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_fresh_profile` [INFO] [stdout] --> src/wda_internal.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let mut is_fresh_profile = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_fresh_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last_profile` [INFO] [stdout] --> src/wda_internal.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let mut is_last_profile = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cust_profile_id` [INFO] [stdout] --> src/wda_internal.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut cust_profile_id: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cust_profile_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wda_internal.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut is_fresh_profile = false; [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/wda_internal.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut is_last_profile = 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/wda_internal.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut cust_profile_id: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pbuf_rend_dir` is never used [INFO] [stdout] --> src/wdadata.rs:657:8 [INFO] [stdout] | [INFO] [stdout] 177 | impl WdaWorkingDir { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 657 | fn pbuf_rend_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_dl_tools` is never used [INFO] [stdout] --> src/wdadata.rs:707:4 [INFO] [stdout] | [INFO] [stdout] 707 | fn check_dl_tools() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/wdadata.rs:375:47 [INFO] [stdout] | [INFO] [stdout] 375 | let mut received: &[u8] = data.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_bin` [INFO] [stdout] --> src/wdadata.rs:1269:17 [INFO] [stdout] | [INFO] [stdout] 1269 | let mut f_bin = File::open(wdir.rend_file_pbuf(REND_ID)).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_f_bin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `BFAM` [INFO] [stdout] --> src/wdadata.rs:1255:9 [INFO] [stdout] | [INFO] [stdout] 1255 | BFAM: BrowserFamily, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_BFAM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wdadata.rs:1269:13 [INFO] [stdout] | [INFO] [stdout] 1269 | let mut f_bin = File::open(wdir.rend_file_pbuf(REND_ID)).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/wdadata.rs:1272:13 [INFO] [stdout] | [INFO] [stdout] 1272 | let mut stdx_output = Command::new(wdir.rend_file_pbuf(REND_ID)) [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f_bin` [INFO] [stdout] --> src/wdadata.rs:1342:17 [INFO] [stdout] | [INFO] [stdout] 1342 | let mut f_bin = File::open(wdir.rend_file_pbuf(REND_ID)).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_f_bin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `BFAM` [INFO] [stdout] --> src/wdadata.rs:1333:9 [INFO] [stdout] | [INFO] [stdout] 1333 | BFAM: BrowserFamily, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_BFAM` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wdadata.rs:1342:13 [INFO] [stdout] | [INFO] [stdout] 1342 | let mut f_bin = File::open(wdir.rend_file_pbuf(REND_ID)).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/wdadata.rs:1345:13 [INFO] [stdout] | [INFO] [stdout] 1345 | let mut stdx_output = Command::new(wdir.rend_file_pbuf(REND_ID)) [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_fresh_profile` [INFO] [stdout] --> src/wda_internal.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let mut is_fresh_profile = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_fresh_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last_profile` [INFO] [stdout] --> src/wda_internal.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let mut is_last_profile = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last_profile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cust_profile_id` [INFO] [stdout] --> src/wda_internal.rs:267:17 [INFO] [stdout] | [INFO] [stdout] 267 | let mut cust_profile_id: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cust_profile_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/wda_internal.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let mut is_fresh_profile = false; [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/wda_internal.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 266 | let mut is_last_profile = 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/wda_internal.rs:267:13 [INFO] [stdout] | [INFO] [stdout] 267 | let mut cust_profile_id: Option = None; [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pbuf_rend_dir` is never used [INFO] [stdout] --> src/wdadata.rs:657:8 [INFO] [stdout] | [INFO] [stdout] 177 | impl WdaWorkingDir { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 657 | fn pbuf_rend_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_dl_tools` is never used [INFO] [stdout] --> src/wdadata.rs:707:4 [INFO] [stdout] | [INFO] [stdout] 707 | fn check_dl_tools() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/wdadata.rs:375:47 [INFO] [stdout] | [INFO] [stdout] 375 | let mut received: &[u8] = data.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> tests/wda_gecko.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::borrow::Cow; [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.93s [INFO] running `Command { std: "docker" "inspect" "d2bdd72f6d25cc74045dde8f75dd564db83228ce7377e3cdb3db088f120d333a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bdd72f6d25cc74045dde8f75dd564db83228ce7377e3cdb3db088f120d333a", kill_on_drop: false }` [INFO] [stdout] d2bdd72f6d25cc74045dde8f75dd564db83228ce7377e3cdb3db088f120d333a