[INFO] fetching crate kimi-fann-core 0.1.4... [INFO] checking kimi-fann-core-0.1.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kimi-fann-core 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate kimi-fann-core 0.1.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate kimi-fann-core 0.1.4 [INFO] tweaked toml for crates.io crate kimi-fann-core 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kimi-fann-core 0.1.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kimi-fann-core 0.1.4 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ruv-fann v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a43914a0ca14dce525ebc1c2cc7ca3adfc8729eaed311f0e01e31af0e988e77e [INFO] running `Command { std: "docker" "start" "-a" "a43914a0ca14dce525ebc1c2cc7ca3adfc8729eaed311f0e01e31af0e988e77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a43914a0ca14dce525ebc1c2cc7ca3adfc8729eaed311f0e01e31af0e988e77e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a43914a0ca14dce525ebc1c2cc7ca3adfc8729eaed311f0e01e31af0e988e77e", kill_on_drop: false }` [INFO] [stdout] a43914a0ca14dce525ebc1c2cc7ca3adfc8729eaed311f0e01e31af0e988e77e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f756f73a8c52635fffe4417aedd8d76bec2fb8db3edaec6c67fcb886120e079 [INFO] running `Command { std: "docker" "start" "-a" "5f756f73a8c52635fffe4417aedd8d76bec2fb8db3edaec6c67fcb886120e079", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking value-bag v1.11.1 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking anstyle-query v1.1.3 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking async-io v2.4.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-std v1.13.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.4.5 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking ruv-fann v0.1.6 [INFO] [stderr] Checking lz4 v1.28.1 [INFO] [stderr] Checking kimi-fann-core v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | println!("=" * 50); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | println!("-" * 40); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | println!("-" * 40); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | println!("-" * 40); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | println!("-" * 40); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | println!("-" * 70); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `,`, found `*` [INFO] [stdout] --> examples/basic_neural_usage.rs:215:18 [INFO] [stdout] | [INFO] [stdout] 215 | println!("-" * 40); [INFO] [stdout] | ^ expected `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kimi_fann_core::simd_operations` [INFO] [stdout] --> benches/simd_benchmarks.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use kimi_fann_core::simd_operations::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ could not find `simd_operations` in `kimi_fann_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kimi_fann_core::memory_pool` [INFO] [stdout] --> benches/simd_benchmarks.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use kimi_fann_core::memory_pool::*; [INFO] [stdout] | ^^^^^^^^^^^ could not find `memory_pool` in `kimi_fann_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `kimi_fann_core::performance_monitor` [INFO] [stdout] --> benches/simd_benchmarks.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use kimi_fann_core::performance_monitor::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ could not find `performance_monitor` in `kimi_fann_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `consensus_threshold` and `neural_inference_enabled` in initializer of `kimi_fann_core::ProcessingConfig` [INFO] [stdout] --> benches/performance_benchmarks.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | ProcessingConfig { max_experts: 1, timeout_ms: 1000 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `consensus_threshold` and `neural_inference_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `consensus_threshold` and `neural_inference_enabled` in initializer of `kimi_fann_core::ProcessingConfig` [INFO] [stdout] --> benches/performance_benchmarks.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | ProcessingConfig { max_experts: 3, timeout_ms: 5000 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `consensus_threshold` and `neural_inference_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `consensus_threshold` and `neural_inference_enabled` in initializer of `kimi_fann_core::ProcessingConfig` [INFO] [stdout] --> benches/performance_benchmarks.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | ProcessingConfig { max_experts: 5, timeout_ms: 10000 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `consensus_threshold` and `neural_inference_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `consensus_threshold` and `neural_inference_enabled` in initializer of `kimi_fann_core::ProcessingConfig` [INFO] [stdout] --> benches/performance_benchmarks.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | ProcessingConfig { max_experts: 10, timeout_ms: 30000 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ missing `consensus_threshold` and `neural_inference_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `neural_config` in initializer of `kimi_fann_core::ExpertConfig` [INFO] [stdout] --> benches/performance_benchmarks.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | let config = ExpertConfig { [INFO] [stdout] | ^^^^^^^^^^^^ missing `neural_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `runtime` as mutable, as it is not declared as mutable [INFO] [stdout] --> benches/performance_benchmarks.rs:97:31 [INFO] [stdout] | [INFO] [stdout] 97 | black_box(runtime.process(black_box(query))) [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 81 | let mut runtime = KimiRuntime::new(config); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `runtime` as mutable, as it is not declared as mutable [INFO] [stdout] --> benches/performance_benchmarks.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | black_box(runtime.process(black_box(query))); [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 134 | let mut runtime = KimiRuntime::new(ProcessingConfig::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `runtime` as mutable, as it is not declared as mutable [INFO] [stdout] --> benches/performance_benchmarks.rs:168:35 [INFO] [stdout] | [INFO] [stdout] 168 | black_box(runtime.process(black_box(&query))); [INFO] [stdout] | ^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 163 | let mut runtime = KimiRuntime::new(ProcessingConfig::new()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable [INFO] [stdout] --> benches/performance_benchmarks.rs:223:21 [INFO] [stdout] | [INFO] [stdout] 223 | runtime_clone.process(&query) [INFO] [stdout] | ^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> examples/performance_benchmark.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Instant, Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> examples/performance_benchmark.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kimi-fann-core` (example "basic_neural_usage") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kimi-fann-core` (bench "performance_benchmarks") due to 9 previous errors [INFO] [stdout] warning: unused imports: `ExpertRouter`, `KimiRuntime`, and `ProcessingConfig` [INFO] [stdout] --> examples/p2p_coordination_demo.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | MicroExpert, ExpertRouter, KimiRuntime, ProcessingConfig, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> examples/p2p_coordination_demo.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExpertRouter`, `KimiRuntime`, `NetworkStats`, and `ProcessingConfig` [INFO] [stdout] --> examples/market_integration_example.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | MicroExpert, ExpertRouter, KimiRuntime, ProcessingConfig, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | ExpertDomain, NetworkStats [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/market_integration_example.rs:299:64 [INFO] [stdout] | [INFO] [stdout] 288 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 299 | demonstrate_basic_market_processing(&mut market_processor).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/market_integration_example.rs:300:55 [INFO] [stdout] | [INFO] [stdout] 288 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 300 | demonstrate_load_balancing(&mut market_processor).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/market_integration_example.rs:301:56 [INFO] [stdout] | [INFO] [stdout] 288 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 301 | demonstrate_sla_enforcement(&mut market_processor).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/market_integration_example.rs:302:60 [INFO] [stdout] | [INFO] [stdout] 288 | fn main() -> Result<(), Box> { [INFO] [stdout] | --------------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 302 | demonstrate_economic_incentives(&mut market_processor).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/test_all_features.rs:248:24 [INFO] [stdout] | [INFO] [stdout] 248 | ("Very long", &"a".repeat(1000)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 251 | ]; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 252 | [INFO] [stdout] 253 | for (case_name, input) in edge_cases { [INFO] [stdout] | ---------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 244 ~ let binding = "a".repeat(1000); [INFO] [stdout] 245 ~ let edge_cases = vec![ [INFO] [stdout] 246 | ("Empty", ""), [INFO] [stdout] 247 | ("Whitespace", " "), [INFO] [stdout] 248 | ("Special chars", "!@#$%^&*()[]{}"), [INFO] [stdout] 249 ~ ("Very long", &binding), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kimi-fann-core` (example "test_all_features") due to 1 previous error [INFO] [stdout] error[E0689]: can't call method `min` on ambiguous numeric type `{float}` [INFO] [stdout] --> examples/command_line_usage.rs:535:11 [INFO] [stdout] | [INFO] [stdout] 535 | score.min(1.0) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 518 | let mut score: f32 = 0.8; // Base score [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> examples/complete_workflow_demo.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::{Instant, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> examples/complete_workflow_demo.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> examples/complete_workflow_demo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0689]: can't call method `min` on ambiguous numeric type `{float}` [INFO] [stdout] --> examples/complete_workflow_demo.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | score.min(1.0) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: you must specify a type for this binding, like `f32` [INFO] [stdout] | [INFO] [stdout] 277 | let mut score: f32 = 0.7; // Base score [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/command_line_usage.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let mut runtime = KimiRuntime::new(config); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/complete_workflow_demo.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let mut runtime = KimiRuntime::new(config); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `task` [INFO] [stdout] --> examples/complete_workflow_demo.rs:309:30 [INFO] [stdout] | [INFO] [stdout] 309 | fn update_metrics(&self, task: &WorkflowTask, result: &WorkflowResult) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_task` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0689`. [INFO] [stdout] [INFO] [stdout] error[E0382]: use of partially moved value: `args.output_file` [INFO] [stdout] --> examples/command_line_usage.rs:645:57 [INFO] [stdout] | [INFO] [stdout] 642 | if let Some(output_file) = args.output_file { [INFO] [stdout] | ----------- value partially moved here [INFO] [stdout] ... [INFO] [stdout] 645 | println!("📝 Result written to: {}", args.output_file.unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ value used here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because value has type `std::string::String`, which does not implement the `Copy` trait [INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value [INFO] [stdout] | [INFO] [stdout] 642 | if let Some(ref output_file) = args.output_file { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kimi-fann-core` (example "complete_workflow_demo") due to 1 previous error; 5 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0382, E0689. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kimi-fann-core` (example "command_line_usage") due to 2 previous errors; 1 warning emitted [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> examples/p2p_coordination_demo.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn select_best_node(&mut self, nodes: &[&P2PNode], _domain: &ExpertDomain) -> Result<&P2PNode, Box> { [INFO] [stdout] | - - let's call the lifetime of this reference `'1` [INFO] [stdout] | | [INFO] [stdout] | let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 195 | Ok(best_node) [INFO] [stdout] | ^^^^^^^^^^^^^ method was supposed to return data with lifetime `'2` but it is returning data with lifetime `'1` [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter and update trait if needed [INFO] [stdout] | [INFO] [stdout] 163 | pub fn select_best_node<'a>(&mut self, nodes: &[&'a P2PNode], _domain: &ExpertDomain) -> Result<&'a P2PNode, Box> { [INFO] [stdout] | ++++ ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kimi-fann-core` (example "market_integration_example") due to 4 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kimi-fann-core` (example "p2p_coordination_demo") due to 1 previous error; 2 warnings emitted [INFO] [stderr] error: could not compile `kimi-fann-core` (bench "simd_benchmarks") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "5f756f73a8c52635fffe4417aedd8d76bec2fb8db3edaec6c67fcb886120e079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f756f73a8c52635fffe4417aedd8d76bec2fb8db3edaec6c67fcb886120e079", kill_on_drop: false }` [INFO] [stdout] 5f756f73a8c52635fffe4417aedd8d76bec2fb8db3edaec6c67fcb886120e079