[INFO] fetching crate adbutils 0.1.1...
[INFO] checking adbutils-0.1.1 against master#b0696a5160711c068cb1f01b7437db7990d15750 for pr-121848
[INFO] extracting crate adbutils 0.1.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate adbutils 0.1.1 on toolchain b0696a5160711c068cb1f01b7437db7990d15750
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate adbutils 0.1.1
[INFO] finished tweaking crates.io crate adbutils 0.1.1
[INFO] tweaked toml for crates.io crate adbutils 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded path-dedot v3.1.1
[INFO] [stderr]   Downloaded path-absolutize v3.1.1
[INFO] [stderr]   Downloaded curl v0.4.46
[INFO] [stderr]   Downloaded curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]   Downloaded libz-sys v1.1.15
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1daca084c1f0f61e2df9c0fe80f0e001ccd11ca32b11299353666f2a7d317798
[INFO] running `Command { std: "docker" "start" "-a" "1daca084c1f0f61e2df9c0fe80f0e001ccd11ca32b11299353666f2a7d317798", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1daca084c1f0f61e2df9c0fe80f0e001ccd11ca32b11299353666f2a7d317798", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1daca084c1f0f61e2df9c0fe80f0e001ccd11ca32b11299353666f2a7d317798", kill_on_drop: false }`
[INFO] [stdout] 1daca084c1f0f61e2df9c0fe80f0e001ccd11ca32b11299353666f2a7d317798
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b0696a5160711c068cb1f01b7437db7990d15750" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9d24f9f6a4c4dd662f0c57f36cf1ab8adb369e9c6de3d08a5be7b1cd63a8b4b
[INFO] running `Command { std: "docker" "start" "-a" "e9d24f9f6a4c4dd662f0c57f36cf1ab8adb369e9c6de3d08a5be7b1cd63a8b4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling curl v0.4.46
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking path-dedot v3.1.1
[INFO] [stderr]     Checking path-absolutize v3.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling libz-sys v1.1.15
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking adbutils v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/client.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::AdbError`
[INFO] [stdout]  --> src/device.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::AdbError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/client.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::AdbError`
[INFO] [stdout]  --> src/device.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::AdbError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]   --> src/client.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/client.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[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]   --> src/client.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/client.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raise_err`
[INFO] [stdout]    --> src/client.rs:163:42
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn dis_connect(self, addr: &str, raise_err: bool) -> String {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raise_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raise_err`
[INFO] [stdout]    --> src/client.rs:163:42
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn dis_connect(self, addr: &str, raise_err: bool) -> String {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raise_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/client.rs:442:21
[INFO] [stdout]     |
[INFO] [stdout] 442 |                 Err(error) => String::new(),
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:436:17
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut origin_buffer = self.read(4096);
[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: `cmd`
[INFO] [stdout]   --> src/device.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let cmd = key_map.get(&status).unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/client.rs:442:21
[INFO] [stdout]     |
[INFO] [stdout] 442 |                 Err(error) => String::new(),
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:436:17
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut origin_buffer = self.read(4096);
[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: `text`
[INFO] [stdout]   --> src/device.rs:98:45
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn escape_special_characters(&self, text: &str) {}
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/device.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let cmd = key_map.get(&status).unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/device.rs:98:45
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn escape_special_characters(&self, text: &str) {}
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/device.rs:265:27
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn adb_out(&self, cmd: &str) -> String {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DENT` is never used
[INFO] [stdout]   --> src/client.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const DENT: &str = "DENT";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DONE` is never used
[INFO] [stdout]   --> src/client.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const DONE: &str = "DONE";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAC` is never used
[INFO] [stdout]   --> src/client.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const MAC: &str = "macos";
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_server` is never used
[INFO] [stdout]   --> src/client.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]    --> src/client.rs:345:8
[INFO] [stdout]     |
[INFO] [stdout] 269 | impl AdbConnection {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn close(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sync` is never constructed
[INFO] [stdout]    --> src/device.rs:302:8
[INFO] [stdout]     |
[INFO] [stdout] 302 | struct Sync {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/device.rs:265:27
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn adb_out(&self, cmd: &str) -> String {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DENT` is never used
[INFO] [stdout]   --> src/client.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const DENT: &str = "DENT";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DONE` is never used
[INFO] [stdout]   --> src/client.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const DONE: &str = "DONE";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAC` is never used
[INFO] [stdout]   --> src/client.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const MAC: &str = "macos";
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_server` is never used
[INFO] [stdout]   --> src/client.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]    --> src/client.rs:345:8
[INFO] [stdout]     |
[INFO] [stdout] 269 | impl AdbConnection {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn close(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sync` is never constructed
[INFO] [stdout]    --> src/device.rs:302:8
[INFO] [stdout]     |
[INFO] [stdout] 302 | struct Sync {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/device.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             conn.check_oky();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |             let _ = conn.check_oky();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/device.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             conn.check_oky();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |             let _ = conn.check_oky();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.04s
[INFO] running `Command { std: "docker" "inspect" "e9d24f9f6a4c4dd662f0c57f36cf1ab8adb369e9c6de3d08a5be7b1cd63a8b4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d24f9f6a4c4dd662f0c57f36cf1ab8adb369e9c6de3d08a5be7b1cd63a8b4b", kill_on_drop: false }`
[INFO] [stdout] e9d24f9f6a4c4dd662f0c57f36cf1ab8adb369e9c6de3d08a5be7b1cd63a8b4b
[INFO] checking adbutils-0.1.1 against try#bfe97fcae016881ad333f0ff8cea2cadb9cf136c for pr-121848
[INFO] extracting crate adbutils 0.1.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate adbutils 0.1.1 on toolchain bfe97fcae016881ad333f0ff8cea2cadb9cf136c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate adbutils 0.1.1
[INFO] finished tweaking crates.io crate adbutils 0.1.1
[INFO] tweaked toml for crates.io crate adbutils 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc5179f811f514d31481b863f733fb6616625a0bbb72e0bf05f6871827b94184
[INFO] running `Command { std: "docker" "start" "-a" "cc5179f811f514d31481b863f733fb6616625a0bbb72e0bf05f6871827b94184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc5179f811f514d31481b863f733fb6616625a0bbb72e0bf05f6871827b94184", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc5179f811f514d31481b863f733fb6616625a0bbb72e0bf05f6871827b94184", kill_on_drop: false }`
[INFO] [stdout] cc5179f811f514d31481b863f733fb6616625a0bbb72e0bf05f6871827b94184
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "+bfe97fcae016881ad333f0ff8cea2cadb9cf136c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fd362d9c00a947f502b13e3c36fd011b5f7765db980a3441ef0cec83350c7627
[INFO] running `Command { std: "docker" "start" "-a" "fd362d9c00a947f502b13e3c36fd011b5f7765db980a3441ef0cec83350c7627", kill_on_drop: false }`
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling cc v1.0.90
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling curl v0.4.46
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking path-dedot v3.1.1
[INFO] [stderr]     Checking path-absolutize v3.1.1
[INFO] [stderr]    Compiling libz-sys v1.1.15
[INFO] [stderr]    Compiling openssl-sys v0.9.101
[INFO] [stderr]    Compiling curl-sys v0.4.72+curl-8.6.0
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking adbutils v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/client.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::AdbError`
[INFO] [stdout]  --> src/device.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::AdbError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]  --> src/client.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{Error, Read, Write};
[INFO] [stdout]   |               ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::error::AdbError`
[INFO] [stdout]  --> src/device.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::error::AdbError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]   --> src/client.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/client.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[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]   --> src/client.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `port`
[INFO] [stdout]   --> src/client.rs:31:29
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |                             ^^^^ help: if this is intentional, prefix it with an underscore: `_port`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raise_err`
[INFO] [stdout]    --> src/client.rs:163:42
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn dis_connect(self, addr: &str, raise_err: bool) -> String {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raise_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `raise_err`
[INFO] [stdout]    --> src/client.rs:163:42
[INFO] [stdout]     |
[INFO] [stdout] 163 |     pub fn dis_connect(self, addr: &str, raise_err: bool) -> String {
[INFO] [stdout]     |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raise_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]    --> src/client.rs:442:21
[INFO] [stdout]     |
[INFO] [stdout] 442 |                 Err(error) => String::new(),
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:436:17
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut origin_buffer = self.read(4096);
[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: `error`
[INFO] [stdout]    --> src/client.rs:442:21
[INFO] [stdout]     |
[INFO] [stdout] 442 |                 Err(error) => String::new(),
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/client.rs:436:17
[INFO] [stdout]     |
[INFO] [stdout] 436 |             let mut origin_buffer = self.read(4096);
[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: `cmd`
[INFO] [stdout]   --> src/device.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let cmd = key_map.get(&status).unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]   --> src/device.rs:46:13
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let cmd = key_map.get(&status).unwrap();
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/device.rs:98:45
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn escape_special_characters(&self, text: &str) {}
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> src/device.rs:98:45
[INFO] [stdout]    |
[INFO] [stdout] 98 |     pub fn escape_special_characters(&self, text: &str) {}
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/device.rs:265:27
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn adb_out(&self, cmd: &str) -> String {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/device.rs:265:27
[INFO] [stdout]     |
[INFO] [stdout] 265 |     pub fn adb_out(&self, cmd: &str) -> String {
[INFO] [stdout]     |                           ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DENT` is never used
[INFO] [stdout]   --> src/client.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const DENT: &str = "DENT";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DONE` is never used
[INFO] [stdout]   --> src/client.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const DONE: &str = "DONE";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAC` is never used
[INFO] [stdout]   --> src/client.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const MAC: &str = "macos";
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_server` is never used
[INFO] [stdout]   --> src/client.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]    --> src/client.rs:345:8
[INFO] [stdout]     |
[INFO] [stdout] 269 | impl AdbConnection {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn close(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sync` is never constructed
[INFO] [stdout]    --> src/device.rs:302:8
[INFO] [stdout]     |
[INFO] [stdout] 302 | struct Sync {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DENT` is never used
[INFO] [stdout]   --> src/client.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 | const DENT: &str = "DENT";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DONE` is never used
[INFO] [stdout]   --> src/client.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 | const DONE: &str = "DONE";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAC` is never used
[INFO] [stdout]   --> src/client.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const MAC: &str = "macos";
[INFO] [stdout]    |       ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_server` is never used
[INFO] [stdout]   --> src/client.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn check_server(host: &str, port: usize) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `close` is never used
[INFO] [stdout]    --> src/client.rs:345:8
[INFO] [stdout]     |
[INFO] [stdout] 269 | impl AdbConnection {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 345 |     fn close(&self) {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Sync` is never constructed
[INFO] [stdout]    --> src/device.rs:302:8
[INFO] [stdout]     |
[INFO] [stdout] 302 | struct Sync {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/device.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             conn.check_oky();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |             let _ = conn.check_oky();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/device.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |             conn.check_oky();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 220 |             let _ = conn.check_oky();
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.91s
[INFO] running `Command { std: "docker" "inspect" "fd362d9c00a947f502b13e3c36fd011b5f7765db980a3441ef0cec83350c7627", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd362d9c00a947f502b13e3c36fd011b5f7765db980a3441ef0cec83350c7627", kill_on_drop: false }`
[INFO] [stdout] fd362d9c00a947f502b13e3c36fd011b5f7765db980a3441ef0cec83350c7627
