[INFO] cloning repository https://github.com/ION-FX/Nucleus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ION-FX/Nucleus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FION-FX%2FNucleus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FION-FX%2FNucleus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4647b10a6e2fe26adfcc9656200805e980e84551 [INFO] testing ION-FX/Nucleus against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FION-FX%2FNucleus" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ION-FX/Nucleus [INFO] finished tweaking git repo https://github.com/ION-FX/Nucleus [INFO] tweaked toml for git repo https://github.com/ION-FX/Nucleus written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ION-FX/Nucleus on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ION-FX/Nucleus 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `tower` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | tower = "0.5" [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `tower` [INFO] [stderr] warning: unused field `license` in `workspace.package` [INFO] [stderr] --> Cargo.toml:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | license = "MIT" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.license` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2 [INFO] running `Command { std: "docker" "start" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", 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" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", 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" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `tower` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | tower = "0.5" [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `tower` [INFO] [stderr] warning: unused field `license` in `workspace.package` [INFO] [stderr] --> Cargo.toml:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | license = "MIT" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.license` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.189 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling cmov v0.5.4 [INFO] [stderr] Compiling rand_core v0.10.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling const-oid v0.10.2 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling cpufeatures v0.3.0 [INFO] [stderr] Compiling ctutils v0.4.2 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling hybrid-array v0.4.14 [INFO] [stderr] Compiling find-msvc-tools v0.1.11 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling futures-core v0.3.34 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.4.4 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling cpubits v0.1.1 [INFO] [stderr] Compiling block-buffer v0.12.1 [INFO] [stderr] Compiling block-padding v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.34 [INFO] [stderr] Compiling inout v0.2.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling crypto-common v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling mio v1.2.2 [INFO] [stderr] Compiling futures-io v0.3.34 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.34 [INFO] [stderr] Compiling pkg-config v0.3.34 [INFO] [stderr] Compiling pem-rfc7468 v1.0.0 [INFO] [stderr] Compiling digest v0.11.3 [INFO] [stderr] Compiling cipher v0.5.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling http v1.5.0 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling zerocopy v0.8.56 [INFO] [stderr] Compiling sha2 v0.11.0 [INFO] [stderr] Compiling hmac v0.13.0 [INFO] [stderr] Compiling universal-hash v0.6.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling polyval v0.7.3 [INFO] [stderr] Compiling aws-lc-sys v0.44.0 [INFO] [stderr] Compiling der v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ghash v0.6.0 [INFO] [stderr] Compiling pbkdf2 v0.13.0 [INFO] [stderr] Compiling ctr v0.10.1 [INFO] [stderr] Compiling aes v0.9.2 [INFO] [stderr] Compiling aead v0.6.1 [INFO] [stderr] Compiling crypto-bigint v0.7.5 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling spki v0.8.0 [INFO] [stderr] Compiling aes-gcm v0.11.1 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling salsa20 v0.11.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling aws-lc-rs v1.18.0 [INFO] [stderr] Compiling scrypt v0.12.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-macro v0.3.34 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling futures-util v0.3.34 [INFO] [stderr] Compiling zerovec-derive v0.11.6 [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] Compiling zerofrom v0.1.8 [INFO] [stderr] Compiling cbc v0.2.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling rustls-pki-types v1.15.1 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling pkcs5 v0.8.1 [INFO] [stderr] Compiling http-body v1.1.0 [INFO] [stderr] Compiling litemap v0.8.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling writeable v0.6.4 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling pkcs8 v0.11.0 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling ff v0.14.0 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling thiserror v2.0.20 [INFO] [stderr] Compiling rustls v0.23.43 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling group v0.14.0 [INFO] [stderr] Compiling thiserror-impl v2.0.20 [INFO] [stderr] Compiling signature v3.0.0 [INFO] [stderr] Compiling base16ct v1.0.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling sec1 v0.8.1 [INFO] [stderr] Compiling icu_normalizer v2.3.0 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hkdf v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.47 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling ipnet v2.12.1 [INFO] [stderr] Compiling tokio-util v0.7.19 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling elliptic-curve v0.14.1 [INFO] [stderr] Compiling http-body-util v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling h2 v0.4.19 [INFO] [stderr] Compiling data-encoding v2.11.1 [INFO] [stderr] Compiling idna_adapter v1.2.2 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling wnaf v0.14.0 [INFO] [stderr] Compiling sha1 v0.10.7 [INFO] [stderr] Compiling primefield v0.14.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling webpki-roots v1.0.9 [INFO] [stderr] Compiling rfc6979 v0.6.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.23 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ecdsa v0.17.0 [INFO] [stderr] Compiling primeorder v0.14.0 [INFO] [stderr] Compiling curve25519-dalek v5.0.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling chacha20 v0.10.1 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cfg_aliases v0.2.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling simd-adler32 v0.3.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling nix v0.31.3 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling rand v0.9.5 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ssh-encoding v0.3.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling keccak v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.104 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hyper v1.11.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling tungstenite v0.29.0 [INFO] [stderr] Compiling rand v0.8.7 [INFO] [stderr] Compiling blowfish v0.10.0 [INFO] [stderr] Compiling ed25519 v3.0.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling crypto-primes v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pkcs1 v0.8.0-rc.4 [INFO] [stderr] Compiling poly1305 v0.9.1 [INFO] [stderr] Compiling blake2 v0.11.0-rc.6 [INFO] [stderr] Compiling fs-err v3.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling http-range-header v0.4.2 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling spin v0.9.9 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling rsa v0.10.0-rc.18 [INFO] [stderr] Compiling clap_builder v4.6.6 [INFO] [stderr] Compiling clap_derive v4.6.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tower-http v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling argon2 v0.6.0-rc.8 [INFO] [stderr] Compiling ssh-cipher v0.3.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling rust-embed-utils v8.12.0 [INFO] [stderr] Compiling tokio-tungstenite v0.29.0 [INFO] [stderr] Compiling ed25519-dalek v3.0.0 [INFO] [stderr] Compiling bcrypt-pbkdf v0.11.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling askama_parser v0.2.1 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling sha3 v0.11.0 [INFO] [stderr] Compiling rand v0.10.2 [INFO] [stderr] Compiling p521 v0.14.0 [INFO] [stderr] Compiling p384 v0.14.0 [INFO] [stderr] Compiling p256 v0.14.0 [INFO] [stderr] Compiling axum-core v0.5.6 [INFO] [stderr] Compiling num-iter v0.1.46 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-executor v0.3.34 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling serde_repr v0.1.21 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling sha1 v0.11.0 [INFO] [stderr] Compiling serde_with v3.22.0 [INFO] [stderr] Compiling uuid v1.25.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling kem v0.3.0 [INFO] [stderr] Compiling module-lattice v0.2.3 [INFO] [stderr] Compiling thread_local v1.1.10 [INFO] [stderr] Compiling base64 v0.23.1 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling sponge-cursor v0.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling matchit v0.8.4 [INFO] [stderr] Compiling bytemuck v1.25.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bumpalo v3.20.3 [INFO] [stderr] Compiling zip v2.4.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling axum v0.8.9 [INFO] [stderr] Compiling zopfli v0.8.3 [INFO] [stderr] Compiling email-encoding v0.4.2 [INFO] [stderr] Compiling bollard-stubs v1.47.1-rc.27.3.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling sha3 v0.12.0 [INFO] [stderr] Compiling ml-kem v0.3.2 [INFO] [stderr] Compiling ssh-key v0.7.0-rc.11 [INFO] [stderr] Compiling nucleus-core v0.1.0 (/opt/rustwide/workdir/crates/nucleus-core) [INFO] [stderr] Compiling futures v0.3.34 [INFO] [stderr] Compiling askama_derive v0.12.5 [INFO] [stderr] Compiling internal-russh-num-bigint v0.5.0 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling dashmap v6.2.1 [INFO] [stderr] Compiling russh-cryptovec v0.62.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling clap v4.6.6 [INFO] [stderr] Compiling rust-embed-impl v8.12.0 [INFO] [stderr] Compiling xattr v1.6.1 [INFO] [stderr] Compiling hyperlocal v0.9.1 [INFO] [stderr] Compiling arc-swap v1.9.2 [INFO] [stderr] Compiling generic-array v1.4.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling russh-util v0.52.0 [INFO] [stderr] Compiling num-bigint v0.4.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling delegate v0.13.5 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling filetime v0.2.29 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling quoted_printable v0.5.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling md5 v0.8.1 [INFO] [stderr] Compiling nucleusd v0.1.0 (/opt/rustwide/workdir/crates/nucleusd) [INFO] [stderr] Compiling constant_time_eq v0.2.6 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling nucleus-panel v0.1.0 (/opt/rustwide/workdir/crates/nucleus-panel) [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling hex-literal v1.1.0 [INFO] [stderr] Compiling qrcode v0.12.0 [INFO] [stderr] Compiling totp-rs v1.4.0 [INFO] [stderr] Compiling askama v0.12.1 [INFO] [stderr] Compiling tar v0.4.46 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling russh-sftp v2.4.0 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling rust-embed v8.12.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling bollard v0.18.1 [INFO] [stderr] Compiling rustls-webpki v0.103.15 [INFO] [stderr] Compiling russh v0.63.0 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling hyper-rustls v0.27.9 [INFO] [stderr] Compiling lettre v0.11.23 [INFO] [stderr] Compiling axum-server v0.7.3 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> crates/nucleusd/src/backups.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [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: `std::sync::Arc` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [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: `super::pages::nav_ctx` [INFO] [stdout] --> crates/nucleus-panel/src/routes/proxy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::pages::nav_ctx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> crates/nucleusd/src/docker.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | let rt = state.get(id)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> crates/nucleus-panel/src/perms.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn is_owner_or_admin(db: &Db, user: &User, srv: &ServerRow) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:810:23 [INFO] [stdout] | [INFO] [stdout] 810 | fn build_invite_email(to: &str, link: &str, app_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:209:54 [INFO] [stdout] | [INFO] [stdout] 209 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:296:46 [INFO] [stdout] | [INFO] [stdout] 296 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:313:48 [INFO] [stdout] | [INFO] [stdout] 313 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:345:48 [INFO] [stdout] | [INFO] [stdout] 345 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:375:48 [INFO] [stdout] | [INFO] [stdout] 375 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:417:50 [INFO] [stdout] | [INFO] [stdout] 417 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:432:50 [INFO] [stdout] | [INFO] [stdout] 432 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:461:50 [INFO] [stdout] | [INFO] [stdout] 461 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:475:50 [INFO] [stdout] | [INFO] [stdout] 475 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:489:50 [INFO] [stdout] | [INFO] [stdout] 489 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:605:49 [INFO] [stdout] | [INFO] [stdout] 605 | require_api(app, headers, &id, "settings", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_email` [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | let user_email = user.email.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1406:22 [INFO] [stdout] | [INFO] [stdout] 1406 | fn shell_running_mem(form: &[(String, String)]) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1772:10 [INFO] [stdout] | [INFO] [stdout] 1772 | let (shell, srv, daemon) = shell_guard(&app, &headers, &id, "files").await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> crates/nucleus-panel/src/routes/proxy.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | let Some(user) = require_perm(&app, &headers, &id, "files") else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> crates/nucleus-panel/src/routes/proxy.rs:1074:14 [INFO] [stdout] | [INFO] [stdout] 1074 | let Some(user) = require_perm(&app, &headers, &id, "backups") else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> crates/nucleusd/src/files.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 494 | pub struct ArchiveReq { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 497 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/nucleusd/src/state.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Exit(i64), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Exit(i64), [INFO] [stdout] 19 + Exit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/nucleusd/src/backups.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / tokio::task::spawn_blocking(move || -> Result<()> { [INFO] [stdout] 23 | | if dir.exists() { [INFO] [stdout] 24 | | for ent in std::fs::read_dir(&dir)? { [INFO] [stdout] 25 | | let ent = ent?; [INFO] [stdout] ... | [INFO] [stdout] 36 | | .await [INFO] [stdout] 37 | | .map_err(|e| anyhow::anyhow!("join error {e}"))?; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = tokio::task::spawn_blocking(move || -> Result<()> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PowerBody` is more private than the item `api_server_power` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / pub async fn api_server_power( [INFO] [stdout] 102 | | State(app): State, [INFO] [stdout] 103 | | headers: HeaderMap, [INFO] [stdout] 104 | | AxumPath(id): AxumPath, [INFO] [stdout] 105 | | axum::Json(body): axum::Json, [INFO] [stdout] 106 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_server_power` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PowerBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | struct PowerBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PathBody` is more private than the item `api_files_mkdir` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / pub async fn api_files_mkdir( [INFO] [stdout] 267 | | State(app): State, [INFO] [stdout] 268 | | headers: HeaderMap, [INFO] [stdout] 269 | | AxumPath(id): AxumPath, [INFO] [stdout] 270 | | body: axum::Json, [INFO] [stdout] 271 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_files_mkdir` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PathBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | struct PathBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PathBody` is more private than the item `api_files_delete` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / pub async fn api_files_delete( [INFO] [stdout] 276 | | State(app): State, [INFO] [stdout] 277 | | headers: HeaderMap, [INFO] [stdout] 278 | | AxumPath(id): AxumPath, [INFO] [stdout] 279 | | body: axum::Json, [INFO] [stdout] 280 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_files_delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PathBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | struct PathBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RenameBody` is more private than the item `api_files_rename` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / pub async fn api_files_rename( [INFO] [stdout] 291 | | State(app): State, [INFO] [stdout] 292 | | headers: HeaderMap, [INFO] [stdout] 293 | | AxumPath(id): AxumPath, [INFO] [stdout] 294 | | axum::Json(body): axum::Json, [INFO] [stdout] 295 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_files_rename` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RenameBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | struct RenameBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ScheduleBody` is more private than the item `api_schedules_add` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | / pub async fn api_schedules_add( [INFO] [stdout] 427 | | State(app): State, [INFO] [stdout] 428 | | headers: HeaderMap, [INFO] [stdout] 429 | | AxumPath(id): AxumPath, [INFO] [stdout] 430 | | axum::Json(body): axum::Json, [INFO] [stdout] 431 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_schedules_add` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ScheduleBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | struct ScheduleBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ScheduleToggleBody` is more private than the item `api_schedules_toggle` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | / pub async fn api_schedules_toggle( [INFO] [stdout] 456 | | State(app): State, [INFO] [stdout] 457 | | headers: HeaderMap, [INFO] [stdout] 458 | | AxumPath((id, tid)): AxumPath<(String, String)>, [INFO] [stdout] 459 | | axum::Json(body): axum::Json, [INFO] [stdout] 460 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_schedules_toggle` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ScheduleToggleBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | struct ScheduleToggleBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ApiCreateBody` is more private than the item `api_server_create` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | / pub async fn api_server_create( [INFO] [stdout] 510 | | State(app): State, [INFO] [stdout] 511 | | headers: HeaderMap, [INFO] [stdout] 512 | | axum::Json(body): axum::Json, [INFO] [stdout] 513 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_server_create` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ApiCreateBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | struct ApiCreateBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_pending_cookie` is never used [INFO] [stdout] --> crates/nucleus-panel/src/auth.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Sessions { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn clear_pending_cookie() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alias` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct NodeForm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub alias: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AliasForm` is never constructed [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct AliasForm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodes_set_alias` is never used [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub async fn nodes_set_alias( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `msg_from_headers` is never used [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn msg_from_headers(headers: &HeaderMap) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alloc_disk_mb` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:968:9 [INFO] [stdout] | [INFO] [stdout] 946 | pub struct NodeDash { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 968 | pub alloc_disk_mb: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_email` and `is_admin` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct LoginTmpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub user_email: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | pub is_admin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_email` and `is_admin` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct RegisterTmpl { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | pub user_email: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | pub is_admin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr_host` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:818:9 [INFO] [stdout] | [INFO] [stdout] 808 | pub struct ShellCtx { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 818 | pub addr_host: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellCtx` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recent_logs` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 952 | pub struct ConsoleTmpl2 { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 955 | pub recent_logs: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw_path` and `error` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1585:9 [INFO] [stdout] | [INFO] [stdout] 1581 | pub struct FilesTmpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1585 | pub raw_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1592 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1797:9 [INFO] [stdout] | [INFO] [stdout] 1794 | pub struct SchedulesTmpl { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1797 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_owner` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1853:9 [INFO] [stdout] | [INFO] [stdout] 1850 | pub struct MemberRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1853 | pub is_owner: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `message_class`, and `error` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1864:9 [INFO] [stdout] | [INFO] [stdout] 1859 | pub struct AccessTmpl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1864 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1865 | pub message_class: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1866 | pub error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `totp_setup`, `totp_secret`, and `totp_qr` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:2027:9 [INFO] [stdout] | [INFO] [stdout] 2020 | pub struct AccountTmpl { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 2027 | pub totp_setup: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2028 | pub totp_secret: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 2029 | pub totp_qr: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_msg_pub` is never used [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:2203:8 [INFO] [stdout] | [INFO] [stdout] 2203 | pub fn query_msg_pub(headers: &HeaderMap) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `async-trait` [INFO] [stderr] --> crates/nucleusd/Cargo.toml:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | async-trait = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `async-trait` [INFO] [stderr] warning: unused dependency `walkdir` [INFO] [stderr] --> crates/nucleusd/Cargo.toml:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | walkdir = "2" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `walkdir` [INFO] [stderr] warning: `nucleusd` (manifest) generated 2 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7m 00s [INFO] running `Command { std: "docker" "inspect" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", 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" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `tower` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | tower = "0.5" [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `tower` [INFO] [stderr] warning: unused field `license` in `workspace.package` [INFO] [stderr] --> Cargo.toml:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | license = "MIT" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.license` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] Compiling nucleusd v0.1.0 (/opt/rustwide/workdir/crates/nucleusd) [INFO] [stderr] Compiling nucleus-core v0.1.0 (/opt/rustwide/workdir/crates/nucleus-core) [INFO] [stderr] Compiling nucleus-panel v0.1.0 (/opt/rustwide/workdir/crates/nucleus-panel) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> crates/nucleusd/src/backups.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [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: `std::sync::Arc` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::Arc; [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: `super::pages::nav_ctx` [INFO] [stdout] --> crates/nucleus-panel/src/routes/proxy.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::pages::nav_ctx; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rt` [INFO] [stdout] --> crates/nucleusd/src/docker.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | let rt = state.get(id)?; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `action` is never read [INFO] [stdout] --> crates/nucleusd/src/files.rs:497:9 [INFO] [stdout] | [INFO] [stdout] 494 | pub struct ArchiveReq { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 497 | pub action: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/nucleusd/src/state.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Exit(i64), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `LogEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - Exit(i64), [INFO] [stdout] 19 + Exit(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> crates/nucleusd/src/backups.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / tokio::task::spawn_blocking(move || -> Result<()> { [INFO] [stdout] 23 | | if dir.exists() { [INFO] [stdout] 24 | | for ent in std::fs::read_dir(&dir)? { [INFO] [stdout] 25 | | let ent = ent?; [INFO] [stdout] ... | [INFO] [stdout] 36 | | .await [INFO] [stdout] 37 | | .map_err(|e| anyhow::anyhow!("join error {e}"))?; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 22 | let _ = tokio::task::spawn_blocking(move || -> Result<()> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> crates/nucleus-panel/src/perms.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn is_owner_or_admin(db: &Db, user: &User, srv: &ServerRow) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to` [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:810:23 [INFO] [stdout] | [INFO] [stdout] 810 | fn build_invite_email(to: &str, link: &str, app_name: &str) -> anyhow::Result { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:71:48 [INFO] [stdout] | [INFO] [stdout] 71 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:86:48 [INFO] [stdout] | [INFO] [stdout] 86 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:209:54 [INFO] [stdout] | [INFO] [stdout] 209 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:296:46 [INFO] [stdout] | [INFO] [stdout] 296 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:313:48 [INFO] [stdout] | [INFO] [stdout] 313 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:345:48 [INFO] [stdout] | [INFO] [stdout] 345 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:375:48 [INFO] [stdout] | [INFO] [stdout] 375 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:417:50 [INFO] [stdout] | [INFO] [stdout] 417 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:432:50 [INFO] [stdout] | [INFO] [stdout] 432 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:461:50 [INFO] [stdout] | [INFO] [stdout] 461 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:475:50 [INFO] [stdout] | [INFO] [stdout] 475 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:489:50 [INFO] [stdout] | [INFO] [stdout] 489 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:605:49 [INFO] [stdout] | [INFO] [stdout] 605 | require_api(app, headers, &id, "settings", |app, srv, d| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_email` [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:856:9 [INFO] [stdout] | [INFO] [stdout] 856 | let user_email = user.email.clone(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_email` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `form` [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1406:22 [INFO] [stdout] | [INFO] [stdout] 1406 | fn shell_running_mem(form: &[(String, String)]) -> u64 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1772:10 [INFO] [stdout] | [INFO] [stdout] 1772 | let (shell, srv, daemon) = shell_guard(&app, &headers, &id, "files").await?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> crates/nucleus-panel/src/routes/proxy.rs:383:14 [INFO] [stdout] | [INFO] [stdout] 383 | let Some(user) = require_perm(&app, &headers, &id, "files") else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> crates/nucleus-panel/src/routes/proxy.rs:1074:14 [INFO] [stdout] | [INFO] [stdout] 1074 | let Some(user) = require_perm(&app, &headers, &id, "backups") else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PowerBody` is more private than the item `api_server_power` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / pub async fn api_server_power( [INFO] [stdout] 102 | | State(app): State, [INFO] [stdout] 103 | | headers: HeaderMap, [INFO] [stdout] 104 | | AxumPath(id): AxumPath, [INFO] [stdout] 105 | | axum::Json(body): axum::Json, [INFO] [stdout] 106 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_server_power` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PowerBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | struct PowerBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PathBody` is more private than the item `api_files_mkdir` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:266:1 [INFO] [stdout] | [INFO] [stdout] 266 | / pub async fn api_files_mkdir( [INFO] [stdout] 267 | | State(app): State, [INFO] [stdout] 268 | | headers: HeaderMap, [INFO] [stdout] 269 | | AxumPath(id): AxumPath, [INFO] [stdout] 270 | | body: axum::Json, [INFO] [stdout] 271 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_files_mkdir` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PathBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | struct PathBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PathBody` is more private than the item `api_files_delete` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | / pub async fn api_files_delete( [INFO] [stdout] 276 | | State(app): State, [INFO] [stdout] 277 | | headers: HeaderMap, [INFO] [stdout] 278 | | AxumPath(id): AxumPath, [INFO] [stdout] 279 | | body: axum::Json, [INFO] [stdout] 280 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_files_delete` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PathBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:238:1 [INFO] [stdout] | [INFO] [stdout] 238 | struct PathBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `RenameBody` is more private than the item `api_files_rename` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:290:1 [INFO] [stdout] | [INFO] [stdout] 290 | / pub async fn api_files_rename( [INFO] [stdout] 291 | | State(app): State, [INFO] [stdout] 292 | | headers: HeaderMap, [INFO] [stdout] 293 | | AxumPath(id): AxumPath, [INFO] [stdout] 294 | | axum::Json(body): axum::Json, [INFO] [stdout] 295 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_files_rename` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `RenameBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 285 | struct RenameBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ScheduleBody` is more private than the item `api_schedules_add` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:426:1 [INFO] [stdout] | [INFO] [stdout] 426 | / pub async fn api_schedules_add( [INFO] [stdout] 427 | | State(app): State, [INFO] [stdout] 428 | | headers: HeaderMap, [INFO] [stdout] 429 | | AxumPath(id): AxumPath, [INFO] [stdout] 430 | | axum::Json(body): axum::Json, [INFO] [stdout] 431 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_schedules_add` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ScheduleBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:404:1 [INFO] [stdout] | [INFO] [stdout] 404 | struct ScheduleBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ScheduleToggleBody` is more private than the item `api_schedules_toggle` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | / pub async fn api_schedules_toggle( [INFO] [stdout] 456 | | State(app): State, [INFO] [stdout] 457 | | headers: HeaderMap, [INFO] [stdout] 458 | | AxumPath((id, tid)): AxumPath<(String, String)>, [INFO] [stdout] 459 | | axum::Json(body): axum::Json, [INFO] [stdout] 460 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_schedules_toggle` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ScheduleToggleBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:451:1 [INFO] [stdout] | [INFO] [stdout] 451 | struct ScheduleToggleBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ApiCreateBody` is more private than the item `api_server_create` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:509:1 [INFO] [stdout] | [INFO] [stdout] 509 | / pub async fn api_server_create( [INFO] [stdout] 510 | | State(app): State, [INFO] [stdout] 511 | | headers: HeaderMap, [INFO] [stdout] 512 | | axum::Json(body): axum::Json, [INFO] [stdout] 513 | | ) -> Response { [INFO] [stdout] | |_____________^ function `api_server_create` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ApiCreateBody` is only usable at visibility `pub(self)` [INFO] [stdout] --> crates/nucleus-panel/src/routes/api.rs:501:1 [INFO] [stdout] | [INFO] [stdout] 501 | struct ApiCreateBody { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `clear_pending_cookie` is never used [INFO] [stdout] --> crates/nucleus-panel/src/auth.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Sessions { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn clear_pending_cookie() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alias` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct NodeForm { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub alias: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AliasForm` is never constructed [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct AliasForm { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nodes_set_alias` is never used [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:244:14 [INFO] [stdout] | [INFO] [stdout] 244 | pub async fn nodes_set_alias( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `msg_from_headers` is never used [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:399:4 [INFO] [stdout] | [INFO] [stdout] 399 | fn msg_from_headers(headers: &HeaderMap) -> (String, String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alloc_disk_mb` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/admin.rs:968:9 [INFO] [stdout] | [INFO] [stdout] 946 | pub struct NodeDash { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 968 | pub alloc_disk_mb: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_email` and `is_admin` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct LoginTmpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | pub user_email: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | pub is_admin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `user_email` and `is_admin` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 138 | pub struct RegisterTmpl { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 142 | pub user_email: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 143 | pub is_admin: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `addr_host` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:818:9 [INFO] [stdout] | [INFO] [stdout] 808 | pub struct ShellCtx { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 818 | pub addr_host: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShellCtx` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recent_logs` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:955:9 [INFO] [stdout] | [INFO] [stdout] 952 | pub struct ConsoleTmpl2 { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 955 | pub recent_logs: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `raw_path` and `error` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1585:9 [INFO] [stdout] | [INFO] [stdout] 1581 | pub struct FilesTmpl { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1585 | pub raw_path: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1592 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1797:9 [INFO] [stdout] | [INFO] [stdout] 1794 | pub struct SchedulesTmpl { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1797 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_owner` is never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1853:9 [INFO] [stdout] | [INFO] [stdout] 1850 | pub struct MemberRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1853 | pub is_owner: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message`, `message_class`, and `error` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:1864:9 [INFO] [stdout] | [INFO] [stdout] 1859 | pub struct AccessTmpl { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 1864 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1865 | pub message_class: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1866 | pub error: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `totp_setup`, `totp_secret`, and `totp_qr` are never read [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:2027:9 [INFO] [stdout] | [INFO] [stdout] 2020 | pub struct AccountTmpl { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 2027 | pub totp_setup: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 2028 | pub totp_secret: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 2029 | pub totp_qr: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query_msg_pub` is never used [INFO] [stdout] --> crates/nucleus-panel/src/routes/pages.rs:2203:8 [INFO] [stdout] | [INFO] [stdout] 2203 | pub fn query_msg_pub(headers: &HeaderMap) -> (String, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `async-trait` [INFO] [stderr] --> crates/nucleusd/Cargo.toml:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | async-trait = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `async-trait` [INFO] [stderr] warning: unused dependency `walkdir` [INFO] [stderr] --> crates/nucleusd/Cargo.toml:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | walkdir = "2" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `walkdir` [INFO] [stderr] warning: `nucleusd` (manifest) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 34.15s [INFO] running `Command { std: "docker" "inspect" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", 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" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused workspace dependency `tower` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | tower = "0.5" [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the workspace dependency `tower` [INFO] [stderr] warning: unused field `license` in `workspace.package` [INFO] [stderr] --> Cargo.toml:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | license = "MIT" [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_workspace_package_fields` is set to `warn` by default [INFO] [stderr] help: consider removing the field `workspace.package.license` [INFO] [stderr] warning: workspace (manifest) generated 2 warnings [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> crates/nucleusd/src/backups.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rt` [INFO] [stderr] --> crates/nucleusd/src/docker.rs:850:9 [INFO] [stderr] | [INFO] [stderr] 850 | let rt = state.get(id)?; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_rt` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `action` is never read [INFO] [stderr] --> crates/nucleusd/src/files.rs:497:9 [INFO] [stderr] | [INFO] [stderr] 494 | pub struct ArchiveReq { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 497 | pub action: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> crates/nucleusd/src/state.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | Exit(i64), [INFO] [stderr] | ---- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `LogEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 19 - Exit(i64), [INFO] [stderr] 19 + Exit(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> crates/nucleusd/src/backups.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | / tokio::task::spawn_blocking(move || -> Result<()> { [INFO] [stderr] 23 | | if dir.exists() { [INFO] [stderr] 24 | | for ent in std::fs::read_dir(&dir)? { [INFO] [stderr] 25 | | let ent = ent?; [INFO] [stderr] ... | [INFO] [stderr] 36 | | .await [INFO] [stderr] 37 | | .map_err(|e| anyhow::anyhow!("join error {e}"))?; [INFO] [stderr] | |____________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 22 | let _ = tokio::task::spawn_blocking(move || -> Result<()> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `nucleusd` (bin "nucleusd" test) generated 5 warnings (run `cargo fix --bin "nucleusd" -p nucleusd --tests` to apply 2 suggestions) [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::pages::nav_ctx` [INFO] [stderr] --> crates/nucleus-panel/src/routes/proxy.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use super::pages::nav_ctx; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> crates/nucleus-panel/src/perms.rs:51:26 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn is_owner_or_admin(db: &Db, user: &User, srv: &ServerRow) -> bool { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `to` [INFO] [stderr] --> crates/nucleus-panel/src/routes/admin.rs:810:23 [INFO] [stderr] | [INFO] [stderr] 810 | fn build_invite_email(to: &str, link: &str, app_name: &str) -> anyhow::Result { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_to` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:57:48 [INFO] [stderr] | [INFO] [stderr] 57 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:71:48 [INFO] [stderr] | [INFO] [stderr] 71 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:86:48 [INFO] [stderr] | [INFO] [stderr] 86 | require_api(app, headers, &id, "console", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:183:46 [INFO] [stderr] | [INFO] [stderr] 183 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:209:54 [INFO] [stderr] | [INFO] [stderr] 209 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:296:46 [INFO] [stderr] | [INFO] [stderr] 296 | require_api(app, headers, &id, "files", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:313:48 [INFO] [stderr] | [INFO] [stderr] 313 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:345:48 [INFO] [stderr] | [INFO] [stderr] 345 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:375:48 [INFO] [stderr] | [INFO] [stderr] 375 | require_api(app, headers, &id, "backups", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:417:50 [INFO] [stderr] | [INFO] [stderr] 417 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:432:50 [INFO] [stderr] | [INFO] [stderr] 432 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:461:50 [INFO] [stderr] | [INFO] [stderr] 461 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:475:50 [INFO] [stderr] | [INFO] [stderr] 475 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:489:50 [INFO] [stderr] | [INFO] [stderr] 489 | require_api(app, headers, &id, "schedules", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `app` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:605:49 [INFO] [stderr] | [INFO] [stderr] 605 | require_api(app, headers, &id, "settings", |app, srv, d| async move { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user_email` [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:856:9 [INFO] [stderr] | [INFO] [stderr] 856 | let user_email = user.email.clone(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_email` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `form` [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:1406:22 [INFO] [stderr] | [INFO] [stderr] 1406 | fn shell_running_mem(form: &[(String, String)]) -> u64 { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shell` [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:1772:10 [INFO] [stderr] | [INFO] [stderr] 1772 | let (shell, srv, daemon) = shell_guard(&app, &headers, &id, "files").await?; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> crates/nucleus-panel/src/routes/proxy.rs:383:14 [INFO] [stderr] | [INFO] [stderr] 383 | let Some(user) = require_perm(&app, &headers, &id, "files") else { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> crates/nucleus-panel/src/routes/proxy.rs:1074:14 [INFO] [stderr] | [INFO] [stderr] 1074 | let Some(user) = require_perm(&app, &headers, &id, "backups") else { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] [INFO] [stderr] warning: type `PowerBody` is more private than the item `api_server_power` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:101:1 [INFO] [stderr] | [INFO] [stderr] 101 | / pub async fn api_server_power( [INFO] [stderr] 102 | | State(app): State, [INFO] [stderr] 103 | | headers: HeaderMap, [INFO] [stderr] 104 | | AxumPath(id): AxumPath, [INFO] [stderr] 105 | | axum::Json(body): axum::Json, [INFO] [stderr] 106 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_server_power` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `PowerBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:97:1 [INFO] [stderr] | [INFO] [stderr] 97 | struct PowerBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `PathBody` is more private than the item `api_files_mkdir` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:266:1 [INFO] [stderr] | [INFO] [stderr] 266 | / pub async fn api_files_mkdir( [INFO] [stderr] 267 | | State(app): State, [INFO] [stderr] 268 | | headers: HeaderMap, [INFO] [stderr] 269 | | AxumPath(id): AxumPath, [INFO] [stderr] 270 | | body: axum::Json, [INFO] [stderr] 271 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_files_mkdir` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `PathBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:238:1 [INFO] [stderr] | [INFO] [stderr] 238 | struct PathBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `PathBody` is more private than the item `api_files_delete` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:275:1 [INFO] [stderr] | [INFO] [stderr] 275 | / pub async fn api_files_delete( [INFO] [stderr] 276 | | State(app): State, [INFO] [stderr] 277 | | headers: HeaderMap, [INFO] [stderr] 278 | | AxumPath(id): AxumPath, [INFO] [stderr] 279 | | body: axum::Json, [INFO] [stderr] 280 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_files_delete` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `PathBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:238:1 [INFO] [stderr] | [INFO] [stderr] 238 | struct PathBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `RenameBody` is more private than the item `api_files_rename` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:290:1 [INFO] [stderr] | [INFO] [stderr] 290 | / pub async fn api_files_rename( [INFO] [stderr] 291 | | State(app): State, [INFO] [stderr] 292 | | headers: HeaderMap, [INFO] [stderr] 293 | | AxumPath(id): AxumPath, [INFO] [stderr] 294 | | axum::Json(body): axum::Json, [INFO] [stderr] 295 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_files_rename` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `RenameBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:285:1 [INFO] [stderr] | [INFO] [stderr] 285 | struct RenameBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ScheduleBody` is more private than the item `api_schedules_add` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:426:1 [INFO] [stderr] | [INFO] [stderr] 426 | / pub async fn api_schedules_add( [INFO] [stderr] 427 | | State(app): State, [INFO] [stderr] 428 | | headers: HeaderMap, [INFO] [stderr] 429 | | AxumPath(id): AxumPath, [INFO] [stderr] 430 | | axum::Json(body): axum::Json, [INFO] [stderr] 431 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_schedules_add` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `ScheduleBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:404:1 [INFO] [stderr] | [INFO] [stderr] 404 | struct ScheduleBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ScheduleToggleBody` is more private than the item `api_schedules_toggle` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:455:1 [INFO] [stderr] | [INFO] [stderr] 455 | / pub async fn api_schedules_toggle( [INFO] [stderr] 456 | | State(app): State, [INFO] [stderr] 457 | | headers: HeaderMap, [INFO] [stderr] 458 | | AxumPath((id, tid)): AxumPath<(String, String)>, [INFO] [stderr] 459 | | axum::Json(body): axum::Json, [INFO] [stderr] 460 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_schedules_toggle` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `ScheduleToggleBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:451:1 [INFO] [stderr] | [INFO] [stderr] 451 | struct ScheduleToggleBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `ApiCreateBody` is more private than the item `api_server_create` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:509:1 [INFO] [stderr] | [INFO] [stderr] 509 | / pub async fn api_server_create( [INFO] [stderr] 510 | | State(app): State, [INFO] [stderr] 511 | | headers: HeaderMap, [INFO] [stderr] 512 | | axum::Json(body): axum::Json, [INFO] [stderr] 513 | | ) -> Response { [INFO] [stderr] | |_____________^ function `api_server_create` is reachable at visibility `pub(crate)` [INFO] [stderr] | [INFO] [stderr] note: but type `ApiCreateBody` is only usable at visibility `pub(self)` [INFO] [stderr] --> crates/nucleus-panel/src/routes/api.rs:501:1 [INFO] [stderr] | [INFO] [stderr] 501 | struct ApiCreateBody { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `clear_pending_cookie` is never used [INFO] [stderr] --> crates/nucleus-panel/src/auth.rs:126:12 [INFO] [stderr] | [INFO] [stderr] 53 | impl Sessions { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 126 | pub fn clear_pending_cookie() -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `alias` is never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/admin.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 89 | pub struct NodeForm { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 94 | pub alias: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AliasForm` is never constructed [INFO] [stderr] --> crates/nucleus-panel/src/routes/admin.rs:240:12 [INFO] [stderr] | [INFO] [stderr] 240 | pub struct AliasForm { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `nodes_set_alias` is never used [INFO] [stderr] --> crates/nucleus-panel/src/routes/admin.rs:244:14 [INFO] [stderr] | [INFO] [stderr] 244 | pub async fn nodes_set_alias( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `msg_from_headers` is never used [INFO] [stderr] --> crates/nucleus-panel/src/routes/admin.rs:399:4 [INFO] [stderr] | [INFO] [stderr] 399 | fn msg_from_headers(headers: &HeaderMap) -> (String, String) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `alloc_disk_mb` is never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/admin.rs:968:9 [INFO] [stderr] | [INFO] [stderr] 946 | pub struct NodeDash { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 968 | pub alloc_disk_mb: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `user_email` and `is_admin` are never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:71:9 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct LoginTmpl { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 71 | pub user_email: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 72 | pub is_admin: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `user_email` and `is_admin` are never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 138 | pub struct RegisterTmpl { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 142 | pub user_email: String, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 143 | pub is_admin: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `addr_host` is never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:818:9 [INFO] [stderr] | [INFO] [stderr] 808 | pub struct ShellCtx { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 818 | pub addr_host: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ShellCtx` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `recent_logs` is never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:955:9 [INFO] [stderr] | [INFO] [stderr] 952 | pub struct ConsoleTmpl2 { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 955 | pub recent_logs: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `raw_path` and `error` are never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:1585:9 [INFO] [stderr] | [INFO] [stderr] 1581 | pub struct FilesTmpl { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 1585 | pub raw_path: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 1592 | pub error: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `message` is never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:1797:9 [INFO] [stderr] | [INFO] [stderr] 1794 | pub struct SchedulesTmpl { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 1797 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `is_owner` is never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:1853:9 [INFO] [stderr] | [INFO] [stderr] 1850 | pub struct MemberRow { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 1853 | pub is_owner: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `message`, `message_class`, and `error` are never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:1864:9 [INFO] [stderr] | [INFO] [stderr] 1859 | pub struct AccessTmpl { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 1864 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 1865 | pub message_class: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 1866 | pub error: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `totp_setup`, `totp_secret`, and `totp_qr` are never read [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:2027:9 [INFO] [stderr] | [INFO] [stderr] 2020 | pub struct AccountTmpl { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 2027 | pub totp_setup: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 2028 | pub totp_secret: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 2029 | pub totp_qr: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `query_msg_pub` is never used [INFO] [stderr] --> crates/nucleus-panel/src/routes/pages.rs:2203:8 [INFO] [stderr] | [INFO] [stderr] 2203 | pub fn query_msg_pub(headers: &HeaderMap) -> (String, bool) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nucleus-panel` (bin "nucleus-panel" test) generated 47 warnings (run `cargo fix --bin "nucleus-panel" -p nucleus-panel --tests` to apply 24 suggestions) [INFO] [stderr] warning: unused dependency `async-trait` [INFO] [stderr] --> crates/nucleusd/Cargo.toml:38:1 [INFO] [stderr] | [INFO] [stderr] 38 | async-trait = "0.1" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `async-trait` [INFO] [stderr] warning: unused dependency `walkdir` [INFO] [stderr] --> crates/nucleusd/Cargo.toml:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | walkdir = "2" [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `walkdir` [INFO] [stderr] warning: `nucleusd` (manifest) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/nucleus-core/2e9331e18c67e59b/out/nucleus_core-2e9331e18c67e59b) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test egg::tests::leaves_shell_braces_alone ... ok [INFO] [stdout] test egg::tests::renders_placeholders ... ok [INFO] [stdout] test curseforge::tests::detects_kinds ... ok [INFO] [stdout] test curseforge::tests::parses_modrinth_index ... ok [INFO] [stdout] test egg::tests::unknown_placeholder_becomes_empty ... ok [INFO] [stdout] test curseforge::tests::rejects_wrong_manifest_type ... ok [INFO] [stdout] test egg::tests::rejects_non_egg ... ok [INFO] [stdout] test curseforge::tests::parses_cf_manifest ... ok [INFO] [stdout] test egg::tests::imports_ptero_egg ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/nucleus-panel/52d44b59609e516a/out/nucleus_panel-52d44b59609e516a) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/nucleusd/16dd7a4c665f766a/out/nucleusd-16dd7a4c665f766a) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test cron::tests::parses_and_matches_basic ... ok [INFO] [stdout] test cron::tests::rejects_bad_exprs ... ok [INFO] [stdout] test cron::tests::step_range ... ok [INFO] [stdout] test state::tests::strips_colors_and_cursor_codes ... ok [INFO] [stdout] test cron::tests::next_after_finds_next_minute_match ... ok [INFO] [stdout] test cron::tests::lists_ranges_steps_dow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests nucleus_core [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" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2", kill_on_drop: false }` [INFO] [stdout] 7b1f9b86ba84bb89988cbd17b5a1e5fa32695fa2af125b4abce9ea6b35951db2