[INFO] cloning repository https://github.com/xoros-repo/xoros-rescue-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xoros-repo/xoros-rescue-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoros-repo%2Fxoros-rescue-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoros-repo%2Fxoros-rescue-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9e6e96546cc2b19157bd7e5871d6a4a1a3e7caa [INFO] checking xoros-repo/xoros-rescue-shell against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoros-repo%2Fxoros-rescue-shell" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xoros-repo/xoros-rescue-shell on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xoros-repo/xoros-rescue-shell [INFO] finished tweaking git repo https://github.com/xoros-repo/xoros-rescue-shell [INFO] tweaked toml for git repo https://github.com/xoros-repo/xoros-rescue-shell written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xoros-repo/xoros-rescue-shell 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cursive v0.20.0 [INFO] [stderr] Downloaded cursive_buffered_backend v0.6.1 [INFO] [stderr] Downloaded cursive_core v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45e01ffa968925e103c9547a7706f15fb4f9d6b7ebb1c455a7b95b9fb1d55d7b [INFO] running `Command { std: "docker" "start" "-a" "45e01ffa968925e103c9547a7706f15fb4f9d6b7ebb1c455a7b95b9fb1d55d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45e01ffa968925e103c9547a7706f15fb4f9d6b7ebb1c455a7b95b9fb1d55d7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e01ffa968925e103c9547a7706f15fb4f9d6b7ebb1c455a7b95b9fb1d55d7b", kill_on_drop: false }` [INFO] [stdout] 45e01ffa968925e103c9547a7706f15fb4f9d6b7ebb1c455a7b95b9fb1d55d7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aed4f23358ff5c7aa81420eb22d38d508ddc2d49615335b5bd8d9aef865f3dea [INFO] running `Command { std: "docker" "start" "-a" "aed4f23358ff5c7aa81420eb22d38d508ddc2d49615335b5bd8d9aef865f3dea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking sysinfo v0.30.12 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Checking enumset v1.1.3 [INFO] [stderr] Checking cursive_core v0.3.7 [INFO] [stderr] Checking cursive_buffered_backend v0.6.1 [INFO] [stderr] Checking cursive v0.20.0 [INFO] [stderr] Checking xoros-rescue-shell v0.1.1-2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CursiveExt` and `Cursive` [INFO] [stdout] --> src/ui/menus/recovery.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use cursive::{Cursive, CursiveExt, menu}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CursiveExt` and `Cursive` [INFO] [stdout] --> src/ui/menus/recovery.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use cursive::{Cursive, CursiveExt, menu}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LastSizeView` and `ScrollView` [INFO] [stdout] --> src/ui/menus/help.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use cursive::views::{Dialog, LastSizeView, ScrollView, TextView}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextView` [INFO] [stdout] --> src/ui/menus/quit.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use cursive::views::{Dialog, TextView}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LastSizeView` and `ScrollView` [INFO] [stdout] --> src/ui/menus/help.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use cursive::views::{Dialog, LastSizeView, ScrollView, TextView}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys::info::disks_info` [INFO] [stdout] --> src/ui/menus/quit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sys::info::disks_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::Disks` [INFO] [stdout] --> src/sys/info/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sysinfo::Disks; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TextView` [INFO] [stdout] --> src/ui/menus/quit.rs:3:30 [INFO] [stdout] | [INFO] [stdout] 3 | use cursive::views::{Dialog, TextView}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sys::info::disks_info` [INFO] [stdout] --> src/ui/menus/quit.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::sys::info::disks_info; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::reexports::time::format_description::well_known::iso8601::FormattedComponents::DateTime` [INFO] [stdout] --> src/sys/info/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cursive::reexports::time::format_description::well_known::iso8601::FormattedComponents::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sysinfo::Disks` [INFO] [stdout] --> src/sys/info/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sysinfo::Disks; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/sys/actions/flash.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::reexports::time::format_description::well_known::iso8601::FormattedComponents::DateTime` [INFO] [stdout] --> src/sys/info/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cursive::reexports::time::format_description::well_known::iso8601::FormattedComponents::DateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/sys/actions/flash.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> src/sys/actions/flash.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::{File, OpenOptions}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sys/actions/flash.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | if (verify_sha256_checksum(data, sha256)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - if (verify_sha256_checksum(data, sha256)) { [INFO] [stdout] 9 + if verify_sha256_checksum(data, sha256) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> src/sys/actions/flash.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::views::NamedView` [INFO] [stdout] --> src/models/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::views::NamedView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sys/actions/flash.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | if (verify_sha256_checksum(data, sha256)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - if (verify_sha256_checksum(data, sha256)) { [INFO] [stdout] 9 + if verify_sha256_checksum(data, sha256) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursive::views::NamedView` [INFO] [stdout] --> src/models/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::views::NamedView; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/sys/info/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/sys/info/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/sys/actions/flash.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> src/sys/actions/flash.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ui/menus/recovery.rs:27:62 [INFO] [stdout] | [INFO] [stdout] 27 | ... s.add_global_callback(Key::Esc, |s| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/ui/menus/recovery.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | ... .with_label(| value, (min, max)| -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ui/menus/recovery.rs:27:62 [INFO] [stdout] | [INFO] [stdout] 27 | ... s.add_global_callback(Key::Esc, |s| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `min` [INFO] [stdout] --> src/ui/menus/recovery.rs:32:55 [INFO] [stdout] | [INFO] [stdout] 32 | ... .with_label(| value, (min, max)| -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell_exec` [INFO] [stdout] --> src/ui/menus/recovery.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let shell_exec = env::var("SHELL").unwrap_or("/bin/sh".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shell_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell_exit_status` [INFO] [stdout] --> src/ui/menus/recovery.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let shell_exit_status = Exec::shell(format!("{0} -c 'export PS1=\"rescue-shell# \"; reset; {0}'", "/bin/sh")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shell_exit_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell_exec` [INFO] [stdout] --> src/ui/menus/recovery.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let shell_exec = env::var("SHELL").unwrap_or("/bin/sh".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shell_exec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell_exit_status` [INFO] [stdout] --> src/ui/menus/recovery.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | let shell_exit_status = Exec::shell(format!("{0} -c 'export PS1=\"rescue-shell# \"; reset; {0}'", "/bin/sh")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shell_exit_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ui/menus/quit.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | .button("Quit", |s| std::process::exit(0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ui/menus/quit.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | .button("Quit", |s| std::process::exit(0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ui/menus/quit.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | .button("Reboot", |s| std::process::exit(0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/ui/menus/quit.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | .button("Reboot", |s| std::process::exit(0)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sys/info/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/sys/info/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManifestImagesJSON` is never constructed [INFO] [stdout] --> src/models/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct ManifestImagesJSON { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManifestChunksJSON` is never constructed [INFO] [stdout] --> src/models/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ManifestChunksJSON { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManifestJSON` is never constructed [INFO] [stdout] --> src/models/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct ManifestJSON { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManifestImagesJSON` is never constructed [INFO] [stdout] --> src/models/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct ManifestImagesJSON { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManifestChunksJSON` is never constructed [INFO] [stdout] --> src/models/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ManifestChunksJSON { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManifestJSON` is never constructed [INFO] [stdout] --> src/models/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct ManifestJSON { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `View` and `views` [INFO] [stdout] --> src/main.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, event::Key, View, views, views::Dialog}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `View` and `views` [INFO] [stdout] --> src/main.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use cursive::{Cursive, event::Key, View, views, views::Dialog}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_view` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let log_view = Layer::new(ScrollView::new(TextView::new(""))) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `log_view` [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let log_view = Layer::new(ScrollView::new(TextView::new(""))) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_view` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | .add_leaf("Reboot", |s| quit_handler()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:47:30 [INFO] [stdout] | [INFO] [stdout] 47 | .add_leaf("Reboot", |s| quit_handler()); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.00s [INFO] running `Command { std: "docker" "inspect" "aed4f23358ff5c7aa81420eb22d38d508ddc2d49615335b5bd8d9aef865f3dea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed4f23358ff5c7aa81420eb22d38d508ddc2d49615335b5bd8d9aef865f3dea", kill_on_drop: false }` [INFO] [stdout] aed4f23358ff5c7aa81420eb22d38d508ddc2d49615335b5bd8d9aef865f3dea [INFO] checking xoros-repo/xoros-rescue-shell against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoros-repo%2Fxoros-rescue-shell" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xoros-repo/xoros-rescue-shell on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xoros-repo/xoros-rescue-shell [INFO] finished tweaking git repo https://github.com/xoros-repo/xoros-rescue-shell [INFO] tweaked toml for git repo https://github.com/xoros-repo/xoros-rescue-shell written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xoros-repo/xoros-rescue-shell 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3911556703e3aab979088a9f776edbdbf82adc56000a4a8ff7431f0215a4d47f [INFO] running `Command { std: "docker" "start" "-a" "3911556703e3aab979088a9f776edbdbf82adc56000a4a8ff7431f0215a4d47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3911556703e3aab979088a9f776edbdbf82adc56000a4a8ff7431f0215a4d47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3911556703e3aab979088a9f776edbdbf82adc56000a4a8ff7431f0215a4d47f", kill_on_drop: false }` [INFO] [stdout] 3911556703e3aab979088a9f776edbdbf82adc56000a4a8ff7431f0215a4d47f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19ebda6eb446f9f3c815c63352e4382f0552a029be4335c74f5014a24f7a252b [INFO] running `Command { std: "docker" "start" "-a" "19ebda6eb446f9f3c815c63352e4382f0552a029be4335c74f5014a24f7a252b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking xi-unicode v0.3.0 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 841 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 842 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 843 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 844 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 845 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.46/src/lib.rs:511:41 [INFO] [stdout] | [INFO] [stdout] 511 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 846 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "19ebda6eb446f9f3c815c63352e4382f0552a029be4335c74f5014a24f7a252b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19ebda6eb446f9f3c815c63352e4382f0552a029be4335c74f5014a24f7a252b", kill_on_drop: false }` [INFO] [stdout] 19ebda6eb446f9f3c815c63352e4382f0552a029be4335c74f5014a24f7a252b