[INFO] fetching crate radb 0.1.7... [INFO] building radb-0.1.7 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate radb 0.1.7 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate radb 0.1.7 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate radb 0.1.7 [INFO] tweaked toml for crates.io crate radb 0.1.7 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate radb 0.1.7 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate radb 0.1.7 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v5.0.0 [INFO] [stderr] Downloaded async-stream-impl v0.3.5 [INFO] [stderr] Downloaded weezl v0.1.7 [INFO] [stderr] Downloaded async-stream v0.3.5 [INFO] [stderr] Downloaded fdeflate v0.3.3 [INFO] [stderr] Downloaded png v0.17.10 [INFO] [stderr] Downloaded anyhow v1.0.78 [INFO] [stderr] Downloaded reqwest v0.11.23 [INFO] [stderr] Downloaded half v2.2.1 [INFO] [stderr] Downloaded exr v1.71.0 [INFO] [stderr] Downloaded image v0.24.7 [INFO] [stderr] Downloaded jpeg-decoder v0.3.0 [INFO] [stderr] Downloaded libc v0.2.151 [INFO] [stderr] Downloaded tiff v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98da9e50b03d76a8c1f106befd94c19c492616d2979674e4d59060282563102b [INFO] running `Command { std: "docker" "start" "-a" "98da9e50b03d76a8c1f106befd94c19c492616d2979674e4d59060282563102b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98da9e50b03d76a8c1f106befd94c19c492616d2979674e4d59060282563102b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98da9e50b03d76a8c1f106befd94c19c492616d2979674e4d59060282563102b", kill_on_drop: false }` [INFO] [stdout] 98da9e50b03d76a8c1f106befd94c19c492616d2979674e4d59060282563102b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fade9a942373b8299a14130e5c3b3788aaf4693ea509b02abc61a53157426fb7 [INFO] running `Command { std: "docker" "start" "-a" "fade9a942373b8299a14130e5c3b3788aaf4693ea509b02abc61a53157426fb7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling h2 v0.3.22 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling thread_local v1.1.7 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling tempfile v3.9.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling which v5.0.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling radb v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `async-std` [INFO] [stdout] --> src/lib.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | #[cfg(all(feature = "tokio_async", feature = "async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/client/adb_device.rs:992:21 [INFO] [stdout] | [INFO] [stdout] 992 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/errors.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/errors.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `anyhow` [INFO] [stdout] --> src/utils/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{anyhow, Context}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> src/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::adb_client::blocking_impl::*` [INFO] [stdout] --> src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | pub use crate::client::adb_client::blocking_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/adb_device.rs:1221:25 [INFO] [stdout] | [INFO] [stdout] 1221 | let mut current_data = conn.recv(16).ok()?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/adb_device.rs:1201:20 [INFO] [stdout] | [INFO] [stdout] 1201 | Ok(mut file) => file, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_function` is never used [INFO] [stdout] --> src/errors.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | async fn example_function() -> AdbResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_anyhow_function` is never used [INFO] [stdout] --> src/errors.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | fn some_anyhow_function() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/beans/command.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_command_cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_command_cow(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/client/adb_device.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | num <= 255 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "fade9a942373b8299a14130e5c3b3788aaf4693ea509b02abc61a53157426fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fade9a942373b8299a14130e5c3b3788aaf4693ea509b02abc61a53157426fb7", kill_on_drop: false }` [INFO] [stdout] fade9a942373b8299a14130e5c3b3788aaf4693ea509b02abc61a53157426fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aceb196370f3d5765754442e4e75567bb7c2733dbf66198cd44a54cd144f6176 [INFO] running `Command { std: "docker" "start" "-a" "aceb196370f3d5765754442e4e75567bb7c2733dbf66198cd44a54cd144f6176", kill_on_drop: false }` [INFO] [stderr] Compiling radb v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `async-std` [INFO] [stdout] --> src/lib.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | #[cfg(all(feature = "tokio_async", feature = "async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/client/adb_device.rs:992:21 [INFO] [stdout] | [INFO] [stdout] 992 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/errors.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/errors.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `anyhow` [INFO] [stdout] --> src/utils/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{anyhow, Context}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> src/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::adb_client::blocking_impl::*` [INFO] [stdout] --> src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | pub use crate::client::adb_client::blocking_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/adb_device.rs:1221:25 [INFO] [stdout] | [INFO] [stdout] 1221 | let mut current_data = conn.recv(16).ok()?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/adb_device.rs:1201:20 [INFO] [stdout] | [INFO] [stdout] 1201 | Ok(mut file) => file, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_function` is never used [INFO] [stdout] --> src/errors.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | async fn example_function() -> AdbResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_anyhow_function` is never used [INFO] [stdout] --> src/errors.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | fn some_anyhow_function() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/beans/command.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_command_cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_command_cow(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/client/adb_device.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | num <= 255 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/test_lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `async-std` [INFO] [stdout] --> src/lib.rs:373:36 [INFO] [stdout] | [INFO] [stdout] 373 | #[cfg(all(feature = "tokio_async", feature = "async-std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `async-std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `RwLock` [INFO] [stdout] --> src/client/adb_device.rs:992:21 [INFO] [stdout] | [INFO] [stdout] 992 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/errors.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `serde` [INFO] [stdout] --> src/errors.rs:217:19 [INFO] [stdout] | [INFO] [stdout] 217 | #[cfg(feature = "serde")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async-stream`, `async-trait`, `blocking`, `default`, `futures-core`, `futures-util`, `tokio`, and `tokio_async` [INFO] [stdout] = help: consider adding `serde` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `anyhow` [INFO] [stdout] --> src/utils/mod.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::{anyhow, Context}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Level` [INFO] [stdout] --> src/utils/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::Level; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client::adb_client::blocking_impl::*` [INFO] [stdout] --> src/lib.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | pub use crate::client::adb_client::blocking_impl::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_lib.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | let mut logcat_iter = logcat_result.unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/adb_device.rs:1221:25 [INFO] [stdout] | [INFO] [stdout] 1221 | let mut current_data = conn.recv(16).ok()?; [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/adb_device.rs:1201:20 [INFO] [stdout] | [INFO] [stdout] 1201 | Ok(mut file) => file, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `example_function` is never used [INFO] [stdout] --> src/errors.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | async fn example_function() -> AdbResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `some_anyhow_function` is never used [INFO] [stdout] --> src/errors.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | fn some_anyhow_function() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/beans/command.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_command_cow(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 36 | pub fn get_command_cow(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/client/adb_device.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | num <= 255 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "aceb196370f3d5765754442e4e75567bb7c2733dbf66198cd44a54cd144f6176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aceb196370f3d5765754442e4e75567bb7c2733dbf66198cd44a54cd144f6176", kill_on_drop: false }` [INFO] [stdout] aceb196370f3d5765754442e4e75567bb7c2733dbf66198cd44a54cd144f6176