[INFO] cloning repository https://github.com/Gonanf/gabinator_desktop_remaster
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gonanf/gabinator_desktop_remaster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGonanf%2Fgabinator_desktop_remaster", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGonanf%2Fgabinator_desktop_remaster'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d335eb7b1eba10f092c547a3f03d9f0bd0ee2a59
[INFO] building Gonanf/gabinator_desktop_remaster against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGonanf%2Fgabinator_desktop_remaster" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Gonanf/gabinator_desktop_remaster
[INFO] finished tweaking git repo https://github.com/Gonanf/gabinator_desktop_remaster
[INFO] tweaked toml for git repo https://github.com/Gonanf/gabinator_desktop_remaster written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Gonanf/gabinator_desktop_remaster on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Gonanf/gabinator_desktop_remaster 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded arg_enum_proc_macro v0.3.4
[INFO] [stderr]   Downloaded loop9 v0.1.5
[INFO] [stderr]   Downloaded interpolate_name v0.2.4
[INFO] [stderr]   Downloaded maybe-rayon v0.1.1
[INFO] [stderr]   Downloaded noop_proc_macro v0.3.0
[INFO] [stderr]   Downloaded profiling-procmacros v1.0.16
[INFO] [stderr]   Downloaded rust-ini v0.20.0
[INFO] [stderr]   Downloaded dlv-list v0.5.2
[INFO] [stderr]   Downloaded gcd v2.3.0
[INFO] [stderr]   Downloaded version-compare v0.2.0
[INFO] [stderr]   Downloaded bit_field v0.10.2
[INFO] [stderr]   Downloaded ordered-multimap v0.7.3
[INFO] [stderr]   Downloaded rusb v0.9.4
[INFO] [stderr]   Downloaded toml v0.8.22
[INFO] [stderr]   Downloaded qoi v0.4.1
[INFO] [stderr]   Downloaded toml_edit v0.22.26
[INFO] [stderr]   Downloaded config v0.14.1
[INFO] [stderr]   Downloaded yaml-rust2 v0.8.1
[INFO] [stderr]   Downloaded winnow v0.7.8
[INFO] [stderr]   Downloaded sysinfo v0.30.13
[INFO] [stderr]   Downloaded xcb v1.5.0
[INFO] [stderr]   Downloaded exr v1.73.0
[INFO] [stderr]   Downloaded image v0.25.6
[INFO] [stderr]   Downloaded libfuzzer-sys v0.4.9
[INFO] [stderr]   Downloaded libusb1-sys v0.7.0
[INFO] [stderr]   Downloaded cc v1.2.20
[INFO] [stderr]   Downloaded imgref v1.11.0
[INFO] [stderr]   Downloaded cfg-expr v0.15.8
[INFO] [stderr]   Downloaded neli v0.6.5
[INFO] [stderr]   Downloaded local-ip-address v0.6.4
[INFO] [stderr]   Downloaded av1-grain v0.2.3
[INFO] [stderr]   Downloaded bitstream-io v2.6.0
[INFO] [stderr]   Downloaded arbitrary v1.4.1
[INFO] [stderr]   Downloaded zune-jpeg v0.4.14
[INFO] [stderr]   Downloaded lebe v0.5.2
[INFO] [stderr]   Downloaded zune-inflate v0.2.54
[INFO] [stderr]   Downloaded avif-serialize v0.8.3
[INFO] [stderr]   Downloaded built v0.7.7
[INFO] [stderr]   Downloaded target-lexicon v0.12.16
[INFO] [stderr]   Downloaded turbojpeg v1.3.2
[INFO] [stderr]   Downloaded toml_datetime v0.6.9
[INFO] [stderr]   Downloaded system-deps v6.2.2
[INFO] [stderr]   Downloaded aligned-vec v0.5.0
[INFO] [stderr]   Downloaded v_frame v0.3.8
[INFO] [stderr]   Downloaded arraydeque v0.5.1
[INFO] [stderr]   Downloaded ctrlc v3.4.6
[INFO] [stderr]   Downloaded neli-proc-macros v0.1.4
[INFO] [stderr]   Downloaded toml_write v0.1.1
[INFO] [stderr]   Downloaded simd_helpers v0.1.0
[INFO] [stderr]   Downloaded turbojpeg-sys v1.1.1
[INFO] [stderr]   Downloaded ravif v0.11.12
[INFO] [stderr]   Downloaded zune-core v0.4.12
[INFO] [stderr]   Downloaded rav1e v0.7.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b1a603d183c8ed38d2939bec5fb47577951cb174270d22ced2d29efec92265aa
[INFO] running `Command { std: "docker" "start" "-a" "b1a603d183c8ed38d2939bec5fb47577951cb174270d22ced2d29efec92265aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b1a603d183c8ed38d2939bec5fb47577951cb174270d22ced2d29efec92265aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b1a603d183c8ed38d2939bec5fb47577951cb174270d22ced2d29efec92265aa", kill_on_drop: false }`
[INFO] [stdout] b1a603d183c8ed38d2939bec5fb47577951cb174270d22ced2d29efec92265aa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18a2fc54b97027dedf15cef3457814b1b8a9bc2673249dba60deee697d358240
[INFO] running `Command { std: "docker" "start" "-a" "18a2fc54b97027dedf15cef3457814b1b8a9bc2673249dba60deee697d358240", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling cc v1.2.20
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling crunchy v0.2.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling built v0.7.7
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling bitstream-io v2.6.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling indexmap v2.9.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling quick-xml v0.30.0
[INFO] [stderr]    Compiling avif-serialize v0.8.3
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling const-random v0.1.18
[INFO] [stderr]    Compiling dlv-list v0.5.2
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]    Compiling turbojpeg-sys v1.1.1
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling toml_write v0.1.1
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling winnow v0.7.8
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling xcb v1.5.0
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling image-webp v0.2.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling ordered-multimap v0.7.3
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling rusb v0.9.4
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling rust-ini v0.20.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling gcd v2.3.0
[INFO] [stderr]    Compiling pathdiff v0.2.3
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling sysinfo v0.30.13
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling pest v2.8.0
[INFO] [stderr]    Compiling pest_meta v2.8.0
[INFO] [stderr]    Compiling pest_generator v2.8.0
[INFO] [stderr]    Compiling pest_derive v2.8.0
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.9
[INFO] [stderr]    Compiling json5 v0.4.1
[INFO] [stderr]    Compiling ron v0.8.1
[INFO] [stderr]    Compiling toml_edit v0.22.26
[INFO] [stderr]    Compiling neli-proc-macros v0.1.4
[INFO] [stderr]    Compiling neli v0.6.5
[INFO] [stderr]    Compiling ravif v0.11.12
[INFO] [stderr]    Compiling ctrlc v3.4.6
[INFO] [stderr]    Compiling image v0.25.6
[INFO] [stderr]    Compiling local-ip-address v0.6.4
[INFO] [stderr]    Compiling toml v0.8.22
[INFO] [stderr]    Compiling config v0.14.1
[INFO] [stderr]    Compiling turbojpeg v1.3.2
[INFO] [stderr]    Compiling gabinator_desktop_r v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DeviceList`
[INFO] [stdout]   --> src/usb.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     GlobalContext, TransferType,DeviceList, Recipient, RequestType,request_type,
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ByteOrder` and `LittleEndian`
[INFO] [stdout]   --> src/usb.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `endpoint` should have an upper camel case name
[INFO] [stdout]    --> src/usb.rs:439:12
[INFO] [stdout]     |
[INFO] [stdout] 439 | pub struct endpoint {
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to upper camel case: `Endpoint`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `capture::capture_screen`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use capture::capture_screen;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeviceHandle` and `GlobalContext`
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rusb::{DeviceHandle, GlobalContext};
[INFO] [stdout]    |            ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `capture_and_send` and `find_compatible_usb`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use usb::{capture_and_send, find_compatible_usb};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `RgbaImage`
[INFO] [stdout]  --> src/tcp.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::{ImageBuffer, RgbaImage};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `turbojpeg::Image`
[INFO] [stdout]  --> src/tcp.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use turbojpeg::Image;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_number`
[INFO] [stdout]   --> src/capture.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (conn, window_number) = Connection::connect(None)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_content` is never read
[INFO] [stdout]   --> src/error.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut new_content = String::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/usb.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Err(a) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/usb.rs:143:16
[INFO] [stdout]     |
[INFO] [stdout] 143 |             Ok(a) => {
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]    --> src/usb.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 258 |     device: &DeviceHandle<rusb::GlobalContext>,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/usb.rs:493:13
[INFO] [stdout]     |
[INFO] [stdout] 493 |         Err(a) => return Some(rusb::Error::Other),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/tcp.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let config = Logger::get_config_content();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test`
[INFO] [stdout]   --> src/tcp.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut test = String::new();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tcp.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut test = String::new();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |         |a: &String| {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |         |a: &String| {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:158:16
[INFO] [stdout]     |
[INFO] [stdout] 158 |             Ok(a) => {
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |             Err(a) => return false,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:199:10
[INFO] [stdout]     |
[INFO] [stdout] 199 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:237:32
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   Ok(a) => Logger::log(
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:242:33
[INFO] [stdout]     |
[INFO] [stdout] 242 | ...                   Err(a) => Logger::log(
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:232:10
[INFO] [stdout]     |
[INFO] [stdout] 232 |         |a: &String| {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:267:10
[INFO] [stdout]     |
[INFO] [stdout] 267 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:310:26
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     Some(a) => {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:307:10
[INFO] [stdout]     |
[INFO] [stdout] 307 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ unused variable
[INFO] [stdout] ...
[INFO] [stdout] 312 |                             "Error sending image {a}",
[INFO] [stdout]     |                             ------------------------- you might have meant to use string interpolation in this string literal
[INFO] [stdout]     |
[INFO] [stdout] help: string interpolation only works in `format!` invocations
[INFO] [stdout]     |
[INFO] [stdout] 312 |                             format!("Error sending image {a}"),
[INFO] [stdout]     |                             ++++++++                         +
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 307 |         |_a: &String| -> bool {
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEBUG_MESSAGE` is never used
[INFO] [stdout]    --> src/error.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 159 | static DEBUG_MESSAGE: bool = true;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USB_ACCESSORY_VENDOR_ID` is never used
[INFO] [stdout]  --> src/mod_aoa.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const USB_ACCESSORY_VENDOR_ID: u16 = 0x18D1;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USB_ACCESSORY_PRODUCT_ID` is never used
[INFO] [stdout]  --> src/mod_aoa.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const USB_ACCESSORY_PRODUCT_ID: u16 = 0x2D00;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USB_ACCESSORY_ADB_PRODUCT_ID` is never used
[INFO] [stdout]  --> src/mod_aoa.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const USB_ACCESSORY_ADB_PRODUCT_ID: u16 = 0x2D01;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCESSORY_GET_PROTOCOL` is never used
[INFO] [stdout]   --> src/mod_aoa.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const ACCESSORY_GET_PROTOCOL: u8 = 0x33;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/error.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         opened_file.write_all(new_content.as_bytes());
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let _ = opened_file.write_all(new_content.as_bytes());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newLogger` should have a snake case name
[INFO] [stdout]    --> src/error.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn newLogger<S: ToString>(
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `new_logger`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newUSB` should have a snake case name
[INFO] [stdout]    --> src/error.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn newUSB<S: ToString>(
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `new_usb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newCapture` should have a snake case name
[INFO] [stdout]    --> src/error.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn newCapture<S: ToString>(
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to snake case: `new_capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newMain` should have a snake case name
[INFO] [stdout]    --> src/error.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 |     pub fn newMain<S: ToString>(
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `new_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newLogger` should have a snake case name
[INFO] [stdout]    --> src/error.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub fn newLogger<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `new_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newUSB` should have a snake case name
[INFO] [stdout]    --> src/error.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 |     pub fn newUSB<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `new_usb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newCapture` should have a snake case name
[INFO] [stdout]    --> src/error.rs:219:12
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn newCapture<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to snake case: `new_capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newMain` should have a snake case name
[INFO] [stdout]    --> src/error.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn newMain<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `new_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_to_open_AOA_device` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:211:8
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub fn try_to_open_AOA_device() -> Result<DeviceHandle<rusb::GlobalContext>, error::GabinatorError>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_to_open_aoa_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_in_AOA` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:257:4
[INFO] [stdout]     |
[INFO] [stdout] 257 | fn is_in_AOA(
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `is_in_aoa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_AOA_version` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:280:4
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn get_AOA_version(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_aoa_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `version_AOA` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |     let version_AOA = (version_buffer[1] << 7) | version_buffer[0];
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `version_aoa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_AOA_device` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn initialize_AOA_device(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialize_aoa_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_USB_data` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:498:8
[INFO] [stdout]     |
[INFO] [stdout] 498 | pub fn send_USB_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `send_usb_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tcp.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         total_buffer.write_all(&buffer);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = total_buffer.write_all(&buffer);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s
[INFO] running `Command { std: "docker" "inspect" "18a2fc54b97027dedf15cef3457814b1b8a9bc2673249dba60deee697d358240", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18a2fc54b97027dedf15cef3457814b1b8a9bc2673249dba60deee697d358240", kill_on_drop: false }`
[INFO] [stdout] 18a2fc54b97027dedf15cef3457814b1b8a9bc2673249dba60deee697d358240
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 864369c299c0ac16b4f1800eda535b5624e228fa13f55075271909e3769494b5
[INFO] running `Command { std: "docker" "start" "-a" "864369c299c0ac16b4f1800eda535b5624e228fa13f55075271909e3769494b5", kill_on_drop: false }`
[INFO] [stderr]    Compiling gabinator_desktop_r v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DeviceList`
[INFO] [stdout]   --> src/usb.rs:19:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     GlobalContext, TransferType,DeviceList, Recipient, RequestType,request_type,
[INFO] [stdout]    |                                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ByteOrder` and `LittleEndian`
[INFO] [stdout]   --> src/usb.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | use byteorder::{ByteOrder, LittleEndian};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `endpoint` should have an upper camel case name
[INFO] [stdout]    --> src/usb.rs:439:12
[INFO] [stdout]     |
[INFO] [stdout] 439 | pub struct endpoint {
[INFO] [stdout]     |            ^^^^^^^^ help: convert the identifier to upper camel case: `Endpoint`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `capture::capture_screen`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use capture::capture_screen;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DeviceHandle` and `GlobalContext`
[INFO] [stdout]   --> src/main.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rusb::{DeviceHandle, GlobalContext};
[INFO] [stdout]    |            ^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `capture_and_send` and `find_compatible_usb`
[INFO] [stdout]   --> src/main.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | use usb::{capture_and_send, find_compatible_usb};
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ImageBuffer` and `RgbaImage`
[INFO] [stdout]  --> src/tcp.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use image::{ImageBuffer, RgbaImage};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `turbojpeg::Image`
[INFO] [stdout]  --> src/tcp.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use turbojpeg::Image;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `window_number`
[INFO] [stdout]   --> src/capture.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let (conn, window_number) = Connection::connect(None)?;
[INFO] [stdout]    |                ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_number`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `new_content` is never read
[INFO] [stdout]   --> src/error.rs:63:17
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let mut new_content = String::new();
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/usb.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         Err(a) => {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/usb.rs:143:16
[INFO] [stdout]     |
[INFO] [stdout] 143 |             Ok(a) => {
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `device`
[INFO] [stdout]    --> src/usb.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 258 |     device: &DeviceHandle<rusb::GlobalContext>,
[INFO] [stdout]     |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/usb.rs:493:13
[INFO] [stdout]     |
[INFO] [stdout] 493 |         Err(a) => return Some(rusb::Error::Other),
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/tcp.rs:82:9
[INFO] [stdout]    |
[INFO] [stdout] 82 |     let config = Logger::get_config_content();
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `test`
[INFO] [stdout]   --> src/tcp.rs:94:21
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut test = String::new();
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/tcp.rs:94:17
[INFO] [stdout]    |
[INFO] [stdout] 94 |             let mut test = String::new();
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |         |a: &String| {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/main.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 |         |a: &String| {
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:158:16
[INFO] [stdout]     |
[INFO] [stdout] 158 |             Ok(a) => {
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:164:17
[INFO] [stdout]     |
[INFO] [stdout] 164 |             Err(a) => return false,
[INFO] [stdout]     |                 ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:175:10
[INFO] [stdout]     |
[INFO] [stdout] 175 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:187:10
[INFO] [stdout]     |
[INFO] [stdout] 187 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:199:10
[INFO] [stdout]     |
[INFO] [stdout] 199 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:237:32
[INFO] [stdout]     |
[INFO] [stdout] 237 | ...                   Ok(a) => Logger::log(
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:242:33
[INFO] [stdout]     |
[INFO] [stdout] 242 | ...                   Err(a) => Logger::log(
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:232:10
[INFO] [stdout]     |
[INFO] [stdout] 232 |         |a: &String| {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:267:10
[INFO] [stdout]     |
[INFO] [stdout] 267 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:310:26
[INFO] [stdout]     |
[INFO] [stdout] 310 |                     Some(a) => {
[INFO] [stdout]     |                          ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/main.rs:307:10
[INFO] [stdout]     |
[INFO] [stdout] 307 |         |a: &String| -> bool {
[INFO] [stdout]     |          ^ unused variable
[INFO] [stdout] ...
[INFO] [stdout] 312 |                             "Error sending image {a}",
[INFO] [stdout]     |                             ------------------------- you might have meant to use string interpolation in this string literal
[INFO] [stdout]     |
[INFO] [stdout] help: string interpolation only works in `format!` invocations
[INFO] [stdout]     |
[INFO] [stdout] 312 |                             format!("Error sending image {a}"),
[INFO] [stdout]     |                             ++++++++                         +
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]     |
[INFO] [stdout] 307 |         |_a: &String| -> bool {
[INFO] [stdout]     |          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DEBUG_MESSAGE` is never used
[INFO] [stdout]    --> src/error.rs:159:8
[INFO] [stdout]     |
[INFO] [stdout] 159 | static DEBUG_MESSAGE: bool = true;
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USB_ACCESSORY_VENDOR_ID` is never used
[INFO] [stdout]  --> src/mod_aoa.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub const USB_ACCESSORY_VENDOR_ID: u16 = 0x18D1;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USB_ACCESSORY_PRODUCT_ID` is never used
[INFO] [stdout]  --> src/mod_aoa.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub const USB_ACCESSORY_PRODUCT_ID: u16 = 0x2D00;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `USB_ACCESSORY_ADB_PRODUCT_ID` is never used
[INFO] [stdout]  --> src/mod_aoa.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub const USB_ACCESSORY_ADB_PRODUCT_ID: u16 = 0x2D01;
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ACCESSORY_GET_PROTOCOL` is never used
[INFO] [stdout]   --> src/mod_aoa.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub const ACCESSORY_GET_PROTOCOL: u8 = 0x33;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/error.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |         opened_file.write_all(new_content.as_bytes());
[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)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let _ = opened_file.write_all(new_content.as_bytes());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newLogger` should have a snake case name
[INFO] [stdout]    --> src/error.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn newLogger<S: ToString>(
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `new_logger`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newUSB` should have a snake case name
[INFO] [stdout]    --> src/error.rs:172:12
[INFO] [stdout]     |
[INFO] [stdout] 172 |     pub fn newUSB<S: ToString>(
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `new_usb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newCapture` should have a snake case name
[INFO] [stdout]    --> src/error.rs:181:12
[INFO] [stdout]     |
[INFO] [stdout] 181 |     pub fn newCapture<S: ToString>(
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to snake case: `new_capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newMain` should have a snake case name
[INFO] [stdout]    --> src/error.rs:190:12
[INFO] [stdout]     |
[INFO] [stdout] 190 |     pub fn newMain<S: ToString>(
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `new_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newLogger` should have a snake case name
[INFO] [stdout]    --> src/error.rs:209:12
[INFO] [stdout]     |
[INFO] [stdout] 209 |     pub fn newLogger<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^ help: convert the identifier to snake case: `new_logger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newUSB` should have a snake case name
[INFO] [stdout]    --> src/error.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 |     pub fn newUSB<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^ help: convert the identifier to snake case: `new_usb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newCapture` should have a snake case name
[INFO] [stdout]    --> src/error.rs:219:12
[INFO] [stdout]     |
[INFO] [stdout] 219 |     pub fn newCapture<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^ help: convert the identifier to snake case: `new_capture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `newMain` should have a snake case name
[INFO] [stdout]    --> src/error.rs:224:12
[INFO] [stdout]     |
[INFO] [stdout] 224 |     pub fn newMain<S: ToString>(message: S, config: Option<HashMap<String, String>>) -> Self {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `new_main`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `try_to_open_AOA_device` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:211:8
[INFO] [stdout]     |
[INFO] [stdout] 211 | pub fn try_to_open_AOA_device() -> Result<DeviceHandle<rusb::GlobalContext>, error::GabinatorError>
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `try_to_open_aoa_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_in_AOA` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:257:4
[INFO] [stdout]     |
[INFO] [stdout] 257 | fn is_in_AOA(
[INFO] [stdout]     |    ^^^^^^^^^ help: convert the identifier to snake case: `is_in_aoa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_AOA_version` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:280:4
[INFO] [stdout]     |
[INFO] [stdout] 280 | fn get_AOA_version(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_aoa_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `version_AOA` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:303:9
[INFO] [stdout]     |
[INFO] [stdout] 303 |     let version_AOA = (version_buffer[1] << 7) | version_buffer[0];
[INFO] [stdout]     |         ^^^^^^^^^^^ help: convert the identifier to snake case: `version_aoa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `initialize_AOA_device` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:319:8
[INFO] [stdout]     |
[INFO] [stdout] 319 | pub fn initialize_AOA_device(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `initialize_aoa_device`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_USB_data` should have a snake case name
[INFO] [stdout]    --> src/usb.rs:498:8
[INFO] [stdout]     |
[INFO] [stdout] 498 | pub fn send_USB_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `send_usb_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/tcp.rs:90:9
[INFO] [stdout]    |
[INFO] [stdout] 90 |         total_buffer.write_all(&buffer);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let _ = total_buffer.write_all(&buffer);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.98s
[INFO] running `Command { std: "docker" "inspect" "864369c299c0ac16b4f1800eda535b5624e228fa13f55075271909e3769494b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "864369c299c0ac16b4f1800eda535b5624e228fa13f55075271909e3769494b5", kill_on_drop: false }`
[INFO] [stdout] 864369c299c0ac16b4f1800eda535b5624e228fa13f55075271909e3769494b5
