[INFO] cloning repository https://github.com/xmsociety/adbutils-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xmsociety/adbutils-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmsociety%2Fadbutils-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmsociety%2Fadbutils-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95053111d3c2e73e6b62e1dfb49d446aecfef78d [INFO] checking xmsociety/adbutils-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmsociety%2Fadbutils-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xmsociety/adbutils-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmsociety/adbutils-rs [INFO] finished tweaking git repo https://github.com/xmsociety/adbutils-rs [INFO] tweaked toml for git repo https://github.com/xmsociety/adbutils-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xmsociety/adbutils-rs 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded path-absolutize v3.0.14 [INFO] [stderr] Downloaded path-dedot v3.0.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c35c6d416c0f1587078ff6cdb8c36789fea8e5b71e988f1509117c82c9c48ae7 [INFO] running `Command { std: "docker" "start" "-a" "c35c6d416c0f1587078ff6cdb8c36789fea8e5b71e988f1509117c82c9c48ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c35c6d416c0f1587078ff6cdb8c36789fea8e5b71e988f1509117c82c9c48ae7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c35c6d416c0f1587078ff6cdb8c36789fea8e5b71e988f1509117c82c9c48ae7", kill_on_drop: false }` [INFO] [stdout] c35c6d416c0f1587078ff6cdb8c36789fea8e5b71e988f1509117c82c9c48ae7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c24306b800892d92e5c289c01a596991474eb154165ebb95a87fd550a9bc29e [INFO] running `Command { std: "docker" "start" "-a" "5c24306b800892d92e5c289c01a596991474eb154165ebb95a87fd550a9bc29e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking path-dedot v3.0.18 [INFO] [stderr] Checking path-absolutize v3.0.14 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling curl-sys v0.4.59+curl-7.86.0 [INFO] [stderr] Checking socket2 v0.4.7 [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: `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: `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: 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: 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: 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: 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: 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: `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: 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: 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: 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.94s [INFO] running `Command { std: "docker" "inspect" "5c24306b800892d92e5c289c01a596991474eb154165ebb95a87fd550a9bc29e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c24306b800892d92e5c289c01a596991474eb154165ebb95a87fd550a9bc29e", kill_on_drop: false }` [INFO] [stdout] 5c24306b800892d92e5c289c01a596991474eb154165ebb95a87fd550a9bc29e [INFO] checking xmsociety/adbutils-rs against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxmsociety%2Fadbutils-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xmsociety/adbutils-rs on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xmsociety/adbutils-rs [INFO] finished tweaking git repo https://github.com/xmsociety/adbutils-rs [INFO] tweaked toml for git repo https://github.com/xmsociety/adbutils-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xmsociety/adbutils-rs 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 117cb7d2ced703b456510ef9a0ede3bb35bede536f9345442373d19c4d82f339 [INFO] running `Command { std: "docker" "start" "-a" "117cb7d2ced703b456510ef9a0ede3bb35bede536f9345442373d19c4d82f339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "117cb7d2ced703b456510ef9a0ede3bb35bede536f9345442373d19c4d82f339", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "117cb7d2ced703b456510ef9a0ede3bb35bede536f9345442373d19c4d82f339", kill_on_drop: false }` [INFO] [stdout] 117cb7d2ced703b456510ef9a0ede3bb35bede536f9345442373d19c4d82f339 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0cec223257c46cc0e860f06a4ab5d0a8678457dca21c2d65547dd558116d723 [INFO] running `Command { std: "docker" "start" "-a" "d0cec223257c46cc0e860f06a4ab5d0a8678457dca21c2d65547dd558116d723", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling cc v1.0.76 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking path-dedot v3.0.18 [INFO] [stderr] Checking path-absolutize v3.0.14 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling curl-sys v0.4.59+curl-7.86.0 [INFO] [stderr] Checking socket2 v0.4.7 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut conn = self._connect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | conn.read_string_block().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut conn = self._connect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | conn.read_string_block().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut conn = self._connect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 160 | conn.read_string_block().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 164 | let mut conn = self._connect(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | conn.read_string_block().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 233 | let mut conn = self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | conn.read_string_block().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 275 | let mut conn = self.shell_mixin.open_transport("", time_out); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | AdbConnectionOrString::String(conn.read_until_close().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 233 | let mut conn = self [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 239 | conn.read_string_block().unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/device.rs:281:39 [INFO] [stdout] | [INFO] [stdout] 275 | let mut conn = self.shell_mixin.open_transport("", time_out); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | AdbConnectionOrString::String(conn.read_until_close().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `adbutils` (lib) due to 5 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adbutils` (lib test) due to 5 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0cec223257c46cc0e860f06a4ab5d0a8678457dca21c2d65547dd558116d723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0cec223257c46cc0e860f06a4ab5d0a8678457dca21c2d65547dd558116d723", kill_on_drop: false }` [INFO] [stdout] d0cec223257c46cc0e860f06a4ab5d0a8678457dca21c2d65547dd558116d723