[INFO] cloning repository https://github.com/polarislys/openai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/polarislys/openai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolarislys%2Fopenai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolarislys%2Fopenai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adb2d541a519aa926351835ec8184ad6f369e373 [INFO] checking polarislys/openai against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolarislys%2Fopenai" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/polarislys/openai [INFO] finished tweaking git repo https://github.com/polarislys/openai [INFO] tweaked toml for git repo https://github.com/polarislys/openai written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/polarislys/openai on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/polarislys/openai 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "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] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking polarislys/openai against try#f27166d4c64dc29edc5ea3214357f191edf8b635 for pr-148329 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolarislys%2Fopenai" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/polarislys/openai [INFO] finished tweaking git repo https://github.com/polarislys/openai [INFO] tweaked toml for git repo https://github.com/polarislys/openai written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/polarislys/openai on toolchain f27166d4c64dc29edc5ea3214357f191edf8b635 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/polarislys/openai 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" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-cond v0.4.0 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.2 [INFO] [stderr] Downloaded dary_heap v0.3.8 [INFO] [stderr] Downloaded monostate v0.1.16 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded monostate-impl v0.1.16 [INFO] [stderr] Downloaded minijinja v2.12.0 [INFO] [stderr] Downloaded tokenizers v0.22.1 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b48608d5fa5dc0ce994e2b7e7bb22d4c91ee4dbc629915ca88790b20b4bb113e [INFO] running `Command { std: "docker" "start" "-a" "b48608d5fa5dc0ce994e2b7e7bb22d4c91ee4dbc629915ca88790b20b4bb113e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b48608d5fa5dc0ce994e2b7e7bb22d4c91ee4dbc629915ca88790b20b4bb113e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b48608d5fa5dc0ce994e2b7e7bb22d4c91ee4dbc629915ca88790b20b4bb113e", kill_on_drop: false }` [INFO] [stdout] b48608d5fa5dc0ce994e2b7e7bb22d4c91ee4dbc629915ca88790b20b4bb113e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f27166d4c64dc29edc5ea3214357f191edf8b635" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22b87f92b74cf6d09d91820e5d55c6997da1b2632dee05bc4727fee4a2887247 [INFO] running `Command { std: "docker" "start" "-a" "22b87f92b74cf6d09d91820e5d55c6997da1b2632dee05bc4727fee4a2887247", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking macro_rules_attribute v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.226 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling monostate-impl v0.1.16 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking monostate v0.1.16 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking onig v6.5.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking spm_precompiled v0.1.4 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking minijinja v2.12.0 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking tokenizers v0.22.1 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking hello_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/test_tokenizer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut env = Environment::new(); [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/test_tokenizer.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut env = Environment::new(); [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: field `input_ids` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct BatchRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | input_ids: Vec, // 新增:分词后的 token ids [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BatchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetStatus` and `Shutdown` are never constructed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum LLMTask { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 34 | ProcessBatch(Vec), [INFO] [stdout] 35 | GetStatus, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LLMTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 150 | struct LLMWorker { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temperature`, `max_tokens`, and `top_p` are never read [INFO] [stdout] --> src/main.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct ChatCompletionRequest { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | temperature: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 295 | max_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | top_p: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_ids` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct BatchRequest { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | input_ids: Vec, // 新增:分词后的 token ids [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BatchRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GetStatus` and `Shutdown` are never constructed [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | enum LLMTask { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 34 | ProcessBatch(Vec), [INFO] [stdout] 35 | GetStatus, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | Shutdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LLMTask` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_time` is never read [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 150 | struct LLMWorker { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | start_time: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `temperature`, `max_tokens`, and `top_p` are never read [INFO] [stdout] --> src/main.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 290 | pub struct ChatCompletionRequest { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 294 | temperature: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 295 | max_tokens: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 296 | top_p: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatCompletionRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.63s [INFO] running `Command { std: "docker" "inspect" "22b87f92b74cf6d09d91820e5d55c6997da1b2632dee05bc4727fee4a2887247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b87f92b74cf6d09d91820e5d55c6997da1b2632dee05bc4727fee4a2887247", kill_on_drop: false }` [INFO] [stdout] 22b87f92b74cf6d09d91820e5d55c6997da1b2632dee05bc4727fee4a2887247