[INFO] fetching crate radb 0.1.7... [INFO] checking radb-0.1.7 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate radb 0.1.7 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate radb 0.1.7 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52638e237461e1b451a8a5d52baf07a66ec2aa7323f768cb288e181bc277bb6e [INFO] running `Command { std: "docker" "start" "-a" "52638e237461e1b451a8a5d52baf07a66ec2aa7323f768cb288e181bc277bb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52638e237461e1b451a8a5d52baf07a66ec2aa7323f768cb288e181bc277bb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52638e237461e1b451a8a5d52baf07a66ec2aa7323f768cb288e181bc277bb6e", kill_on_drop: false }` [INFO] [stdout] 52638e237461e1b451a8a5d52baf07a66ec2aa7323f768cb288e181bc277bb6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7660085cddf19148c6da0cd9f2fb11a817ef1c90ddd387d82f18ac7e26626645 [INFO] running `Command { std: "docker" "start" "-a" "7660085cddf19148c6da0cd9f2fb11a817ef1c90ddd387d82f18ac7e26626645", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking crossbeam-deque v0.8.4 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking fdeflate v0.3.3 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking which v5.0.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking regex v1.10.2 [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] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking 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)]` 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)]` 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: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: 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)]` 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)]` 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: 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)]` 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: 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)]` 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "7660085cddf19148c6da0cd9f2fb11a817ef1c90ddd387d82f18ac7e26626645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7660085cddf19148c6da0cd9f2fb11a817ef1c90ddd387d82f18ac7e26626645", kill_on_drop: false }` [INFO] [stdout] 7660085cddf19148c6da0cd9f2fb11a817ef1c90ddd387d82f18ac7e26626645