[INFO] cloning repository https://github.com/chelal233/dsh-nexus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chelal233/dsh-nexus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchelal233%2Fdsh-nexus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchelal233%2Fdsh-nexus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28ee57fd41664811e67ec641cb4f468c62c629a0 [INFO] checking chelal233/dsh-nexus against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchelal233%2Fdsh-nexus" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/chelal233/dsh-nexus [INFO] finished tweaking git repo https://github.com/chelal233/dsh-nexus [INFO] tweaked toml for git repo https://github.com/chelal233/dsh-nexus written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chelal233/dsh-nexus on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chelal233/dsh-nexus 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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] 83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9 [INFO] running `Command { std: "docker" "start" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9", 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" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Checking futures-core v0.3.34 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Checking smallvec v1.16.0 [INFO] [stderr] Checking log v0.4.34 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking litemap v0.8.3 [INFO] [stderr] Checking writeable v0.6.4 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Checking http v1.5.0 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Checking memchr v2.8.3 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling syn v3.0.4 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Checking futures-task v0.3.34 [INFO] [stderr] Checking http-body v1.1.0 [INFO] [stderr] Compiling cc v1.4.4 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking mio v1.2.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking zeroize v1.9.0 [INFO] [stderr] Checking hashbrown v0.17.1 [INFO] [stderr] Checking rustls-pki-types v1.15.1 [INFO] [stderr] Checking futures-channel v0.3.34 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking windows-link v0.2.1 [INFO] [stderr] Compiling rustls v0.23.43 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Checking windows-sys v0.61.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking indexmap v2.14.2 [INFO] [stderr] Checking nexus-private-file v1.0.7 (/opt/rustwide/workdir/crates/nexus-private-file) [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body-util v0.1.5 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking ipnet v2.12.1 [INFO] [stderr] Checking futures-sink v0.3.34 [INFO] [stderr] Checking bitflags v2.13.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking webpki-roots v1.0.9 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling openssl-src v300.6.1+3.6.3 [INFO] [stderr] Compiling libz-sys v1.1.29 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Compiling openssl-sys v0.9.117 [INFO] [stderr] Compiling libgit2-sys v0.18.8+1.9.7 [INFO] [stderr] Checking regex-syntax v0.8.11 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking zerovec v0.11.8 [INFO] [stderr] Checking zerotrie v0.2.5 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tinystr v0.8.4 [INFO] [stderr] Checking icu_locale_core v2.3.0 [INFO] [stderr] Checking potential_utf v0.1.6 [INFO] [stderr] Checking icu_collections v2.3.0 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking icu_provider v2.3.1 [INFO] [stderr] Checking icu_properties v2.3.0 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Checking serde_yaml_ng v0.10.0 [INFO] [stderr] Checking nexus-protocol v1.0.7 (/opt/rustwide/workdir/crates/nexus-protocol) [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking nexus-snapshots v1.0.7 (/opt/rustwide/workdir/crates/nexus-snapshots) [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking hyper v1.11.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking nexus-core v1.0.7 (/opt/rustwide/workdir/crates/nexus-core) [INFO] [stdout] warning: unused import: `ffi::OsString` [INFO] [stdout] --> crates/nexus-core/src/lib.rs:3804:9 [INFO] [stdout] | [INFO] [stdout] 3804 | ffi::OsString, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking nexus-launcher-core v1.0.7 (/opt/rustwide/workdir/crates/nexus-launcher-core) [INFO] [stderr] Checking nexus-cli v1.0.7 (/opt/rustwide/workdir/crates/nexus-cli) [INFO] [stderr] Checking nexus-launcher v1.0.7 (/opt/rustwide/workdir/crates/nexus-launcher) [INFO] [stdout] warning: constant `INNER_BUDGET_SECS` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_shutdown.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const INNER_BUDGET_SECS: u64 = 150; [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 `OUTER_BUDGET_SECS` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_shutdown.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OUTER_BUDGET_SECS: u64 = INNER_BUDGET_SECS + 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OWNED` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OWNED: &[&str] = &[ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_link` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn is_link(metadata: &fs::Metadata) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `protected` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn protected(path: &Path, homes: &[&Path]) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `same_path` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn same_path(left: &Path, right: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_owned` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn remove_owned(path: &Path, homes: &[&Path]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cleanup` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn cleanup(root: &Path, home: Option<&Path>) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `installer_chinese` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_cleanup.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn installer_chinese(explicit: Option<&str>, system_lang: u16) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INNER_BUDGET_SECS` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_shutdown.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const INNER_BUDGET_SECS: u64 = 150; [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 `OUTER_BUDGET_SECS` is never used [INFO] [stdout] --> crates/nexus-launcher/src/installer_shutdown.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const OUTER_BUDGET_SECS: u64 = INNER_BUDGET_SECS + 30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking git2 v0.20.4 [INFO] [stderr] Checking nexus-agent v1.0.7 (/opt/rustwide/workdir/crates/nexus-agent) [INFO] [stdout] warning: unused import: `run_logged_command` [INFO] [stdout] --> crates/nexus-agent/src/updater.rs:790:17 [INFO] [stdout] | [INFO] [stdout] 790 | use super::{run_logged_command, InstallOperation}; [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: `sync::Arc` [INFO] [stdout] --> crates/nexus-agent/src/updater.rs:791:27 [INFO] [stdout] | [INFO] [stdout] 791 | use std::{path::Path, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> crates/nexus-agent/src/updater.rs:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `release_id` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | let release_id = source [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_release_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal_context` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | let terminal_context = format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pnpm_is_script` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | let pnpm_is_script = pnpm_pin.as_ref().is_some_and(|path| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pnpm_is_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envs` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | let envs = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_dir` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:851:71 [INFO] [stdout] | [INFO] [stdout] 851 | fn open_resolved_profile_path(target: &str, path: std::path::PathBuf, open_dir: bool) -> axum::response::Response { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::::fetch_update`: renamed to `try_update` for consistency [INFO] [stdout] --> crates/nexus-agent/src/supervisor.rs:6904:22 [INFO] [stdout] | [INFO] [stdout] 6904 | .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |remaining| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 6904 - .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |remaining| { [INFO] [stdout] 6904 + .try_update(Ordering::SeqCst, Ordering::SeqCst, |remaining| { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DSH_TERMINAL_WAIT` is never used [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:488:7 [INFO] [stdout] | [INFO] [stdout] 488 | const DSH_TERMINAL_WAIT: &str = r#"$wait = [Diagnostics.Stopwatch]::StartNew(); while (-not (Test-Path -LiteralPath $env:NEXUS_TERM... [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 `DSH_TERMINAL_INIT` is never used [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:490:7 [INFO] [stdout] | [INFO] [stdout] 490 | const DSH_TERMINAL_INIT: &str = r#"function global:dsh { $launch = if ($env:NEXUS_TERMINAL_ARGS) { @(ConvertFrom-Json -InputObject ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `job` is never read [INFO] [stdout] --> crates/nexus-agent/src/process_recovery.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Owner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) job: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `cleanup_failure` and `wait_for_tree_exit` are never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:1090:8 [INFO] [stdout] | [INFO] [stdout] 997 | impl OwnedProcessTree { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 1090 | fn cleanup_failure(&mut self, primary: io::Error) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1102 | fn wait_for_tree_exit(&mut self, timeout: Duration) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `named_operation_job_is_empty` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:1237:15 [INFO] [stdout] | [INFO] [stdout] 1237 | pub(crate) fn named_operation_job_is_empty(name: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REASON_UNSAFE_CMD_PATH` is never used [INFO] [stdout] --> crates/nexus-agent/src/runtime.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const REASON_UNSAFE_CMD_PATH: &str = "unsafe_cmd_path"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_safe_cmd_path` is never used [INFO] [stdout] --> crates/nexus-agent/src/runtime.rs:1550:4 [INFO] [stdout] | [INFO] [stdout] 1550 | fn is_safe_cmd_path(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `unix_harness::Child` [INFO] [stdout] --> crates/nexus-agent/src/supervisor.rs:1209:32 [INFO] [stdout] | [INFO] [stdout] 1209 | inner.child = Some(child.into()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1209 - inner.child = Some(child.into()); [INFO] [stdout] 1209 + inner.child = Some(child); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 1209 - inner.child = Some(child.into()); [INFO] [stdout] 1209 + inner.child = Some(>::into(child)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `unix_harness::Child` [INFO] [stdout] --> crates/nexus-agent/src/supervisor.rs:1579:32 [INFO] [stdout] | [INFO] [stdout] 1579 | inner.child = Some(child.into()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1579 - inner.child = Some(child.into()); [INFO] [stdout] 1579 + inner.child = Some(child); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 1579 - inner.child = Some(child.into()); [INFO] [stdout] 1579 + inner.child = Some(>::into(child)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nexus-agent` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `release_id` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | let release_id = source [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_release_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal_context` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | let terminal_context = format!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pnpm_is_script` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 607 | let pnpm_is_script = pnpm_pin.as_ref().is_some_and(|path| { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pnpm_is_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `envs` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:617:9 [INFO] [stdout] | [INFO] [stdout] 617 | let envs = [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_envs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `open_dir` [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:851:71 [INFO] [stdout] | [INFO] [stdout] 851 | fn open_resolved_profile_path(target: &str, path: std::path::PathBuf, open_dir: bool) -> axum::response::Response { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_open_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:999:18 [INFO] [stdout] | [INFO] [stdout] 999 | fn new_named(mut child: Child, fault: ProcessTreeFault, job_name: Option<&str>) -> io::Result { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_name` [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:999:61 [INFO] [stdout] | [INFO] [stdout] 999 | fn new_named(mut child: Child, fault: ProcessTreeFault, job_name: Option<&str>) -> io::Result { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DSH_TERMINAL_WAIT` is never used [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:488:7 [INFO] [stdout] | [INFO] [stdout] 488 | const DSH_TERMINAL_WAIT: &str = r#"$wait = [Diagnostics.Stopwatch]::StartNew(); while (-not (Test-Path -LiteralPath $env:NEXUS_TERM... [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 `DSH_TERMINAL_INIT` is never used [INFO] [stdout] --> crates/nexus-agent/src/profile_api.rs:490:7 [INFO] [stdout] | [INFO] [stdout] 490 | const DSH_TERMINAL_INIT: &str = r#"function global:dsh { $launch = if ($env:NEXUS_TERMINAL_ARGS) { @(ConvertFrom-Json -InputObject ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `job` is never read [INFO] [stdout] --> crates/nexus-agent/src/process_recovery.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct Owner { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub(crate) job: String, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_owned_process` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:796:4 [INFO] [stdout] | [INFO] [stdout] 796 | fn run_owned_process(command: &mut Command, timeout: Duration) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProcessTreeFault` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:802:6 [INFO] [stdout] | [INFO] [stdout] 802 | enum ProcessTreeFault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_owned_process_inner` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:813:4 [INFO] [stdout] | [INFO] [stdout] 813 | fn run_owned_process_inner( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_owned_process_cancelled` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:918:4 [INFO] [stdout] | [INFO] [stdout] 918 | fn run_owned_process_cancelled( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `configure_owned_process` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:976:4 [INFO] [stdout] | [INFO] [stdout] 976 | fn configure_owned_process(command: &mut Command) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_named`, `resume`, `cleanup_failure`, and `wait_for_tree_exit` are never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:999:8 [INFO] [stdout] | [INFO] [stdout] 997 | impl OwnedProcessTree { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 998 | #[cfg(test)] [INFO] [stdout] 999 | fn new_named(mut child: Child, fault: ProcessTreeFault, job_name: Option<&str>) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1041 | fn resume(&mut self, fault: ProcessTreeFault) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1090 | fn cleanup_failure(&mut self, primary: io::Error) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1102 | fn wait_for_tree_exit(&mut self, timeout: Duration) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `named_operation_job_is_empty` is never used [INFO] [stdout] --> crates/nexus-agent/src/dsh.rs:1237:15 [INFO] [stdout] | [INFO] [stdout] 1237 | pub(crate) fn named_operation_job_is_empty(name: &str) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REASON_UNSAFE_CMD_PATH` is never used [INFO] [stdout] --> crates/nexus-agent/src/runtime.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const REASON_UNSAFE_CMD_PATH: &str = "unsafe_cmd_path"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `unix_harness::Child` [INFO] [stdout] --> crates/nexus-agent/src/supervisor.rs:1209:32 [INFO] [stdout] | [INFO] [stdout] 1209 | inner.child = Some(child.into()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1209 - inner.child = Some(child.into()); [INFO] [stdout] 1209 + inner.child = Some(child); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 1209 - inner.child = Some(child.into()); [INFO] [stdout] 1209 + inner.child = Some(>::into(child)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `unix_harness::Child` [INFO] [stdout] --> crates/nexus-agent/src/supervisor.rs:1579:32 [INFO] [stdout] | [INFO] [stdout] 1579 | inner.child = Some(child.into()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 1579 - inner.child = Some(child.into()); [INFO] [stdout] 1579 + inner.child = Some(child); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 1579 - inner.child = Some(child.into()); [INFO] [stdout] 1579 + inner.child = Some(>::into(child)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nexus-agent` (lib test) due to 2 previous errors; 22 warnings emitted [INFO] [stderr] warning: unused dependency `windows-sys` [INFO] [stderr] --> crates/nexus-snapshots/Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | windows-sys = { workspace = true } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `windows-sys` [INFO] [stderr] warning: `nexus-snapshots` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "inspect" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9", kill_on_drop: false }` [INFO] [stdout] 83c01e331c0e31076eed6f37bd54662f9c34a443a68409c67f69d501b83d4fb9