[INFO] fetching crate adb-rs 0.1.3...
[INFO] checking adb-rs-0.1.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] extracting crate adb-rs 0.1.3 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate adb-rs 0.1.3 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate adb-rs 0.1.3
[INFO] finished tweaking crates.io crate adb-rs 0.1.3
[INFO] tweaked toml for crates.io crate adb-rs 0.1.3 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" "+5518eaa946291f00471af8b254b2a1715f234882" "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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pretty-hex v0.1.1
[INFO] [stderr]   Downloaded num-derive v0.2.5
[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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b576badb53b0ced1f764e5fc024b6581b5335f2af031440c5dc424468ee71145
[INFO] running `Command { std: "docker" "start" "-a" "b576badb53b0ced1f764e5fc024b6581b5335f2af031440c5dc424468ee71145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b576badb53b0ced1f764e5fc024b6581b5335f2af031440c5dc424468ee71145", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b576badb53b0ced1f764e5fc024b6581b5335f2af031440c5dc424468ee71145", kill_on_drop: false }`
[INFO] [stdout] b576badb53b0ced1f764e5fc024b6581b5335f2af031440c5dc424468ee71145
[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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2722119fbcfdcf3979f14a8609ce3609e15802fac1cb9c558678d1a8d25af12
[INFO] running `Command { std: "docker" "start" "-a" "f2722119fbcfdcf3979f14a8609ce3609e15802fac1cb9c558678d1a8d25af12", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking pretty-hex v0.1.1
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking adb-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `local_id` and `remote_id` are never read
[INFO] [stdout]    --> src/client.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 271 | struct StreamContext {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 272 |   local_id: u32,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 273 |   remote_id: u32,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StreamContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `system_identity`, `device_system_identity`, and `device_version` are never read
[INFO] [stdout]    --> src/client.rs:280:3
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub struct AdbConnection {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 280 |   system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout] 281 |   device_system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 282 |   device_version: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AdbConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/client.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 296 |     ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let _ = ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `local_id` and `remote_id` are never read
[INFO] [stdout]    --> src/client.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 271 | struct StreamContext {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 272 |   local_id: u32,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 273 |   remote_id: u32,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StreamContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `system_identity`, `device_system_identity`, and `device_version` are never read
[INFO] [stdout]    --> src/client.rs:280:3
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub struct AdbConnection {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 280 |   system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout] 281 |   device_system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 282 |   device_version: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AdbConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/client.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 296 |     ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let _ = ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.27s
[INFO] running `Command { std: "docker" "inspect" "f2722119fbcfdcf3979f14a8609ce3609e15802fac1cb9c558678d1a8d25af12", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2722119fbcfdcf3979f14a8609ce3609e15802fac1cb9c558678d1a8d25af12", kill_on_drop: false }`
[INFO] [stdout] f2722119fbcfdcf3979f14a8609ce3609e15802fac1cb9c558678d1a8d25af12
[INFO] checking adb-rs-0.1.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] extracting crate adb-rs 0.1.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate adb-rs 0.1.3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate adb-rs 0.1.3
[INFO] finished tweaking crates.io crate adb-rs 0.1.3
[INFO] tweaked toml for crates.io crate adb-rs 0.1.3 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f46f848d78f53feaf48e53094639fb56862d9135008adec3752769fe5318d0c6
[INFO] running `Command { std: "docker" "start" "-a" "f46f848d78f53feaf48e53094639fb56862d9135008adec3752769fe5318d0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f46f848d78f53feaf48e53094639fb56862d9135008adec3752769fe5318d0c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f46f848d78f53feaf48e53094639fb56862d9135008adec3752769fe5318d0c6", kill_on_drop: false }`
[INFO] [stdout] f46f848d78f53feaf48e53094639fb56862d9135008adec3752769fe5318d0c6
[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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c9282bcd835f5365556911b4a7cc44895f7e66deb678d49876403730543166f8
[INFO] running `Command { std: "docker" "start" "-a" "c9282bcd835f5365556911b4a7cc44895f7e66deb678d49876403730543166f8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking gimli v0.28.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]     Checking pretty-hex v0.1.1
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking addr2line v0.21.0
[INFO] [stderr]    Compiling backtrace v0.3.69
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking adb-rs v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `local_id` and `remote_id` are never read
[INFO] [stdout]    --> src/client.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 271 | struct StreamContext {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 272 |   local_id: u32,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 273 |   remote_id: u32,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StreamContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `system_identity`, `device_system_identity`, and `device_version` are never read
[INFO] [stdout]    --> src/client.rs:280:3
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub struct AdbConnection {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 280 |   system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout] 281 |   device_system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 282 |   device_version: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AdbConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/result.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_AdbError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/result.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_AdbError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/message/mod.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/client.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 296 |     ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let _ = ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `local_id` and `remote_id` are never read
[INFO] [stdout]    --> src/client.rs:272:3
[INFO] [stdout]     |
[INFO] [stdout] 271 | struct StreamContext {
[INFO] [stdout]     |        ------------- fields in this struct
[INFO] [stdout] 272 |   local_id: u32,
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 273 |   remote_id: u32,
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `StreamContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `system_identity`, `device_system_identity`, and `device_version` are never read
[INFO] [stdout]    --> src/client.rs:280:3
[INFO] [stdout]     |
[INFO] [stdout] 279 | pub struct AdbConnection {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 280 |   system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^
[INFO] [stdout] 281 |   device_system_identity: String,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 282 |   device_version: u32,
[INFO] [stdout]     |   ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `AdbConnection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/result.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_AdbError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/result.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Fail)]
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_AdbError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/message/mod.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Copy, Clone, FromPrimitive, PartialEq)]
[INFO] [stdout]    |                              ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Command`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used
[INFO] [stdout]    --> src/client.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 296 |     ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: if you don't need the old value, you can just assign the new value directly
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 296 |     let _ = ::std::mem::replace(&mut self.conn_writer_s, conn_writer_s);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `adb-rs` (lib) due to 4 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `adb-rs` (lib test) due to 4 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c9282bcd835f5365556911b4a7cc44895f7e66deb678d49876403730543166f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c9282bcd835f5365556911b4a7cc44895f7e66deb678d49876403730543166f8", kill_on_drop: false }`
[INFO] [stdout] c9282bcd835f5365556911b4a7cc44895f7e66deb678d49876403730543166f8
