[INFO] cloning repository https://github.com/3lgocho/ps2_batchkit_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3lgocho/ps2_batchkit_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3lgocho%2Fps2_batchkit_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3lgocho%2Fps2_batchkit_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80af6e184e01a6ea418fee5d5b2adca9a1df0253 [INFO] testing 3lgocho/ps2_batchkit_rs against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3lgocho%2Fps2_batchkit_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/3lgocho/ps2_batchkit_rs [INFO] finished tweaking git repo https://github.com/3lgocho/ps2_batchkit_rs [INFO] tweaked toml for git repo https://github.com/3lgocho/ps2_batchkit_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/3lgocho/ps2_batchkit_rs on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/3lgocho/ps2_batchkit_rs 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" "+1.99.0-beta.8" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded sync_wrapper v0.1.2 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded directories v5.0.1 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba [INFO] running `Command { std: "docker" "start" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling cc v1.2.62 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling winnow v1.0.4 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling openssl-sys v0.9.115 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling wayland-sys v0.31.11 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling zerocopy v0.8.55 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling dlib v0.5.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling wayland-backend v0.3.16 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling toml_edit v0.25.13+spec-1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.79 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling quick-xml v0.41.0 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling wayland-client v0.31.15 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling wayland-scanner v0.31.11 [INFO] [stderr] Compiling uuid v1.24.0 [INFO] [stderr] Compiling async-fs v2.2.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rfd v0.15.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling pollster v0.4.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling shell-words v1.1.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling async-trait v0.1.91 [INFO] [stderr] Compiling serde_repr v0.1.21 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.52.3 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling async-signal v0.2.14 [INFO] [stderr] Compiling rand v0.9.5 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling dialoguer v0.11.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling zvariant_utils v3.5.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling zvariant_derive v5.13.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling zvariant v5.13.1 [INFO] [stderr] Compiling wayland-protocols v0.32.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling zbus_names v4.3.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling zbus_macros v5.18.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling zbus v5.18.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ashpd v0.11.1 [INFO] [stderr] Compiling ps2_batchkit_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/core/downloader.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `directories::ProjectDirs` [INFO] [stdout] --> src/core/downloader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use directories::ProjectDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPO_HDL_DUMP` is never used [INFO] [stdout] --> src/core/downloader.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const REPO_HDL_DUMP: &str = "ps2homebrew/hdl-dump"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPO_PFSSHELL` is never used [INFO] [stdout] --> src/core/downloader.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const REPO_PFSSHELL: &str = "ps2homebrew/pfsshell"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPO_CUE2POPS` is never used [INFO] [stdout] --> src/core/downloader.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const REPO_CUE2POPS: &str = "israpps/cue2pops"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bin_dir` is never used [INFO] [stdout] --> src/core/downloader.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_bin_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_latest_release` is never used [INFO] [stdout] --> src/core/downloader.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn download_latest_release(client: &Client, repo: &str, binary_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `slice_size_mib` and `start_sector` are never read [INFO] [stdout] --> src/ps2/pfsshell_wrap.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PartitionInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub slice_size_mib: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub mode_hex: String, [INFO] [stdout] 14 | pub start_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartitionInfo` 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: function `get_tmp_dir` is never used [INFO] [stdout] --> src/ps1/cue2pops_wrap.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_tmp_dir() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `path` are never read [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Ps1Disc { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ps1Disc` 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: struct `MountGuard` is never constructed [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct MountGuard { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_root_entries` is never used [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | pub async fn list_root_entries(device: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_vcd` is never used [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | pub async fn upload_vcd(device: &str, vcd_path: &Path) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_game` is never used [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:407:14 [INFO] [stdout] | [INFO] [stdout] 407 | pub async fn get_game(device: &str, filename: &str, output_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_device_access` is never used [INFO] [stdout] --> src/utils/privilege.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn check_device_access(device_path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 52s [INFO] running `Command { std: "docker" "inspect" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling ps2_batchkit_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/core/downloader.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `directories::ProjectDirs` [INFO] [stdout] --> src/core/downloader.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use directories::ProjectDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPO_HDL_DUMP` is never used [INFO] [stdout] --> src/core/downloader.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const REPO_HDL_DUMP: &str = "ps2homebrew/hdl-dump"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPO_PFSSHELL` is never used [INFO] [stdout] --> src/core/downloader.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const REPO_PFSSHELL: &str = "ps2homebrew/pfsshell"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REPO_CUE2POPS` is never used [INFO] [stdout] --> src/core/downloader.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const REPO_CUE2POPS: &str = "israpps/cue2pops"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_bin_dir` is never used [INFO] [stdout] --> src/core/downloader.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_bin_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_latest_release` is never used [INFO] [stdout] --> src/core/downloader.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | pub async fn download_latest_release(client: &Client, repo: &str, binary_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `slice_size_mib` and `start_sector` are never read [INFO] [stdout] --> src/ps2/pfsshell_wrap.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct PartitionInfo { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub slice_size_mib: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pub mode_hex: String, [INFO] [stdout] 14 | pub start_sector: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PartitionInfo` 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: function `get_tmp_dir` is never used [INFO] [stdout] --> src/ps1/cue2pops_wrap.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_tmp_dir() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timestamp` and `path` are never read [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Ps1Disc { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub timestamp: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ps1Disc` 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: struct `MountGuard` is never constructed [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct MountGuard { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list_root_entries` is never used [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | pub async fn list_root_entries(device: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upload_vcd` is never used [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 249 | pub async fn upload_vcd(device: &str, vcd_path: &Path) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_game` is never used [INFO] [stdout] --> src/ps1/pfsshell_pops.rs:407:14 [INFO] [stdout] | [INFO] [stdout] 407 | pub async fn get_game(device: &str, filename: &str, output_dir: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_device_access` is never used [INFO] [stdout] --> src/utils/privilege.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn check_device_access(device_path: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/core/downloader.rs:2:17 [INFO] [stderr] | [INFO] [stderr] 2 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `directories::ProjectDirs` [INFO] [stderr] --> src/core/downloader.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use directories::ProjectDirs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REPO_HDL_DUMP` is never used [INFO] [stderr] --> src/core/downloader.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | const REPO_HDL_DUMP: &str = "ps2homebrew/hdl-dump"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `REPO_PFSSHELL` is never used [INFO] [stderr] --> src/core/downloader.rs:14:7 [INFO] [stderr] | [INFO] [stderr] 14 | const REPO_PFSSHELL: &str = "ps2homebrew/pfsshell"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `REPO_CUE2POPS` is never used [INFO] [stderr] --> src/core/downloader.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const REPO_CUE2POPS: &str = "israpps/cue2pops"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_bin_dir` is never used [INFO] [stderr] --> src/core/downloader.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn get_bin_dir() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `download_latest_release` is never used [INFO] [stderr] --> src/core/downloader.rs:25:14 [INFO] [stderr] | [INFO] [stderr] 25 | pub async fn download_latest_release(client: &Client, repo: &str, binary_name: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `slice_size_mib` and `start_sector` are never read [INFO] [stderr] --> src/ps2/pfsshell_wrap.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct PartitionInfo { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub slice_size_mib: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 13 | pub mode_hex: String, [INFO] [stderr] 14 | pub start_sector: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PartitionInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `get_tmp_dir` is never used [INFO] [stderr] --> src/ps1/cue2pops_wrap.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_tmp_dir() -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `timestamp` and `path` are never read [INFO] [stderr] --> src/ps1/pfsshell_pops.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct Ps1Disc { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | pub timestamp: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 20 | pub path: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Ps1Disc` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `MountGuard` is never constructed [INFO] [stderr] --> src/ps1/pfsshell_pops.rs:34:8 [INFO] [stderr] | [INFO] [stderr] 34 | struct MountGuard { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `list_root_entries` is never used [INFO] [stderr] --> src/ps1/pfsshell_pops.rs:215:14 [INFO] [stderr] | [INFO] [stderr] 215 | pub async fn list_root_entries(device: &str) -> Result, String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `upload_vcd` is never used [INFO] [stderr] --> src/ps1/pfsshell_pops.rs:249:14 [INFO] [stderr] | [INFO] [stderr] 249 | pub async fn upload_vcd(device: &str, vcd_path: &Path) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_game` is never used [INFO] [stderr] --> src/ps1/pfsshell_pops.rs:407:14 [INFO] [stderr] | [INFO] [stderr] 407 | pub async fn get_game(device: &str, filename: &str, output_dir: &Path) -> Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_device_access` is never used [INFO] [stderr] --> src/utils/privilege.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn check_device_access(device_path: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ps2_batchkit_rs` (bin "ps2_batchkit_rs" test) generated 15 warnings (run `cargo fix --bin "ps2_batchkit_rs" -p ps2_batchkit_rs --tests` to apply 2 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.35s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/ps2_batchkit_rs-c6652c62cd38f260) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba", kill_on_drop: false }` [INFO] [stdout] fd97abd1b01df54fff68dca109628e1af2d61cca1669574e6590491c0f7782ba