[INFO] cloning repository https://github.com/SevenBee/lazy_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SevenBee/lazy_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSevenBee%2Flazy_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSevenBee%2Flazy_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e263eb49ebd7b8f9730b9cbfd3b10d172e86c63 [INFO] checking SevenBee/lazy_tools against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSevenBee%2Flazy_tools" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SevenBee/lazy_tools 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 git repo https://github.com/SevenBee/lazy_tools [INFO] finished tweaking git repo https://github.com/SevenBee/lazy_tools [INFO] tweaked toml for git repo https://github.com/SevenBee/lazy_tools written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SevenBee/lazy_tools 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] a7361150569403d7d97f5a2e88189c12c62b5d6cfbe46092984d8e672d14c7c3 [INFO] running `Command { std: "docker" "start" "-a" "a7361150569403d7d97f5a2e88189c12c62b5d6cfbe46092984d8e672d14c7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7361150569403d7d97f5a2e88189c12c62b5d6cfbe46092984d8e672d14c7c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7361150569403d7d97f5a2e88189c12c62b5d6cfbe46092984d8e672d14c7c3", kill_on_drop: false }` [INFO] [stdout] a7361150569403d7d97f5a2e88189c12c62b5d6cfbe46092984d8e672d14c7c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b94fc46f39ae38e4cad3be2565d80bacdb8291cfbf5babadfb1668759ee5854f [INFO] running `Command { std: "docker" "start" "-a" "b94fc46f39ae38e4cad3be2565d80bacdb8291cfbf5babadfb1668759ee5854f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking adb_helper v0.0.0 (/opt/rustwide/workdir/adb_helper) [INFO] [stdout] warning: variant `device` should have an upper camel case name [INFO] [stdout] --> adb_helper/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `offline` should have an upper camel case name [INFO] [stdout] --> adb_helper/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | offline, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Offline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bootloader` should have an upper camel case name [INFO] [stdout] --> adb_helper/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | bootloader, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Bootloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> adb_helper/src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 77 | / match OSType::init(){ [INFO] [stdout] 78 | | OSType::Windows => todo!(), [INFO] [stdout] 79 | | OSType::Linux => todo!(), [INFO] [stdout] 80 | | OSType::Undefine => todo!(), [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 82 | ADB::download_adb(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `device` should have an upper camel case name [INFO] [stdout] --> adb_helper/src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | device, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Device` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `offline` should have an upper camel case name [INFO] [stdout] --> adb_helper/src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | offline, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Offline` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `bootloader` should have an upper camel case name [INFO] [stdout] --> adb_helper/src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | bootloader, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Bootloader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> adb_helper/src/lib.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 77 | / match OSType::init(){ [INFO] [stdout] 78 | | OSType::Windows => todo!(), [INFO] [stdout] 79 | | OSType::Linux => todo!(), [INFO] [stdout] 80 | | OSType::Undefine => todo!(), [INFO] [stdout] 81 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 82 | ADB::download_adb(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> adb_helper/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let url = match OSType::init() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> adb_helper/src/lib.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let url = match OSType::init() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_url` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> adb_helper/src/lib.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn connect(self, host: Ipv4Addr, port: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> adb_helper/src/lib.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn connect(self, host: Ipv4Addr, port: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> adb_helper/src/lib.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn disconnect(self, host: Ipv4Addr, port: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> adb_helper/src/lib.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn disconnect(self, host: Ipv4Addr, port: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn screenshot(&self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn tap(&self, device: &Device, point: Point) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> adb_helper/src/lib.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn tap(&self, device: &Device, point: Point) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> adb_helper/src/lib.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let output = match ADB::command_base().arg("start-server").output() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push(device: Device, local: PathBuf, remote: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> adb_helper/src/lib.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push(device: Device, local: PathBuf, remote: PathBuf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> adb_helper/src/lib.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push(device: Device, local: PathBuf, remote: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn pull(device: Device, remote: PathBuf, local: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> adb_helper/src/lib.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn pull(device: Device, remote: PathBuf, local: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> adb_helper/src/lib.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn pull(device: Device, remote: PathBuf, local: PathBuf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn shell(device: Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn install(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package` [INFO] [stdout] --> adb_helper/src/lib.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn install(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn uninstall(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package` [INFO] [stdout] --> adb_helper/src/lib.rs:203:38 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn uninstall(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> adb_helper/src/lib.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn tcpip(port: u16) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Package` is never constructed [INFO] [stdout] --> adb_helper/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Package { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> adb_helper/src/lib.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn connect(self, host: Ipv4Addr, port: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> adb_helper/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | searial: String, [INFO] [stdout] 31 | status: DeviceStatus, // host: Ipv4Addr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> adb_helper/src/lib.rs:131:42 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn connect(self, host: Ipv4Addr, port: u16) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `host` [INFO] [stdout] --> adb_helper/src/lib.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn disconnect(self, host: Ipv4Addr, port: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> adb_helper/src/lib.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn disconnect(self, host: Ipv4Addr, port: Option) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn screenshot(&self, device: &Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:162:23 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn tap(&self, device: &Device, point: Point) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> adb_helper/src/lib.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn tap(&self, device: &Device, point: Point) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> adb_helper/src/lib.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | let output = match ADB::command_base().arg("start-server").output() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push(device: Device, local: PathBuf, remote: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> adb_helper/src/lib.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push(device: Device, local: PathBuf, remote: PathBuf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> adb_helper/src/lib.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn push(device: Device, local: PathBuf, remote: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:190:17 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn pull(device: Device, remote: PathBuf, local: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote` [INFO] [stdout] --> adb_helper/src/lib.rs:190:33 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn pull(device: Device, remote: PathBuf, local: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local` [INFO] [stdout] --> adb_helper/src/lib.rs:190:50 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn pull(device: Device, remote: PathBuf, local: PathBuf) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn shell(device: Device) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn install(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package` [INFO] [stdout] --> adb_helper/src/lib.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn install(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wqmt v0.0.0 (/opt/rustwide/workdir/wqmt) [INFO] [stdout] warning: unused variable: `device` [INFO] [stdout] --> adb_helper/src/lib.rs:203:22 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn uninstall(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `package` [INFO] [stdout] --> adb_helper/src/lib.rs:203:38 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn uninstall(device: Device, package: PathBuf) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> adb_helper/src/lib.rs:211:18 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn tcpip(port: u16) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Package` is never constructed [INFO] [stdout] --> adb_helper/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct Package { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `status` is never read [INFO] [stdout] --> adb_helper/src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Device { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 30 | searial: String, [INFO] [stdout] 31 | status: DeviceStatus, // host: Ipv4Addr, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Device` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Device`, `Point`, `search_port` [INFO] [stdout] --> wqmt/src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use adb_helper::{ADB, Device, Point, search_port}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `process::Command`, `thread::sleep`, `time::Duration` [INFO] [stdout] --> wqmt/src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{process::Command, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Device`, `Point`, `search_port` [INFO] [stdout] --> wqmt/src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use adb_helper::{ADB, Device, Point, search_port}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `process::Command`, `thread::sleep`, `time::Duration` [INFO] [stdout] --> wqmt/src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{process::Command, thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking arknights v0.0.0 (/opt/rustwide/workdir/arknights) [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> arknights/src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn login(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operator` is never constructed [INFO] [stdout] --> arknights/src/operator.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Operator{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rarity` is never used [INFO] [stdout] --> arknights/src/operator.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Rarity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Profession` is never used [INFO] [stdout] --> arknights/src/operator.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Profession { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInfo` is never constructed [INFO] [stdout] --> arknights/src/user_info.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserInfo{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sanity` is never constructed [INFO] [stdout] --> arknights/src/user_info.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Sanity{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `login` is never used [INFO] [stdout] --> arknights/src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn login(){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operator` is never constructed [INFO] [stdout] --> arknights/src/operator.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Operator{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rarity` is never used [INFO] [stdout] --> arknights/src/operator.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum Rarity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Profession` is never used [INFO] [stdout] --> arknights/src/operator.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub enum Profession { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserInfo` is never constructed [INFO] [stdout] --> arknights/src/user_info.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct UserInfo{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sanity` is never constructed [INFO] [stdout] --> arknights/src/user_info.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Sanity{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.56s [INFO] running `Command { std: "docker" "inspect" "b94fc46f39ae38e4cad3be2565d80bacdb8291cfbf5babadfb1668759ee5854f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94fc46f39ae38e4cad3be2565d80bacdb8291cfbf5babadfb1668759ee5854f", kill_on_drop: false }` [INFO] [stdout] b94fc46f39ae38e4cad3be2565d80bacdb8291cfbf5babadfb1668759ee5854f