[INFO] cloning repository https://github.com/Beaufortscalemendicancy519/unc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Beaufortscalemendicancy519/unc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeaufortscalemendicancy519%2Func", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeaufortscalemendicancy519%2Func'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b914ad72a0063a402aca10e450ff39287e2e48a [INFO] testing Beaufortscalemendicancy519/unc against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBeaufortscalemendicancy519%2Func" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Beaufortscalemendicancy519/unc [INFO] finished tweaking git repo https://github.com/Beaufortscalemendicancy519/unc [INFO] tweaked toml for git repo https://github.com/Beaufortscalemendicancy519/unc written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Beaufortscalemendicancy519/unc on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Beaufortscalemendicancy519/unc 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.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-cond v0.4.0 [INFO] [stderr] Downloaded safetensors v0.4.5 [INFO] [stderr] Downloaded hf-hub v0.5.0 [INFO] [stderr] Downloaded dary_heap v0.3.8 [INFO] [stderr] Downloaded cookie_store v0.22.1 [INFO] [stderr] Downloaded ureq v3.2.0 [INFO] [stderr] Downloaded tokenizers v0.21.4 [INFO] [stderr] Downloaded unit-prefix v0.5.2 [INFO] [stderr] Downloaded indicatif v0.18.4 [INFO] [stderr] Downloaded console v0.16.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6 [INFO] running `Command { std: "docker" "start" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", 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" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", 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" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling socks v0.3.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ureq-proto v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling console v0.16.2 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling webpki-root-certs v1.0.6 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling unit-prefix v0.5.2 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling indicatif v0.18.4 [INFO] [stderr] Compiling macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling monostate v0.1.18 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling rayon-cond v0.4.0 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling dary_heap v0.3.8 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling unc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jiff v0.2.23 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling memmap2 v0.9.10 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokenizers v0.21.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling ureq v3.2.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling hf-hub v0.5.0 [INFO] [stdout] warning: unused imports: `AppleGPUFamily` and `MetalTarget` [INFO] [stdout] --> src/target/detect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{AppleGPUFamily, MetalTarget}; [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: `anyhow::Context` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::Context; [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: `unc::runtime::generate::run_generation` [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use unc::runtime::generate::run_generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 164 | anyhow::bail!("Metal target requires macOS") [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 167 | let mut registry = KernelRegistry::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 205 | / match bundle.target_tag.trim() { [INFO] [stdout] 206 | | "METAL" => { [INFO] [stdout] 207 | | #[cfg(target_os = "macos")] [INFO] [stdout] ... | [INFO] [stdout] 230 | | tag => anyhow::bail!("unknown target tag: {tag:?}"), [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 232 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unfused` [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | unfused: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unfused` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let target: Target = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | fn cmd_run(unc_file: &PathBuf, prompt: &str, max_tokens: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_tokens` [INFO] [stdout] --> src/main.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | fn cmd_run(unc_file: &PathBuf, prompt: &str, max_tokens: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", 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" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ureq v3.2.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling hf-hub v0.5.0 [INFO] [stderr] Compiling unc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AppleGPUFamily` and `MetalTarget` [INFO] [stdout] --> src/target/detect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{AppleGPUFamily, MetalTarget}; [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 imports: `AppleGPUFamily` and `MetalTarget` [INFO] [stdout] --> src/target/detect.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{AppleGPUFamily, MetalTarget}; [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: `anyhow::Context` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use anyhow::Context; [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: `unc::runtime::generate::run_generation` [INFO] [stdout] --> src/main.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use unc::runtime::generate::run_generation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 164 | anyhow::bail!("Metal target requires macOS") [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 167 | let mut registry = KernelRegistry::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 205 | / match bundle.target_tag.trim() { [INFO] [stdout] 206 | | "METAL" => { [INFO] [stdout] 207 | | #[cfg(target_os = "macos")] [INFO] [stdout] ... | [INFO] [stdout] 230 | | tag => anyhow::bail!("unknown target tag: {tag:?}"), [INFO] [stdout] 231 | | } [INFO] [stdout] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 232 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unfused` [INFO] [stdout] --> src/main.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | unfused: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unfused` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let target: Target = { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prompt` [INFO] [stdout] --> src/main.rs:199:32 [INFO] [stdout] | [INFO] [stdout] 199 | fn cmd_run(unc_file: &PathBuf, prompt: &str, max_tokens: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_tokens` [INFO] [stdout] --> src/main.rs:199:46 [INFO] [stdout] | [INFO] [stdout] 199 | fn cmd_run(unc_file: &PathBuf, prompt: &str, max_tokens: usize) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.47s [INFO] running `Command { std: "docker" "inspect" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", 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" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AppleGPUFamily` and `MetalTarget` [INFO] [stderr] --> src/target/detect.rs:3:13 [INFO] [stderr] | [INFO] [stderr] 3 | use super::{AppleGPUFamily, MetalTarget}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `unc` (lib) generated 1 warning (run `cargo fix --lib -p unc` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `anyhow::Context` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use anyhow::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `unc::runtime::generate::run_generation` [INFO] [stderr] --> src/main.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | use unc::runtime::generate::run_generation; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:167:5 [INFO] [stderr] | [INFO] [stderr] 164 | anyhow::bail!("Metal target requires macOS") [INFO] [stderr] | -------------------------------------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 167 | let mut registry = KernelRegistry::new(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:232:5 [INFO] [stderr] | [INFO] [stderr] 205 | / match bundle.target_tag.trim() { [INFO] [stderr] 206 | | "METAL" => { [INFO] [stderr] 207 | | #[cfg(target_os = "macos")] [INFO] [stderr] ... | [INFO] [stderr] 230 | | tag => anyhow::bail!("unknown target tag: {tag:?}"), [INFO] [stderr] 231 | | } [INFO] [stderr] | |_____- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stderr] 232 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unfused` [INFO] [stderr] --> src/main.rs:101:5 [INFO] [stderr] | [INFO] [stderr] 101 | unfused: bool, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unfused` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `target` [INFO] [stderr] --> src/main.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | let target: Target = { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `prompt` [INFO] [stderr] --> src/main.rs:199:32 [INFO] [stderr] | [INFO] [stderr] 199 | fn cmd_run(unc_file: &PathBuf, prompt: &str, max_tokens: usize) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_prompt` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `max_tokens` [INFO] [stderr] --> src/main.rs:199:46 [INFO] [stderr] | [INFO] [stderr] 199 | fn cmd_run(unc_file: &PathBuf, prompt: &str, max_tokens: usize) -> anyhow::Result<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_tokens` [INFO] [stderr] [INFO] [stderr] warning: `unc` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `unc` (bin "unc" test) generated 8 warnings (run `cargo fix --bin "unc" -p unc --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unc-a7047cf1685836f2) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test frontend::config::tests::test_llama_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/unc-ad7413dccd9c339a) [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] Doc-tests unc [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" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6", kill_on_drop: false }` [INFO] [stdout] 8d7d31b63fc5e8ce551eb7ba38eb9566510df4cfae5ec163815f0dc98857c1e6