[INFO] fetching crate adb-rs 0.1.3...
[INFO] checking adb-rs-0.1.3 against master#b3bd7058c139e71bae0862ef8f8ac936208873e9 for pr-123752
[INFO] extracting crate adb-rs 0.1.3 into /workspace/builds/worker-1-tc1/source
[INFO] validating manifest of crates.io crate adb-rs 0.1.3 on toolchain b3bd7058c139e71bae0862ef8f8ac936208873e9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "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-1-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 36 packages
[INFO] [stderr]       Adding bytes v0.4.12 (latest: v1.6.0)
[INFO] [stderr]       Adding cfg-if v0.1.10 (latest: v1.0.0)
[INFO] [stderr]       Adding crossbeam-channel v0.3.9 (latest: v0.5.12)
[INFO] [stderr]       Adding crossbeam-utils v0.6.6 (latest: v0.8.19)
[INFO] [stderr]       Adding num-derive v0.2.5 (latest: v0.4.2)
[INFO] [stderr]       Adding object v0.32.2 (latest: v0.35.0)
[INFO] [stderr]       Adding pretty-hex v0.1.1 (latest: v0.4.1)
[INFO] [stderr]       Adding proc-macro2 v0.4.30 (latest: v1.0.79)
[INFO] [stderr]       Adding quote v0.6.13 (latest: v1.0.36)
[INFO] [stderr]       Adding syn v0.15.44 (latest: v2.0.58)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.58)
[INFO] [stderr]       Adding synstructure v0.12.6 (latest: v0.13.1)
[INFO] [stderr]       Adding unicode-xid v0.1.0 (latest: v0.2.4)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-derive v0.2.5
[INFO] [stderr]   Downloaded pretty-hex v0.1.1
[INFO] [stderr]   Downloaded crossbeam-utils v0.6.6
[INFO] [stderr]   Downloaded crossbeam-channel v0.3.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fc33bd70f12eba5e3eae0ce49f46b11ecb28b013e7157254c4633a1406cc529f
[INFO] running `Command { std: "docker" "start" "-a" "fc33bd70f12eba5e3eae0ce49f46b11ecb28b013e7157254c4633a1406cc529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fc33bd70f12eba5e3eae0ce49f46b11ecb28b013e7157254c4633a1406cc529f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc33bd70f12eba5e3eae0ce49f46b11ecb28b013e7157254c4633a1406cc529f", kill_on_drop: false }`
[INFO] [stdout] fc33bd70f12eba5e3eae0ce49f46b11ecb28b013e7157254c4633a1406cc529f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b3bd7058c139e71bae0862ef8f8ac936208873e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a6c05431fa12d18676ffb41d44b36c027c1fbcaf59e396e32b3fb7b612c94d0
[INFO] running `Command { std: "docker" "start" "-a" "2a6c05431fa12d18676ffb41d44b36c027c1fbcaf59e396e32b3fb7b612c94d0", kill_on_drop: false }`
[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 gimli v0.28.1
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling backtrace v0.3.71
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking rustc-demangle v0.1.23
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking pretty-hex v0.1.1
[INFO] [stderr]     Checking miniz_oxide v0.7.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking object v0.32.2
[INFO] [stderr]    Compiling quote v0.6.13
[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: field `magic` is never read
[INFO] [stdout]   --> src/message/mod.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Header {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |   pub magic: u32,
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[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] 
[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: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `magic` is never read
[INFO] [stdout]   --> src/message/mod.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Header {
[INFO] [stdout]    |            ------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |   pub magic: u32,
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[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] 
[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: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive`
[INFO] [stdout]   = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 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 may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[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: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: this warning 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: 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: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.87s
[INFO] running `Command { std: "docker" "inspect" "2a6c05431fa12d18676ffb41d44b36c027c1fbcaf59e396e32b3fb7b612c94d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a6c05431fa12d18676ffb41d44b36c027c1fbcaf59e396e32b3fb7b612c94d0", kill_on_drop: false }`
[INFO] [stdout] 2a6c05431fa12d18676ffb41d44b36c027c1fbcaf59e396e32b3fb7b612c94d0
