[INFO] cloning repository https://github.com/lilyco-42/lyco_chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lilyco-42/lyco_chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flilyco-42%2Flyco_chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flilyco-42%2Flyco_chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1ea6b67596af20e542b30dfd6df69f8d32f7111a [INFO] checking lilyco-42/lyco_chat against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flilyco-42%2Flyco_chat" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lilyco-42/lyco_chat [INFO] finished tweaking git repo https://github.com/lilyco-42/lyco_chat [INFO] tweaked toml for git repo https://github.com/lilyco-42/lyco_chat written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lilyco-42/lyco_chat on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lilyco-42/lyco_chat 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 4 packages to highest Rust 1.101.0-nightly compatible versions [INFO] [stderr] Adding candle-core v0.11.0 [INFO] [stderr] Adding candle-kernels v0.11.0 [INFO] [stderr] Adding candle-nn v0.11.0 [INFO] [stderr] Adding candle-ug v0.11.0 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_distr v0.6.0 [INFO] [stderr] Downloaded include-flate v0.3.4 [INFO] [stderr] Downloaded include-flate-codegen v0.3.4 [INFO] [stderr] Downloaded proc-macro-error-attr3 v3.1.0 [INFO] [stderr] Downloaded candle-ug v0.11.0 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.3 [INFO] [stderr] Downloaded include-flate-compress v0.3.4 [INFO] [stderr] Downloaded libflate_lz77 v2.3.0 [INFO] [stderr] Downloaded adler32 v1.2.0 [INFO] [stderr] Downloaded fxhash v0.2.1 [INFO] [stderr] Downloaded xterm-query v0.6.0 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.3 [INFO] [stderr] Downloaded cedarwood v0.4.6 [INFO] [stderr] Downloaded float8 v0.7.0 [INFO] [stderr] Downloaded ug-cuda v0.5.0 [INFO] [stderr] Downloaded lazy-regex-proc_macros v3.6.1 [INFO] [stderr] Downloaded lazy-regex v3.6.1 [INFO] [stderr] Downloaded crokey-proc_macros v1.5.0 [INFO] [stderr] Downloaded schemafy_lib v0.6.0 [INFO] [stderr] Downloaded schemafy_core v0.6.0 [INFO] [stderr] Downloaded onig v6.5.3 [INFO] [stderr] Downloaded dary_heap v0.3.9 [INFO] [stderr] Downloaded cudaforge v0.1.6 [INFO] [stderr] Downloaded ast-grep-language v0.45.0 [INFO] [stderr] Downloaded globset v0.4.19 [INFO] [stderr] Downloaded libflate v2.3.1 [INFO] [stderr] Downloaded safetensors v0.8.0 [INFO] [stderr] Downloaded ast-grep-core v0.45.0 [INFO] [stderr] Downloaded bit-set v0.11.1 [INFO] [stderr] Downloaded bit-vec v0.10.1 [INFO] [stderr] Downloaded minimad v0.16.0 [INFO] [stderr] Downloaded serde-sarif v0.8.0 [INFO] [stderr] Downloaded typed-builder v0.21.2 [INFO] [stderr] Downloaded typed-builder-macro v0.21.2 [INFO] [stderr] Downloaded fuzzy-matcher v0.3.7 [INFO] [stderr] Downloaded serde_regex v1.2.0 [INFO] [stderr] Downloaded ast-grep-dynamic v0.45.0 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded proc-macro-error3 v3.1.0 [INFO] [stderr] Downloaded ug v0.5.0 [INFO] [stderr] Downloaded terminal-light v1.9.0 [INFO] [stderr] Downloaded crokey v1.5.0 [INFO] [stderr] Downloaded ast-grep-outline v0.45.0 [INFO] [stderr] Downloaded ast-grep-lsp v0.45.0 [INFO] [stderr] Downloaded tree-sitter-hcl v1.1.0 [INFO] [stderr] Downloaded ignore v0.4.32 [INFO] [stderr] Downloaded clap v4.6.5 [INFO] [stderr] Downloaded candle-nn v0.11.0 [INFO] [stderr] Downloaded similar v3.1.2 [INFO] [stderr] Downloaded ast-grep-config v0.45.0 [INFO] [stderr] Downloaded tower-lsp-server v0.23.0 [INFO] [stderr] Downloaded fluent-uri v0.4.1 [INFO] [stderr] Downloaded ls-types v0.0.6 [INFO] [stderr] Downloaded candle-kernels v0.11.0 [INFO] [stderr] Downloaded ast-grep v0.45.0 [INFO] [stderr] Downloaded jieba-macros v0.7.1 [INFO] [stderr] Downloaded clap_builder v4.6.5 [INFO] [stderr] Downloaded candle-core v0.11.0 [INFO] [stderr] Downloaded tree-sitter-md v0.5.3 [INFO] [stderr] Downloaded tree-sitter-dart v0.2.0 [INFO] [stderr] Downloaded termimad v0.35.1 [INFO] [stderr] Downloaded cudarc v0.19.8 [INFO] [stderr] Downloaded regex-automata v0.4.17 [INFO] [stderr] Downloaded cudarc v0.17.8 [INFO] [stderr] Downloaded onig_sys v69.9.3 [INFO] [stderr] Downloaded tree-sitter-swift v0.7.3 [INFO] [stderr] Downloaded tree-sitter-c-sharp v0.23.5 [INFO] [stderr] Downloaded tree-sitter-kotlin-sg v0.4.1 [INFO] [stderr] Downloaded jieba-rs v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d [INFO] running `Command { std: "docker" "start" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d", 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" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.35 [INFO] [stderr] Compiling syn v3.0.3 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Checking log v0.4.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.22 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling crossbeam-epoch v0.9.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.7 [INFO] [stderr] Checking aho-corasick v1.1.5 [INFO] [stderr] Compiling zerocopy v0.8.55 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zerocopy-derive v0.8.55 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking mio v1.2.2 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Compiling bytemuck_derive v1.11.0 [INFO] [stderr] Checking futures-core v0.3.33 [INFO] [stderr] Compiling cc v1.4.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.17.0 [INFO] [stderr] Checking futures-sink v0.3.33 [INFO] [stderr] Compiling thiserror v2.0.19 [INFO] [stderr] Checking socket2 v0.6.5 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Checking futures-channel v0.3.33 [INFO] [stderr] Compiling pulp v0.22.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking raw-cpuid v11.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.33 [INFO] [stderr] Checking regex-automata v0.4.17 [INFO] [stderr] Checking futures-task v0.3.33 [INFO] [stderr] Compiling ref-cast v1.0.26 [INFO] [stderr] Checking futures-io v0.3.33 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling aws-lc-rs v1.17.3 [INFO] [stderr] Checking litemap v0.8.2 [INFO] [stderr] Checking writeable v0.6.3 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking futures-util v0.3.33 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking bytemuck v1.25.2 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking dyn-stack v0.13.2 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling aws-lc-sys v0.43.0 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking bstr v1.13.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking bit-vec v0.10.1 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Checking streaming-iterator v0.1.9 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Checking bit-set v0.11.1 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking derive_more v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.15.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Checking crossterm v0.29.0 [INFO] [stderr] Checking regex v1.13.1 [INFO] [stderr] Checking globset v0.4.19 [INFO] [stderr] Compiling serde_derive_internals v0.30.0 [INFO] [stderr] Compiling onig_sys v69.9.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling no_std_io2 v0.9.4 [INFO] [stderr] Compiling rustls v0.23.43 [INFO] [stderr] Compiling bitflags v2.13.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling nix v0.31.3 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling libflate_lz77 v2.3.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tree-sitter v0.26.11 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking borrow-or-share v0.2.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling tokio-macros v2.7.2 [INFO] [stderr] Compiling thiserror-impl v2.0.19 [INFO] [stderr] Compiling displaydoc v0.2.7 [INFO] [stderr] Compiling ref-cast-impl v1.0.26 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling schemars_derive v1.2.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dary_heap v0.3.9 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling libflate v2.3.1 [INFO] [stderr] Checking tokio v1.53.1 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking fluent-uri v0.4.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling rand v0.8.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tree-sitter-go v0.25.0 [INFO] [stderr] Compiling tree-sitter-bash v0.25.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling tree-sitter-c v0.24.2 [INFO] [stderr] Compiling tree-sitter-c-sharp v0.23.5 [INFO] [stderr] Compiling tree-sitter-cpp v0.23.4 [INFO] [stderr] Compiling tree-sitter-css v0.25.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling tree-sitter-lua v0.5.0 [INFO] [stderr] Compiling tree-sitter-dart v0.2.0 [INFO] [stderr] Checking ast-grep-core v0.45.0 [INFO] [stderr] Compiling tree-sitter-md v0.5.3 [INFO] [stderr] Compiling tree-sitter-nix v0.3.0 [INFO] [stderr] Compiling tree-sitter-php v0.24.2 [INFO] [stderr] Compiling tree-sitter-python v0.25.0 [INFO] [stderr] Checking rand v0.9.5 [INFO] [stderr] Compiling tree-sitter-ruby v0.23.1 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Compiling tree-sitter-rust v0.24.2 [INFO] [stderr] Compiling tree-sitter-scala v0.26.0 [INFO] [stderr] Compiling tree-sitter-solidity v1.2.13 [INFO] [stderr] Compiling tree-sitter-swift v0.7.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling tree-sitter-yaml v0.7.2 [INFO] [stderr] Compiling tree-sitter-elixir v0.3.5 [INFO] [stderr] Compiling tree-sitter-haskell v0.23.1 [INFO] [stderr] Compiling tree-sitter-hcl v1.1.0 [INFO] [stderr] Compiling tree-sitter-html v0.23.2 [INFO] [stderr] Compiling tree-sitter-java v0.23.5 [INFO] [stderr] Compiling tree-sitter-javascript v0.25.0 [INFO] [stderr] Compiling tree-sitter-json v0.24.8 [INFO] [stderr] Compiling tree-sitter-kotlin-sg v0.4.1 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Compiling monostate-impl v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling proc-macro-error-attr3 v3.1.0 [INFO] [stderr] Compiling target-triple v1.0.1 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.3 [INFO] [stderr] Compiling strict v0.2.0 [INFO] [stderr] Checking monostate v0.1.18 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling proc-macro-error3 v3.1.0 [INFO] [stderr] Compiling crokey-proc_macros v1.5.0 [INFO] [stderr] Checking clap_builder v4.6.5 [INFO] [stderr] Checking macro_rules_attribute v0.2.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking dashmap v6.2.1 [INFO] [stderr] Checking gemm-common v0.19.0 [INFO] [stderr] Checking gemm-f32 v0.19.0 [INFO] [stderr] Checking gemm-c32 v0.19.0 [INFO] [stderr] Checking schemars v1.2.2 [INFO] [stderr] Checking serde_regex v1.2.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking gemm-f16 v0.19.0 [INFO] [stderr] Checking ls-types v0.0.6 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Compiling schemafy_core v0.6.0 [INFO] [stderr] Compiling schemafy_lib v0.6.0 [INFO] [stderr] Checking onig v6.5.3 [INFO] [stderr] Checking compact_str v0.9.1 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking h2 v0.4.15 [INFO] [stderr] Checking gemm-c64 v0.19.0 [INFO] [stderr] Checking gemm-f64 v0.19.0 [INFO] [stderr] Checking ast-grep-config v0.45.0 [INFO] [stderr] Compiling serde-sarif v0.8.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking hyper v1.11.0 [INFO] [stderr] Checking ignore v0.4.32 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.6.1 [INFO] [stderr] Compiling clap_derive v4.6.4 [INFO] [stderr] Checking coolor v1.1.0 [INFO] [stderr] Checking futures v0.3.33 [INFO] [stderr] Checking crossbeam-queue v0.3.13 [INFO] [stderr] Checking crossbeam-channel v0.5.16 [INFO] [stderr] Compiling matrixmultiply v0.3.11 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking typed-path v0.12.3 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking rustls-native-certs v0.8.4 [INFO] [stderr] Checking chacha20 v0.10.1 [INFO] [stderr] Checking crokey v1.5.0 [INFO] [stderr] Checking xterm-query v0.6.0 [INFO] [stderr] Checking lazy-regex v3.6.1 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Checking tokenizers v0.22.2 [INFO] [stderr] Checking gemm v0.19.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking safetensors v0.8.0 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking float8 v0.7.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking memmap2 v0.9.11 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking minimad v0.16.0 [INFO] [stderr] Checking libloading v0.9.0 [INFO] [stderr] Checking zip v8.6.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking strum v0.27.2 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking termimad v0.35.1 [INFO] [stderr] Checking typed-builder v0.21.2 [INFO] [stderr] Checking codespan-reporting v0.13.1 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking clap v4.6.5 [INFO] [stderr] Checking clap_complete v4.6.8 [INFO] [stderr] Checking ast-grep-dynamic v0.45.0 [INFO] [stderr] Checking inquire v0.9.4 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Compiling jieba-macros v0.7.1 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking rand v0.10.2 [INFO] [stderr] Checking terminal-light v1.9.0 [INFO] [stderr] Checking ast-grep-outline v0.45.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking http-body-util v0.1.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking cedarwood v0.4.6 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking similar v3.1.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking rand_distr v0.6.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking include-flate-compress v0.3.4 [INFO] [stderr] Checking candle-core v0.11.0 [INFO] [stderr] Compiling include-flate-codegen v0.3.4 [INFO] [stderr] Checking ast-grep-language v0.45.0 [INFO] [stderr] Checking include-flate v0.3.4 [INFO] [stderr] Checking jieba-rs v0.7.4 [INFO] [stderr] Checking tower-lsp-server v0.23.0 [INFO] [stderr] Checking ast-grep-lsp v0.45.0 [INFO] [stderr] Checking candle-nn v0.11.0 [INFO] [stderr] Checking ast-grep v0.45.0 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.7.0 [INFO] [stderr] Checking hyper-rustls v0.27.9 [INFO] [stderr] Checking reqwest v0.13.4 [INFO] [stderr] Checking lyco_chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/jieba_freq.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut flush = |zh_buf: &mut String, freq: &mut HashMap| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/jieba_freq.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let mut flush = |zh_buf: &mut String, freq: &mut HashMap| { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::linear::Linear` [INFO] [stdout] --> src/core/concept.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::core::linear::Linear; [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: `crate::core::linear::Linear` [INFO] [stdout] --> src/core/concept.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::core::linear::Linear; [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 variable: `hs` [INFO] [stdout] --> src/core/candle_trainer.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let hs = d / nh; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/core/candle_trainer.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | let n = self.experts.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/serve.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | let mut emit = |s: &mut TcpStream, data: String| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/time_log.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut z = days as i64 + 719_468; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hs` [INFO] [stdout] --> src/core/candle_trainer.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | let hs = d / nh; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_hs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/core/candle_trainer.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | let n = self.experts.len(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concept` [INFO] [stdout] --> src/main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(concept) = concept_crate.as_ref() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/main.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | let t0 = std::time::Instant::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ternary_value` is never used [INFO] [stdout] --> src/core/bitnet.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn ternary_value(code: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `quantize` is never used [INFO] [stdout] --> src/core/bitnet.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl BitLinear { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn quantize(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `answer` is never used [INFO] [stdout] --> src/core/block_router.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl WordBlockRouter { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn answer(&self, query: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dim` is never read [INFO] [stdout] --> src/core/candle_trainer.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct CLayerNorm { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | dim: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CandleMoERouter` is never constructed [INFO] [stdout] --> src/core/candle_trainer.rs:526:12 [INFO] [stdout] | [INFO] [stdout] 526 | pub struct CandleMoERouter { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/candle_trainer.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 532 | impl CandleMoERouter { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 533 | /// Creates a router with random experts on `dev`. [INFO] [stdout] 534 | pub fn new(in_: usize, hidden: usize, out: usize, n: usize, dev: &Device) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn forward(&self, x: &Tensor) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub fn train_step(&self, x: &Tensor, target: &Tensor, lr: f64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | pub fn gates(&self, x: &Tensor) -> anyhow::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 586 | pub fn train_gate(&self, x: &Tensor, expert_idx: &Tensor, lr: f64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 599 | pub fn expert_forward(&self, idx: usize, x: &Tensor) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | pub fn train_expert(&self, idx: usize, x: &Tensor, target: &Tensor, lr: f64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_encode` is never used [INFO] [stdout] --> src/core/concept.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn char_encode(vocab: &Vocab, content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `answer` and `neural_rank` are never used [INFO] [stdout] --> src/core/concept.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl ConceptRouter { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 247 | pub fn answer(&self, query: &str) -> Option<&'static str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn neural_rank( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/core/dict.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct DictEntryRaw { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 48 | term: String, [INFO] [stdout] 49 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CrateApiProfile` is never constructed [INFO] [stdout] --> src/core/dynamic.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct CrateApiProfile { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROFILES` is never used [INFO] [stdout] --> src/core/dynamic.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const PROFILES: &[CrateApiProfile] = &[ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `acquire`, `acquire_from_source`, `len`, and `is_empty` are never used [INFO] [stdout] --> src/core/dynamic.rs:144:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl DynamicRegistry { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn acquire(&mut self, crate_name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn acquire_from_source(&mut self, crate_name: &str, src_dir: &str) -> Option<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/core/learn.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Learner { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `load` are never used [INFO] [stdout] --> src/core/moe.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl ExpertStore { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn load(&self, ids: &[usize]) -> Vec<&PackedExpert> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SparseBitMoE` is never constructed [INFO] [stdout] --> src/core/moe.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct SparseBitMoE { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_dense` and `forward` are never used [INFO] [stdout] --> src/core/moe.rs:208:12 [INFO] [stdout] | [INFO] [stdout] 206 | impl SparseBitMoE { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 207 | /// Creates a sparse MoE from trained dense experts. [INFO] [stdout] 208 | pub fn from_dense(dense: &[FeedForward], top_k: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn forward(&self, x: &Array2) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resident_count` is never used [INFO] [stdout] --> src/core/moe.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 282 | impl ExpertCache { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 448 | pub fn resident_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_N_EXPERTS` is never used [INFO] [stdout] --> src/core/moe.rs:539:11 [INFO] [stdout] | [INFO] [stdout] 539 | pub const DEFAULT_N_EXPERTS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TOP_K` is never used [INFO] [stdout] --> src/core/moe.rs:542:11 [INFO] [stdout] | [INFO] [stdout] 542 | pub const DEFAULT_TOP_K: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitMoE` is never constructed [INFO] [stdout] --> src/core/moe.rs:556:12 [INFO] [stdout] | [INFO] [stdout] 556 | pub struct BitMoE { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_dense`, `forward`, `zero_grad`, and `step` are never used [INFO] [stdout] --> src/core/moe.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl BitMoE { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 572 | pub fn new(d: usize, n_experts: usize, top_k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub fn from_dense(dense_experts: &[FeedForward], top_k: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | pub fn forward(&self, x: &Array2) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | pub fn zero_grad(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | pub fn step(&mut self, lr: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitMoEBlock` is never constructed [INFO] [stdout] --> src/core/moe.rs:679:12 [INFO] [stdout] | [INFO] [stdout] 679 | pub struct BitMoEBlock { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `forward`, `zero_grad`, and `step` are never used [INFO] [stdout] --> src/core/moe.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 686 | impl BitMoEBlock { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 697 | pub fn new(d: usize, nh: usize, n_experts: usize, top_k: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 713 | pub fn forward(&self, x: &Array2) -> Array2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 719 | pub fn zero_grad(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 728 | pub fn step(&mut self, lr: f32) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `vocab` is never read [INFO] [stdout] --> src/core/moe_model.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct TinyGPTMoE { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 90 | pub vocab: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TinyGPTMoE` 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 `source` is never read [INFO] [stdout] --> src/core/router.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Answer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 50 | pub text: String, [INFO] [stdout] 51 | pub source: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `answer` is never used [INFO] [stdout] --> src/core/router.rs:516:12 [INFO] [stdout] | [INFO] [stdout] 488 | impl RouterStack { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn answer(&self, query: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample` is never used [INFO] [stdout] --> src/core/sampling.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn sample(probs: &Array1, rng: &mut ThreadRng) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `answer` is never used [INFO] [stdout] --> src/core/semantic.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 129 | impl SemanticMoE { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn answer(&self, query: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/core/serve.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ChatRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 54 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/core/serve.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct ChatMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 62 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hidden`, `generate`, and `generate_from` are never used [INFO] [stdout] --> src/core/tiny_gpt.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TinyGPT { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | fn hidden(&self, seq: &[usize]) -> Array2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | pub fn generate(&self, start: usize, n: usize, rng: &mut ThreadRng) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 206 | pub fn generate_from(&self, prompt: &[usize], n: usize, rng: &mut ThreadRng) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate` is never used [INFO] [stdout] --> src/core/trainer.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 62 | impl<'a> Trainer<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn generate(&self, start_token: usize, n: usize, rng: &mut ThreadRng) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/moe.rs:838:13 [INFO] [stdout] | [INFO] [stdout] 838 | let mut dense_moe = BitMoE::from_dense(&dense, n); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/serve.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | let mut emit = |s: &mut TcpStream, data: String| { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/time_log.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let mut z = days as i64 + 719_468; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `concept` [INFO] [stdout] --> src/main.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | if let Some(concept) = concept_crate.as_ref() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_concept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t0` [INFO] [stdout] --> src/main.rs:484:9 [INFO] [stdout] | [INFO] [stdout] 484 | let t0 = std::time::Instant::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dim` is never read [INFO] [stdout] --> src/core/candle_trainer.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct CLayerNorm { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 83 | dim: usize, [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 `out` is never read [INFO] [stdout] --> src/core/candle_trainer.rs:529:5 [INFO] [stdout] | [INFO] [stdout] 526 | pub struct CandleMoERouter { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 529 | out: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `forward` and `train_step` are never used [INFO] [stdout] --> src/core/candle_trainer.rs:547:12 [INFO] [stdout] | [INFO] [stdout] 532 | impl CandleMoERouter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 547 | pub fn forward(&self, x: &Tensor) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | pub fn train_step(&self, x: &Tensor, target: &Tensor, lr: f64) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `char_encode` is never used [INFO] [stdout] --> src/core/concept.rs:49:4 [INFO] [stdout] | [INFO] [stdout] 49 | fn char_encode(vocab: &Vocab, content: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `neural_rank` is never used [INFO] [stdout] --> src/core/concept.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 107 | impl ConceptRouter { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn neural_rank( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/core/dict.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | struct DictEntryRaw { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 48 | term: String, [INFO] [stdout] 49 | kind: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/core/learn.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl Learner { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/core/moe.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl ExpertStore { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_N_EXPERTS` is never used [INFO] [stdout] --> src/core/moe.rs:539:11 [INFO] [stdout] | [INFO] [stdout] 539 | pub const DEFAULT_N_EXPERTS: usize = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_TOP_K` is never used [INFO] [stdout] --> src/core/moe.rs:542:11 [INFO] [stdout] | [INFO] [stdout] 542 | pub const DEFAULT_TOP_K: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/core/router.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct Answer { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 50 | pub text: String, [INFO] [stdout] 51 | pub source: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Answer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `answer` is never used [INFO] [stdout] --> src/core/router.rs:516:12 [INFO] [stdout] | [INFO] [stdout] 488 | impl RouterStack { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 516 | pub fn answer(&self, query: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `model` is never read [INFO] [stdout] --> src/core/serve.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 53 | struct ChatRequest { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 54 | model: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `role` is never read [INFO] [stdout] --> src/core/serve.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 61 | struct ChatMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 62 | role: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hidden` is never used [INFO] [stdout] --> src/core/tiny_gpt.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 79 | impl TinyGPT { [INFO] [stdout] | ------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 172 | fn hidden(&self, seq: &[usize]) -> Array2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `ast-grep` [INFO] [stderr] --> Cargo.toml:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | ast-grep = "0.45" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `ast-grep` [INFO] [stderr] warning: `lyco_chat` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d", kill_on_drop: false }` [INFO] [stdout] 0eb22e5de1b0c3abfdb0d4c6da7f0ae7a7a8be609ee55758b4129a582d5dbc1d