[INFO] fetching crate credify 0.4.0... [INFO] checking credify-0.4.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate credify 0.4.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate credify 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate credify 0.4.0 [INFO] tweaked toml for crates.io crate credify 0.4.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate credify 0.4.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate credify 0.4.0 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dbc28284849f3c29828348254ae147b29ad76ee004e3c49e36d3301da4dce6f [INFO] running `Command { std: "docker" "start" "-a" "2dbc28284849f3c29828348254ae147b29ad76ee004e3c49e36d3301da4dce6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dbc28284849f3c29828348254ae147b29ad76ee004e3c49e36d3301da4dce6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbc28284849f3c29828348254ae147b29ad76ee004e3c49e36d3301da4dce6f", kill_on_drop: false }` [INFO] [stdout] 2dbc28284849f3c29828348254ae147b29ad76ee004e3c49e36d3301da4dce6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d35f054302b9ba4a845f3a5c9bc3b8db477c4c8fc23e3f0dcf57cf8d67cff19 [INFO] running `Command { std: "docker" "start" "-a" "0d35f054302b9ba4a845f3a5c9bc3b8db477c4c8fc23e3f0dcf57cf8d67cff19", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking ecb v0.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking rangemap v1.6.0 [INFO] [stderr] Checking dyn-clone v1.0.20 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking as-any v0.3.2 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking nom_locate v5.0.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling rig-derive v0.1.4 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking lopdf v0.36.0 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking tokio-rustls v0.26.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking rig-core v0.16.0 [INFO] [stderr] Checking credify v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Completion` [INFO] [stdout] --> examples/rig_async_proper.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | use rig::completion::{Completion, Prompt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToolDefinition` [INFO] [stdout] --> examples/rig_mock_xai.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | use mock_rig::{Prompt, Tool, ToolDefinition, providers}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tool` [INFO] [stdout] --> examples/rig_mock_xai.rs:101:72 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn tool(mut self, tool: T) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `NAME` and `definition` are never used [INFO] [stdout] --> examples/rig_integration.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 26 | impl LinkedInValidator { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 27 | const NAME: &'static str = "LinkedInValidator"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | [INFO] [stdout] 29 | fn definition(&self) -> serde_json::Value { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ToolDefinition` is never constructed [INFO] [stdout] --> examples/rig_mock_xai.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ToolDefinition { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `definition`, `description`, and `parameters` are never used [INFO] [stdout] --> examples/rig_mock_xai.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 21 | pub trait Tool: Send + Sync { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 27 | async fn definition(&self, _prompt: String) -> ToolDefinition { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn description(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | fn parameters(&self) -> serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> examples/rig_mock_xai.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 70 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GROK_BETA` is never used [INFO] [stdout] --> examples/rig_mock_xai.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | pub const GROK_BETA: &str = "grok-beta"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ValidationError` is never constructed [INFO] [stdout] --> examples/rig_complete_integration.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | enum LinkedInValidatorError { [INFO] [stdout] | ---------------------- variant in this enum [INFO] [stdout] 47 | #[error("Validation failed: {0}")] [INFO] [stdout] 48 | ValidationError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinkedInValidatorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.29s [INFO] running `Command { std: "docker" "inspect" "0d35f054302b9ba4a845f3a5c9bc3b8db477c4c8fc23e3f0dcf57cf8d67cff19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d35f054302b9ba4a845f3a5c9bc3b8db477c4c8fc23e3f0dcf57cf8d67cff19", kill_on_drop: false }` [INFO] [stdout] 0d35f054302b9ba4a845f3a5c9bc3b8db477c4c8fc23e3f0dcf57cf8d67cff19