[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] b880119f7e32db9a58b9ff8ada0340ac5d75d4b4 [INFO] testing balena-io/takeover against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbalena-io%2Ftakeover" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/balena-io/takeover on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "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-4-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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.0 [INFO] [stderr] Downloaded finder v0.1.6 [INFO] [stderr] Downloaded mod_logger v0.8.4 [INFO] [stderr] Downloaded lddtree v0.3.4 [INFO] [stderr] Downloaded which v6.0.0 [INFO] [stderr] Downloaded goblin v0.8.0 [INFO] [stderr] Downloaded clap_builder v4.5.0 [INFO] [stderr] Downloaded file_diff v1.0.0 [INFO] [stderr] Downloaded openssl-src v300.2.2+3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0202223baf1390aa65eaece6563c6829a570465487a3734fb07055c8cfa56966 [INFO] running `Command { std: "docker" "start" "-a" "0202223baf1390aa65eaece6563c6829a570465487a3734fb07055c8cfa56966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0202223baf1390aa65eaece6563c6829a570465487a3734fb07055c8cfa56966", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0202223baf1390aa65eaece6563c6829a570465487a3734fb07055c8cfa56966", kill_on_drop: false }` [INFO] [stdout] 0202223baf1390aa65eaece6563c6829a570465487a3734fb07055c8cfa56966 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1bc704d72c8773df3a4081d61ec09f9697bf35f5254ea86cc87a00551c81432 [INFO] running `Command { std: "docker" "start" "-a" "b1bc704d72c8773df3a4081d61ec09f9697bf35f5254ea86cc87a00551c81432", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling openssl-src v300.2.2+3.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling scroll_derive v0.12.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling clap_builder v4.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling goblin v0.8.0 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling paw-raw v1.0.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling gptman v1.1.2 [INFO] [stderr] Compiling lddtree v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling which v6.0.0 [INFO] [stderr] Compiling paw v1.0.0 [INFO] [stderr] Compiling mod_logger v0.8.4 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling serde_yaml v0.8.26 [INFO] [stderr] Compiling clap v4.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling finder v0.1.6 [INFO] [stderr] Compiling file_diff v1.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling takeover v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stage1/utils.rs:220:37 [INFO] [stdout] | [INFO] [stdout] 219 | impl<'a> ReadBuffer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 220 | pub fn new(buffer: &'a [u8]) -> ReadBuffer { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stage1/wifi_config/wpa_parser.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> WpaParser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(ssid_filter: &'a [String]) -> WpaParser { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error` and `error_with_kind` are never used [INFO] [stdout] --> src/common/error.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub trait ToError { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 170 | fn error(self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn error_with_kind(self, kind: ErrorKind) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_partition` and `set_mountpoint` are never used [INFO] [stdout] --> src/stage1/block_device_info/block_device.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait BlockDevice { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_partition(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | fn set_mountpoint(&mut self, mountpoint: Mount); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 10s [INFO] running `Command { std: "docker" "inspect" "b1bc704d72c8773df3a4081d61ec09f9697bf35f5254ea86cc87a00551c81432", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1bc704d72c8773df3a4081d61ec09f9697bf35f5254ea86cc87a00551c81432", kill_on_drop: false }` [INFO] [stdout] b1bc704d72c8773df3a4081d61ec09f9697bf35f5254ea86cc87a00551c81432 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59e6c2bb0707deafe05f271c290b4b95fe30ca0805d9fe61ca030ebde385fb8a [INFO] running `Command { std: "docker" "start" "-a" "59e6c2bb0707deafe05f271c290b4b95fe30ca0805d9fe61ca030ebde385fb8a", kill_on_drop: false }` [INFO] [stderr] Compiling takeover v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stage1/utils.rs:220:37 [INFO] [stdout] | [INFO] [stdout] 219 | impl<'a> ReadBuffer<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 220 | pub fn new(buffer: &'a [u8]) -> ReadBuffer { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stage1/wifi_config/wpa_parser.rs:54:46 [INFO] [stdout] | [INFO] [stdout] 37 | impl<'a> WpaParser<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn new(ssid_filter: &'a [String]) -> WpaParser { [INFO] [stdout] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `error` and `error_with_kind` are never used [INFO] [stdout] --> src/common/error.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 169 | pub trait ToError { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 170 | fn error(self) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | fn error_with_kind(self, kind: ErrorKind) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_partition` and `set_mountpoint` are never used [INFO] [stdout] --> src/stage1/block_device_info/block_device.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) trait BlockDevice { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_partition(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | fn set_mountpoint(&mut self, mountpoint: Mount); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.17s [INFO] running `Command { std: "docker" "inspect" "59e6c2bb0707deafe05f271c290b4b95fe30ca0805d9fe61ca030ebde385fb8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e6c2bb0707deafe05f271c290b4b95fe30ca0805d9fe61ca030ebde385fb8a", kill_on_drop: false }` [INFO] [stdout] 59e6c2bb0707deafe05f271c290b4b95fe30ca0805d9fe61ca030ebde385fb8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22258c2a31fb520740b6deb94f35f935cadf251e4d6c0e6701ce5adb5c1d3ae1 [INFO] running `Command { std: "docker" "start" "-a" "22258c2a31fb520740b6deb94f35f935cadf251e4d6c0e6701ce5adb5c1d3ae1", kill_on_drop: false }` [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stage1/utils.rs:220:37 [INFO] [stderr] | [INFO] [stderr] 219 | impl<'a> ReadBuffer<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] 220 | pub fn new(buffer: &'a [u8]) -> ReadBuffer { [INFO] [stderr] | ^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stage1/wifi_config/wpa_parser.rs:54:46 [INFO] [stderr] | [INFO] [stderr] 37 | impl<'a> WpaParser<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 54 | pub fn new(ssid_filter: &'a [String]) -> WpaParser { [INFO] [stderr] | ^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: methods `error` and `error_with_kind` are never used [INFO] [stderr] --> src/common/error.rs:170:8 [INFO] [stderr] | [INFO] [stderr] 169 | pub trait ToError { [INFO] [stderr] | ------- methods in this trait [INFO] [stderr] 170 | fn error(self) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 173 | fn error_with_kind(self, kind: ErrorKind) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `is_partition` and `set_mountpoint` are never used [INFO] [stderr] --> src/stage1/block_device_info/block_device.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 9 | pub(crate) trait BlockDevice { [INFO] [stderr] | ----------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 15 | fn is_partition(&self) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 16 | fn set_mountpoint(&mut self, mountpoint: Mount); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `takeover` (bin "takeover" test) generated 4 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/takeover-b20173066bd1ffd7) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test common::tests::test_path_to_cstring ... ok [INFO] [stdout] test stage1::migrate_info::balena_cfg_json::tests::test_get_api_key_found_as_api_key ... ok [INFO] [stdout] test stage1::migrate_info::balena_cfg_json::tests::test_get_api_key_found_as_device_api_key ... ok [INFO] [stdout] test stage1::migrate_info::balena_cfg_json::tests::test_get_api_key_not_found ... ok [INFO] [stdout] test stage1::utils::tests::test_read_buffer ... ok [INFO] [stderr] 2025-01-15 11:12:20 DEBUG [takeover::stage1::image_retrieval::tests] Selection is ~3.2.8 [INFO] [stderr] 2025-01-15 11:12:20 DEBUG [takeover::stage1::image_retrieval::tests] Selection is 4.0.26+rev [INFO] [stderr] 2025-01-15 11:12:20 INFO [takeover::stage1::image_retrieval] Selected version 4.0.26+rev for download [INFO] [stderr] 2025-01-15 11:12:20 DEBUG [takeover::stage1::image_retrieval::tests] Selection is ^3.2 [INFO] [stderr] 2025-01-15 11:12:20 INFO [takeover::stage1::image_retrieval] Selected version 3.3.0 for download [INFO] [stderr] 2025-01-15 11:12:20 DEBUG [takeover::stage1::image_retrieval::tests] Selection is default [INFO] [stderr] 2025-01-15 11:12:20 DEBUG [takeover::stage1::image_retrieval] Looking at version 5.1.20+rev1 [INFO] [stderr] 2025-01-15 11:12:20 INFO [takeover::stage1::image_retrieval] Selected default version (5.1.20+rev1) for download [INFO] [stderr] 2025-01-15 11:12:20 INFO [takeover::stage1::image_retrieval] Selected version 3.2.25 for download [INFO] [stdout] test stage1::image_retrieval::tests::returns_specific_version ... ok [INFO] [stdout] test stage1::image_retrieval::tests::returns_compatible_version ... ok [INFO] [stdout] test stage1::image_retrieval::tests::returns_latest_version_by_default ... ok [INFO] [stdout] test stage1::image_retrieval::tests::returns_closest_version ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "22258c2a31fb520740b6deb94f35f935cadf251e4d6c0e6701ce5adb5c1d3ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22258c2a31fb520740b6deb94f35f935cadf251e4d6c0e6701ce5adb5c1d3ae1", kill_on_drop: false }` [INFO] [stdout] 22258c2a31fb520740b6deb94f35f935cadf251e4d6c0e6701ce5adb5c1d3ae1