[INFO] cloning repository https://github.com/balena-io/takeover
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/balena-io/takeover" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalena-io%2Ftakeover", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalena-io%2Ftakeover'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 43c6874ea2f918d3bfd6cbb6f985da31574406ca
[INFO] checking balena-io/takeover against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalena-io%2Ftakeover" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/balena-io/takeover 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 git repo https://github.com/balena-io/takeover
[INFO] finished tweaking git repo https://github.com/balena-io/takeover
[INFO] tweaked toml for git repo https://github.com/balena-io/takeover written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/balena-io/takeover 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded xattr v0.2.2
[INFO] [stderr]   Downloaded futures-channel v0.3.5
[INFO] [stderr]   Downloaded hyper-tls v0.4.1
[INFO] [stderr]   Downloaded openssl-probe v0.1.2
[INFO] [stderr]   Downloaded net2 v0.2.34
[INFO] [stderr]   Downloaded tar v0.4.29
[INFO] [stderr]   Downloaded futures-sink v0.3.5
[INFO] [stderr]   Downloaded tower-service v0.3.0
[INFO] [stderr]   Downloaded paw-attributes v1.0.2
[INFO] [stderr]   Downloaded paw-raw v1.0.0
[INFO] [stderr]   Downloaded serde_urlencoded v0.6.1
[INFO] [stderr]   Downloaded futures-core v0.3.5
[INFO] [stderr]   Downloaded filetime v0.2.10
[INFO] [stderr]   Downloaded once_cell v1.4.0
[INFO] [stderr]   Downloaded pin-project-internal v0.4.17
[INFO] [stderr]   Downloaded security-framework v0.4.4
[INFO] [stderr]   Downloaded mio v0.6.22
[INFO] [stderr]   Downloaded tokio v0.2.21
[INFO] [stderr]   Downloaded encoding_rs v0.8.23
[INFO] [stderr]   Downloaded web-sys v0.3.40
[INFO] [stderr]   Downloaded openssl-src v111.10.2+1.1.1g
[INFO] [stderr]   Downloaded reqwest v0.10.5
[INFO] [stderr]   Downloaded mod_logger v0.7.0
[INFO] [stderr]   Downloaded syn v1.0.27
[INFO] [stderr]   Downloaded openssl v0.10.29
[INFO] [stderr]   Downloaded h2 v0.2.5
[INFO] [stderr]   Downloaded futures-util v0.3.5
[INFO] [stderr]   Downloaded serde_yaml v0.8.12
[INFO] [stderr]   Downloaded pin-project v0.4.17
[INFO] [stderr]   Downloaded hyper v0.13.5
[INFO] [stderr]   Downloaded openssl-sys v0.9.57
[INFO] [stderr]   Downloaded futures-io v0.3.5
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.13
[INFO] [stderr]   Downloaded native-tls v0.2.4
[INFO] [stderr]   Downloaded colored v1.9.3
[INFO] [stderr]   Downloaded security-framework-sys v0.4.3
[INFO] [stderr]   Downloaded pin-project-lite v0.1.5
[INFO] [stderr]   Downloaded paw v1.0.0
[INFO] [stderr]   Downloaded bumpalo v3.3.0
[INFO] [stderr]   Downloaded futures-task v0.3.5
[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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0906165cd8ece5a5e77ad6c11fee16dc9914a1eb7c11c4dcba282b33cd279c1
[INFO] running `Command { std: "docker" "start" "-a" "a0906165cd8ece5a5e77ad6c11fee16dc9914a1eb7c11c4dcba282b33cd279c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0906165cd8ece5a5e77ad6c11fee16dc9914a1eb7c11c4dcba282b33cd279c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0906165cd8ece5a5e77ad6c11fee16dc9914a1eb7c11c4dcba282b33cd279c1", kill_on_drop: false }`
[INFO] [stdout] a0906165cd8ece5a5e77ad6c11fee16dc9914a1eb7c11c4dcba282b33cd279c1
[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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb65a80d15db580b1e97a6f7365dd3d6249586064f5d85711f35ca2c5ee97e15
[INFO] running `Command { std: "docker" "start" "-a" "cb65a80d15db580b1e97a6f7365dd3d6249586064f5d85711f35ca2c5ee97e15", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling syn v1.0.27
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking pin-project-lite v0.1.5
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]     Checking once_cell v1.4.0
[INFO] [stderr]     Checking smallvec v1.4.0
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]     Checking dtoa v0.4.5
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]    Compiling openssl-src v111.10.2+1.1.1g
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking linked-hash-map v0.5.3
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking yaml-rust v0.4.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking base64 v0.12.1
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.57
[INFO] [stderr]     Checking paw-raw v1.0.0
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking filetime v0.2.10
[INFO] [stderr]     Checking xattr v0.2.2
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking flate2 v1.0.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking tar v0.4.29
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tokio v0.2.21
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling pin-project-internal v0.4.17
[INFO] [stderr]    Compiling paw-attributes v1.0.2
[INFO] [stderr]     Checking paw v1.0.0
[INFO] [stderr]    Compiling structopt-derive v0.4.7
[INFO] [stderr]     Checking pin-project v0.4.17
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking structopt v0.3.14
[INFO] [stderr]     Checking h2 v0.2.5
[INFO] [stderr]     Checking hyper v0.13.5
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking serde_yaml v0.8.12
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking mod_logger v0.7.0
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.4.1
[INFO] [stderr]     Checking reqwest v0.10.5
[INFO] [stderr]     Checking takeover v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `CmdIo` is never constructed
[INFO] [stdout]   --> src/common/error.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum ErrorKind {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     CmdIo,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` 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: field `ptype` is never read
[INFO] [stdout]    --> src/common/disk_util.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub(crate) struct PartInfo {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] 121 |     pub index: usize,
[INFO] [stdout] 122 |     pub ptype: u8,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PartInfo` 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: field `os_name` is never read
[INFO] [stdout]   --> src/stage1/migrate_info.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) struct MigrateInfo {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 35 |     os_name: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MigrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uuid`, `block_size`, `label`, and `part_uuid` are never read
[INFO] [stdout]   --> src/stage1/block_device_info/partition.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) struct PartitionInfo {
[INFO] [stdout]    |                   ------------- fields in this struct
[INFO] [stdout] 20 |     uuid: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     block_size: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     fs_type: Option<String>,
[INFO] [stdout] 23 |     label: Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     part_uuid: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PartitionInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/init.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { CString::from_raw(filename) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { let _ = CString::from_raw(filename); };
[INFO] [stdout]     |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CmdIo` is never constructed
[INFO] [stdout]   --> src/common/error.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum ErrorKind {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     CmdIo,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` 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: field `os_name` is never read
[INFO] [stdout]   --> src/stage1/migrate_info.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) struct MigrateInfo {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 35 |     os_name: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MigrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uuid`, `block_size`, `label`, and `part_uuid` are never read
[INFO] [stdout]   --> src/stage1/block_device_info/partition.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) struct PartitionInfo {
[INFO] [stdout]    |                   ------------- fields in this struct
[INFO] [stdout] 20 |     uuid: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     block_size: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     fs_type: Option<String>,
[INFO] [stdout] 23 |     label: Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     part_uuid: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PartitionInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/init.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { CString::from_raw(filename) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { let _ = CString::from_raw(filename); };
[INFO] [stdout]     |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 23.00s
[INFO] running `Command { std: "docker" "inspect" "cb65a80d15db580b1e97a6f7365dd3d6249586064f5d85711f35ca2c5ee97e15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb65a80d15db580b1e97a6f7365dd3d6249586064f5d85711f35ca2c5ee97e15", kill_on_drop: false }`
[INFO] [stdout] cb65a80d15db580b1e97a6f7365dd3d6249586064f5d85711f35ca2c5ee97e15
[INFO] checking balena-io/takeover against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalena-io%2Ftakeover" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/balena-io/takeover 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 git repo https://github.com/balena-io/takeover
[INFO] finished tweaking git repo https://github.com/balena-io/takeover
[INFO] tweaked toml for git repo https://github.com/balena-io/takeover written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/balena-io/takeover 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8067c3b479dbf6dfe13757b36d04a654aa6182fdec7c55c4b40577b8f5603a0d
[INFO] running `Command { std: "docker" "start" "-a" "8067c3b479dbf6dfe13757b36d04a654aa6182fdec7c55c4b40577b8f5603a0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8067c3b479dbf6dfe13757b36d04a654aa6182fdec7c55c4b40577b8f5603a0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8067c3b479dbf6dfe13757b36d04a654aa6182fdec7c55c4b40577b8f5603a0d", kill_on_drop: false }`
[INFO] [stdout] 8067c3b479dbf6dfe13757b36d04a654aa6182fdec7c55c4b40577b8f5603a0d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 92f3ae7d909bf7850cf35a807bb44dba9d645ae9a13690909d8667e5cd1782c5
[INFO] running `Command { std: "docker" "start" "-a" "92f3ae7d909bf7850cf35a807bb44dba9d645ae9a13690909d8667e5cd1782c5", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.71
[INFO] [stderr]    Compiling proc-macro2 v1.0.17
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling syn v1.0.27
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling cc v1.0.54
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking pin-project-lite v0.1.5
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]     Checking once_cell v1.4.0
[INFO] [stderr]     Checking smallvec v1.4.0
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking dtoa v0.4.5
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]    Compiling openssl-src v111.10.2+1.1.1g
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]     Checking linked-hash-map v0.5.3
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking yaml-rust v0.4.3
[INFO] [stderr]     Checking aho-corasick v0.7.10
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.8
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking paw-raw v1.0.0
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]     Checking semver-parser v0.7.0
[INFO] [stderr]     Checking base64 v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.57
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking semver v0.9.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking filetime v0.2.10
[INFO] [stderr]     Checking xattr v0.2.2
[INFO] [stderr]     Checking colored v1.9.3
[INFO] [stderr]     Checking clap v2.33.1
[INFO] [stderr]     Checking flate2 v1.0.14
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking tar v0.4.29
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking tokio v0.2.21
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.17
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling paw-attributes v1.0.2
[INFO] [stderr]     Checking paw v1.0.0
[INFO] [stderr]    Compiling structopt-derive v0.4.7
[INFO] [stderr]     Checking pin-project v0.4.17
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking structopt v0.3.14
[INFO] [stderr]     Checking h2 v0.2.5
[INFO] [stderr]     Checking hyper v0.13.5
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking serde_yaml v0.8.12
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking mod_logger v0.7.0
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.4.1
[INFO] [stderr]     Checking reqwest v0.10.5
[INFO] [stderr]     Checking takeover v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `CmdIo` is never constructed
[INFO] [stdout]   --> src/common/error.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum ErrorKind {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     CmdIo,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` 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: field `ptype` is never read
[INFO] [stdout]    --> src/common/disk_util.rs:122:9
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub(crate) struct PartInfo {
[INFO] [stdout]     |                   -------- field in this struct
[INFO] [stdout] 121 |     pub index: usize,
[INFO] [stdout] 122 |     pub ptype: u8,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `PartInfo` 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: field `os_name` is never read
[INFO] [stdout]   --> src/stage1/migrate_info.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) struct MigrateInfo {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 35 |     os_name: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MigrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uuid`, `block_size`, `label`, and `part_uuid` are never read
[INFO] [stdout]   --> src/stage1/block_device_info/partition.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) struct PartitionInfo {
[INFO] [stdout]    |                   ------------- fields in this struct
[INFO] [stdout] 20 |     uuid: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     block_size: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     fs_type: Option<String>,
[INFO] [stdout] 23 |     label: Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     part_uuid: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PartitionInfo` has derived impls for the traits `Debug` and `Clone`, but these are 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/common/stage2_config.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_UmountPart`
[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 `Deserialize` (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/common/stage2_config.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_UmountPart`
[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 `Serialize` (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/common/stage2_config.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LogDevice`
[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 `Deserialize` (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/common/stage2_config.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_LogDevice`
[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 `Serialize` (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/common/stage2_config.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Stage2Config`
[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 `Deserialize` (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/common/stage2_config.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Stage2Config`
[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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/init.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { CString::from_raw(filename) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { let _ = CString::from_raw(filename); };
[INFO] [stdout]     |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/stage1/backup/config.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ItemConfig`
[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 `Deserialize` (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/stage1/backup/config.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_VolumeConfig`
[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 `Deserialize` (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/stage1/api_calls.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Versions`
[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 `Serialize` (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/stage1/api_calls.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Versions`
[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 `Deserialize` (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/stage1/api_calls.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ImageRequestData`
[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 `Serialize` (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/stage1/api_calls.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ImageRequestData`
[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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CmdIo` is never constructed
[INFO] [stdout]   --> src/common/error.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 7  | pub enum ErrorKind {
[INFO] [stdout]    |          --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 17 |     CmdIo,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ErrorKind` 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: field `os_name` is never read
[INFO] [stdout]   --> src/stage1/migrate_info.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub(crate) struct MigrateInfo {
[INFO] [stdout]    |                   ----------- field in this struct
[INFO] [stdout] 35 |     os_name: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MigrateInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `uuid`, `block_size`, `label`, and `part_uuid` are never read
[INFO] [stdout]   --> src/stage1/block_device_info/partition.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub(crate) struct PartitionInfo {
[INFO] [stdout]    |                   ------------- fields in this struct
[INFO] [stdout] 20 |     uuid: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 21 |     block_size: Option<u32>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 22 |     fs_type: Option<String>,
[INFO] [stdout] 23 |     label: Option<String>,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 24 |     part_uuid: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PartitionInfo` has derived impls for the traits `Debug` and `Clone`, but these are 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/common/stage2_config.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_UmountPart`
[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 `Deserialize` (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/common/stage2_config.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]   |                              ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_UmountPart`
[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 `Serialize` (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/common/stage2_config.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_LogDevice`
[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 `Deserialize` (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/common/stage2_config.rs:14:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_LogDevice`
[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 `Serialize` (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/common/stage2_config.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Stage2Config`
[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 `Deserialize` (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/common/stage2_config.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Debug, Deserialize, Serialize, Clone)]
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Stage2Config`
[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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/init.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { CString::from_raw(filename) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 109 |     unsafe { let _ = CString::from_raw(filename); };
[INFO] [stdout]     |              +++++++                            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/stage1/backup/config.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, Deserialize)]
[INFO] [stdout]   |                 ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ItemConfig`
[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 `Deserialize` (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/stage1/backup/config.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_VolumeConfig`
[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 `Deserialize` (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/stage1/api_calls.rs:15:17
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Versions`
[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 `Serialize` (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/stage1/api_calls.rs:15:28
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Versions`
[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 `Deserialize` (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/stage1/api_calls.rs:21:17
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                 ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ImageRequestData`
[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 `Serialize` (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/stage1/api_calls.rs:21:28
[INFO] [stdout]    |
[INFO] [stdout] 21 | #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]    |                            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ImageRequestData`
[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 `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `takeover` (bin "takeover") due to 13 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 12 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `takeover` (bin "takeover" test) due to 13 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "92f3ae7d909bf7850cf35a807bb44dba9d645ae9a13690909d8667e5cd1782c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92f3ae7d909bf7850cf35a807bb44dba9d645ae9a13690909d8667e5cd1782c5", kill_on_drop: false }`
[INFO] [stdout] 92f3ae7d909bf7850cf35a807bb44dba9d645ae9a13690909d8667e5cd1782c5
