[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/adb2d541a519aa926351835ec8184ad6f369e373 against master#0028f344ce9f64766259577c998a1959ca1f6a0b for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpolarislys%2Fopenai" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/polarislys/openai on toolchain 0028f344ce9f64766259577c998a1959ca1f6a0b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "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" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-cond v0.4.0 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Downloaded monostate v0.1.16 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.2 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded crossbeam v0.8.4 [INFO] [stderr] Downloaded dary_heap v0.3.8 [INFO] [stderr] Downloaded serde_derive v1.0.226 [INFO] [stderr] Downloaded serde_core v1.0.226 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded serde v1.0.226 [INFO] [stderr] Downloaded monostate-impl v0.1.16 [INFO] [stderr] Downloaded minijinja v2.12.0 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded tokenizers v0.22.1 [INFO] [stderr] Downloaded unicode-width v0.2.1 [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93aef1842838fb7db65a6cc742bede5051f0b3917a059636278d2557b7c82c04 [INFO] running `Command { std: "docker" "start" "-a" "93aef1842838fb7db65a6cc742bede5051f0b3917a059636278d2557b7c82c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93aef1842838fb7db65a6cc742bede5051f0b3917a059636278d2557b7c82c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93aef1842838fb7db65a6cc742bede5051f0b3917a059636278d2557b7c82c04", kill_on_drop: false }` [INFO] [stdout] 93aef1842838fb7db65a6cc742bede5051f0b3917a059636278d2557b7c82c04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0028f344ce9f64766259577c998a1959ca1f6a0b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb68f3d5e64eb0c2ff8d6b91399a9240a9201f2b798e6775c4539aadcecdb6c6 [INFO] running `Command { std: "docker" "start" "-a" "bb68f3d5e64eb0c2ff8d6b91399a9240a9201f2b798e6775c4539aadcecdb6c6", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.226 [INFO] [stderr] Compiling serde v1.0.226 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking portable-atomic v1.11.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking unicode-normalization-alignments v0.1.12 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rayon-core v1.13.0 [INFO] [stderr] Checking macro_rules_attribute v0.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking onig v6.5.1 [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 thiserror v2.0.16 [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 derive_builder v0.20.2 [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 spm_precompiled v0.1.4 [INFO] [stderr] Checking dary_heap v0.3.8 [INFO] [stderr] Checking compact_str v0.9.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking minijinja v2.12.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking tokenizers v0.22.1 [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 36.30s [INFO] running `Command { std: "docker" "inspect" "bb68f3d5e64eb0c2ff8d6b91399a9240a9201f2b798e6775c4539aadcecdb6c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb68f3d5e64eb0c2ff8d6b91399a9240a9201f2b798e6775c4539aadcecdb6c6", kill_on_drop: false }` [INFO] [stdout] bb68f3d5e64eb0c2ff8d6b91399a9240a9201f2b798e6775c4539aadcecdb6c6