[INFO] cloning repository https://github.com/acjog/1bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/acjog/1bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facjog%2F1bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facjog%2F1bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0846fda1c1edede5e28247603b98598427c771a [INFO] checking acjog/1bot against c999cef531ea9059e189e82fe0e82c5daf249bc9 for pr-152972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Facjog%2F1bot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/acjog/1bot [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/acjog/1bot [INFO] tweaked toml for git repo https://github.com/acjog/1bot written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/acjog/1bot on toolchain c999cef531ea9059e189e82fe0e82c5daf249bc9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/acjog/1bot 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" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.12.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83 [INFO] running `Command { std: "docker" "start" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83", 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" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83" "/opt/rustwide/cargo-home/bin/cargo" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83", 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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83" "/opt/rustwide/cargo-home/bin/cargo" "+c999cef531ea9059e189e82fe0e82c5daf249bc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.32 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Checking http v1.4.1 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Checking bitflags v2.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aws-lc-rs v1.17.0 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking rustls-pki-types v1.14.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling openssl v0.10.80 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling pest v2.8.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling pest_meta v2.8.6 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling fs-err v3.3.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking data-encoding v2.11.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking arc-swap v1.9.1 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Compiling pest_generator v2.8.6 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking uuid v1.23.2 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Compiling pest_derive v2.8.6 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking chrono v0.4.45 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling openssl-sys v0.9.116 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling aws-lc-sys v0.41.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking simple_asn1 v0.6.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking dashmap v6.2.1 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking yaml-rust2 v0.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking hyper v1.10.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking rustls-webpki v0.103.13 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking axum-server v0.7.3 [INFO] [stderr] Checking agent-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut app = app.clone(); [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/main.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut app = app.clone(); [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: fields `task_timeout_secs`, `heartbeat_timeout_secs`, and `bot_b_rate_limit` are never read [INFO] [stdout] --> src/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub task_timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | /// Agent 心跳超时(秒) [INFO] [stdout] 14 | pub heartbeat_timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | /// 单个 Orchestrator 限流(每分钟) [INFO] [stdout] 16 | pub bot_b_rate_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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 `AgentNotFound` and `RateLimitExceeded` are never constructed [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GatewayError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 13 | #[error("Agent not found: {0}")] [INFO] [stdout] 14 | AgentNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | RateLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `notification`, `response`, `is_request`, and `is_notification` are never used [INFO] [stdout] --> src/registry.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl JsonRpcMessage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn notification(method: &str, params: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn response(id: serde_json::Value, result: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_request(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_notification(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TaskCancel` is never constructed [INFO] [stdout] --> src/registry.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum DownMessage { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 124 | TaskCancel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownMessage` 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: fields `task_timeout_secs`, `heartbeat_timeout_secs`, and `bot_b_rate_limit` are never read [INFO] [stdout] --> src/config.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub task_timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | /// Agent 心跳超时(秒) [INFO] [stdout] 14 | pub heartbeat_timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | /// 单个 Orchestrator 限流(每分钟) [INFO] [stdout] 16 | pub bot_b_rate_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are 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 `AgentNotFound` and `RateLimitExceeded` are never constructed [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum GatewayError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 13 | #[error("Agent not found: {0}")] [INFO] [stdout] 14 | AgentNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | RateLimitExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GatewayError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `notification`, `response`, `is_request`, and `is_notification` are never used [INFO] [stdout] --> src/registry.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl JsonRpcMessage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn notification(method: &str, params: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn response(id: serde_json::Value, result: serde_json::Value) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn is_request(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn is_notification(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TaskCancel` is never constructed [INFO] [stdout] --> src/registry.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 117 | pub enum DownMessage { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 124 | TaskCancel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DownMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `axum-server` [INFO] [stderr] --> Cargo.toml:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | [dependencies.axum-server] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `axum-server` [INFO] [stderr] warning: `agent-gateway` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83", kill_on_drop: false }` [INFO] [stdout] 3a8a2ab83439b6f6f5900a9010b498930d0d43cad6926652b40786c52635ad83