[INFO] cloning repository https://github.com/iamwjun/claude-code-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iamwjun/claude-code-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwjun%2Fclaude-code-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwjun%2Fclaude-code-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7d7430efd07757d65798cc4b31ea2b0671a663de [INFO] testing iamwjun/claude-code-rust against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiamwjun%2Fclaude-code-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iamwjun/claude-code-rust [INFO] finished tweaking git repo https://github.com/iamwjun/claude-code-rust [INFO] tweaked toml for git repo https://github.com/iamwjun/claude-code-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iamwjun/claude-code-rust on toolchain 1.99.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iamwjun/claude-code-rust 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.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb [INFO] running `Command { std: "docker" "start" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb", 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" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling nibble_vec v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling radix_trie v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling fd-lock v4.0.4 [INFO] [stderr] Compiling rustyline v14.0.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling claude-mini-rust v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `query`, `set_model`, and `set_max_tokens` are never used [INFO] [stdout] --> src/api.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl ClaudeClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn query(&self, prompt: &str, history: &[Message]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn set_model(&mut self, model: String) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn set_max_tokens(&mut self, max_tokens: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiResponse` is never constructed [INFO] [stdout] --> src/types.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentBlock` is never constructed [INFO] [stdout] --> src/types.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Usage` is never constructed [INFO] [stdout] --> src/types.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Usage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `content_block` are never read [INFO] [stdout] --> src/types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct StreamEvent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | pub content_block: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.28.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling claude-mini-rust v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `query` is never used [INFO] [stdout] --> src/api.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl ClaudeClient { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub async fn query(&self, prompt: &str, history: &[Message]) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiResponse` is never constructed [INFO] [stdout] --> src/types.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ApiResponse { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContentBlock` is never constructed [INFO] [stdout] --> src/types.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ContentBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Usage` is never constructed [INFO] [stdout] --> src/types.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct Usage { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message` and `content_block` are never read [INFO] [stdout] --> src/types.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct StreamEvent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub message: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | pub content_block: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StreamEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `claude-mini-rust` (example "basic") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/1.99.0-beta.1-x86_64-unknown-linux-gnu/bin/rustc --crate-name basic --edition=2021 examples/basic.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C lto -C codegen-units=1 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=722361b91d92bd47 -C extra-filename=-3186ac7d1c2d4814 --out-dir /opt/rustwide/target/release/examples -C strip=symbols -L dependency=/opt/rustwide/target/release/deps --extern anyhow=/opt/rustwide/target/release/deps/libanyhow-e4b90ed7d88ad6bf.rlib --extern bytes=/opt/rustwide/target/release/deps/libbytes-8cc8048392df07b9.rlib --extern colored=/opt/rustwide/target/release/deps/libcolored-4715444a3a241a82.rlib --extern dotenv=/opt/rustwide/target/release/deps/libdotenv-d7f956f5dcfa9b21.rlib --extern futures=/opt/rustwide/target/release/deps/libfutures-c392911d886b9e62.rlib --extern reqwest=/opt/rustwide/target/release/deps/libreqwest-f268fbce5accca4e.rlib --extern rustyline=/opt/rustwide/target/release/deps/librustyline-eae742e3f7dac12b.rlib --extern serde=/opt/rustwide/target/release/deps/libserde-6700fdf797b3ca99.rlib --extern serde_json=/opt/rustwide/target/release/deps/libserde_json-ad2141343331888e.rlib --extern thiserror=/opt/rustwide/target/release/deps/libthiserror-9bd7423826a8a61b.rlib --extern tokio=/opt/rustwide/target/release/deps/libtokio-f3b03b01cd75ba7d.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb", kill_on_drop: false }` [INFO] [stdout] df0998ea25c01962008ef41fa357e5e3793733fc860d2df8b33941627907fbfb