[INFO] fetching crate kimi-fann-core 0.1.4... [INFO] testing kimi-fann-core-0.1.4 against 1.90.0 for beta-1.91-3 [INFO] extracting crate kimi-fann-core 0.1.4 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kimi-fann-core 0.1.4 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.5.41 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.4.5 [INFO] [stderr] Downloaded console_log v1.0.0 [INFO] [stderr] Downloaded clap_builder v4.5.41 [INFO] [stderr] Downloaded proptest v1.7.0 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded ruv-fann v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97a4e662eae2c94a029b2f613957c5919e6c7d78d6696d2ab58afb109d0d3ac8 [INFO] running `Command { std: "docker" "start" "-a" "97a4e662eae2c94a029b2f613957c5919e6c7d78d6696d2ab58afb109d0d3ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a4e662eae2c94a029b2f613957c5919e6c7d78d6696d2ab58afb109d0d3ac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a4e662eae2c94a029b2f613957c5919e6c7d78d6696d2ab58afb109d0d3ac8", kill_on_drop: false }` [INFO] [stdout] 97a4e662eae2c94a029b2f613957c5919e6c7d78d6696d2ab58afb109d0d3ac8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c91b7d74960306d0daa8af514c27604b0f5b842a76ed582969b8ae7da6b7a950 [INFO] running `Command { std: "docker" "start" "-a" "c91b7d74960306d0daa8af514c27604b0f5b842a76ed582969b8ae7da6b7a950", kill_on_drop: false }` [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] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling rand_distr v0.4.3 [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 futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde-wasm-bindgen v0.4.5 [INFO] [stderr] Compiling ruv-fann v0.1.6 [INFO] [stderr] Compiling console_log v1.0.0 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling kimi-fann-core v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.49s [INFO] running `Command { std: "docker" "inspect" "c91b7d74960306d0daa8af514c27604b0f5b842a76ed582969b8ae7da6b7a950", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c91b7d74960306d0daa8af514c27604b0f5b842a76ed582969b8ae7da6b7a950", kill_on_drop: false }` [INFO] [stdout] c91b7d74960306d0daa8af514c27604b0f5b842a76ed582969b8ae7da6b7a950 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 017a132ad8ab7aa38c3236d67d8cf2d8cc199776c42a7e7b938f6ee1f65450b0 [INFO] running `Command { std: "docker" "start" "-a" "017a132ad8ab7aa38c3236d67d8cf2d8cc199776c42a7e7b938f6ee1f65450b0", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstyle-query v1.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anstream v0.6.19 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde-wasm-bindgen v0.4.5 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.50 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling polling v3.8.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling async-io v2.4.1 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling ruv-fann v0.1.6 [INFO] [stderr] Compiling console_log v1.0.0 [INFO] [stderr] Compiling kimi-fann-core v0.1.4 (/opt/rustwide/workdir) [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: 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[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] 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] [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] [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] [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] 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] [stderr] error: could not compile `kimi-fann-core` (example "p2p_coordination_demo") due to 1 previous error; 2 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [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] [stderr] error: could not compile `kimi-fann-core` (example "test_all_features") due to 1 previous error [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/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: 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] 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] [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[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] 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] 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] [stderr] error: could not compile `kimi-fann-core` (example "complete_workflow_demo") due to 1 previous error; 5 warnings emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0689`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "017a132ad8ab7aa38c3236d67d8cf2d8cc199776c42a7e7b938f6ee1f65450b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017a132ad8ab7aa38c3236d67d8cf2d8cc199776c42a7e7b938f6ee1f65450b0", kill_on_drop: false }` [INFO] [stdout] 017a132ad8ab7aa38c3236d67d8cf2d8cc199776c42a7e7b938f6ee1f65450b0