[INFO] cloning repository https://github.com/ywxt/shiqu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ywxt/shiqu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywxt%2Fshiqu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywxt%2Fshiqu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 656c28920cf0db00bb0a645387e9c82302d49e18 [INFO] checking ywxt/shiqu against master#fe348cd1a8e0fa445b772393147ed865904dcd4d for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywxt%2Fshiqu" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ywxt/shiqu on toolchain fe348cd1a8e0fa445b772393147ed865904dcd4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ywxt/shiqu [INFO] finished tweaking git repo https://github.com/ywxt/shiqu [INFO] tweaked toml for git repo https://github.com/ywxt/shiqu written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ywxt/shiqu 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" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rc-box v1.3.0 [INFO] [stderr] Downloaded erasable v1.3.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b57456e07eea098414ccb41c4fbaa4b7e0010be29319dc8ccacf2622e65f6f5 [INFO] running `Command { std: "docker" "start" "-a" "6b57456e07eea098414ccb41c4fbaa4b7e0010be29319dc8ccacf2622e65f6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b57456e07eea098414ccb41c4fbaa4b7e0010be29319dc8ccacf2622e65f6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b57456e07eea098414ccb41c4fbaa4b7e0010be29319dc8ccacf2622e65f6f5", kill_on_drop: false }` [INFO] [stdout] 6b57456e07eea098414ccb41c4fbaa4b7e0010be29319dc8ccacf2622e65f6f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fe348cd1a8e0fa445b772393147ed865904dcd4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 923500ccf53894553f40148a786dcb294ad7bd36c8159d9d61acbd45deed9fe0 [INFO] running `Command { std: "docker" "start" "-a" "923500ccf53894553f40148a786dcb294ad7bd36c8159d9d61acbd45deed9fe0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking indexmap v2.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.8 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking uuid v1.16.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rc-box v1.3.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Checking rustls-pki-types v1.11.0 [INFO] [stderr] Checking takecell v0.1.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking dptree v0.3.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.12.15 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking teloxide-core v0.10.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Checking sqlx v0.8.3 [INFO] [stderr] Checking teloxide v0.13.0 [INFO] [stderr] Checking shiqu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/entity.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use character::{Character, CharacterContext}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Conversation` [INFO] [stdout] --> src/entity.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use conversation::{Conversation, ConversationContext}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message` and `Role` [INFO] [stdout] --> src/entity.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub use message::{Message, Role, MessageContext}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/entity.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user::{User, UserContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/entity.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use character::{Character, CharacterContext}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Conversation` [INFO] [stdout] --> src/entity.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use conversation::{Conversation, ConversationContext}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Message` and `Role` [INFO] [stdout] --> src/entity.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | pub use message::{Message, Role, MessageContext}; [INFO] [stdout] | ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `User` [INFO] [stdout] --> src/entity.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub use user::{User, UserContext}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/dialogue.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dialogue: Dialogue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/dialogue.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | session_id: String, // Available from `case![DialogueState::Interaction{session_id}]` [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/dialogue.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | me: Me, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dialogue` [INFO] [stdout] --> src/dialogue.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | dialogue: Dialogue, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/dialogue.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | session_id: String, // Available from `case![DialogueState::Interaction{session_id}]` [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `me` [INFO] [stdout] --> src/dialogue.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | me: Me, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_token`, `create_request`, and `streaming_response` are never used [INFO] [stdout] --> src/api.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Api { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 4 | fn from_token(token: impl Into, model: impl Into) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | fn create_request(&self, message: &str) -> crate::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | fn streaming_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelApi` is never constructed [INFO] [stdout] --> src/api.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ModelApi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelApi` 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: associated items `from_token` and `send_messsage` are never used [INFO] [stdout] --> src/api.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ModelApi { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 21 | fn from_token(token: &str, model: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | async fn send_messsage( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/character.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CharacterContext(SqlitePool); [INFO] [stdout] | ---------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_by_id` is never used [INFO] [stdout] --> src/entity/character.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl CharacterContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_id(&mut self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/conversation.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConversationContext(SqlitePool); [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `CREATED_AT` and `find_by_id` are never used [INFO] [stdout] --> src/entity/conversation.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConversationContext { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub const CREATED_AT: &'static str = "created_at"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn find_by_id(&mut self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `System`, `Assistant`, and `User` are never constructed [INFO] [stdout] --> src/entity/message.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Role { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | System = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Assistant = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | User = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/message.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MessageContext(SqlitePool); [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/user.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UserContext(SqlitePool); [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_by_id` and `find_by_telegram_id` are never used [INFO] [stdout] --> src/entity/user.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn find_by_id(&self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn find_by_telegram_id(&mut self, telegram_id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/http.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl RequestBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn method_ref(&self) -> Option<&http::Method> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn uri_ref(&self) -> Option<&http::Uri> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn version(mut self, version: http::Version) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn version_ref(&self) -> Option<&http::Version> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn header(mut self, key: K, value: V) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn headers_ref(&self) -> Option<&http::HeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn headers_mut(&mut self) -> Option<&mut http::HeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn extension(mut self, extension: T) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn extensions_ref(&self) -> Option<&http::Extensions> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn extensions_mut(&mut self) -> Option<&mut http::Extensions> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn body(self, body: T) -> Result, crate::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_token`, `create_request`, and `streaming_response` are never used [INFO] [stdout] --> src/api.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Api { [INFO] [stdout] | --- associated items in this trait [INFO] [stdout] 4 | fn from_token(token: impl Into, model: impl Into) -> Self; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | [INFO] [stdout] 6 | fn create_request(&self, message: &str) -> crate::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | [INFO] [stdout] 8 | fn streaming_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModelApi` is never constructed [INFO] [stdout] --> src/api.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct ModelApi { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModelApi` 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: associated items `from_token` and `send_messsage` are never used [INFO] [stdout] --> src/api.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ModelApi { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 21 | fn from_token(token: &str, model: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | async fn send_messsage( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/character.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CharacterContext(SqlitePool); [INFO] [stdout] | ---------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `find_by_id` is never used [INFO] [stdout] --> src/entity/character.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl CharacterContext { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub async fn find_by_id(&mut self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/conversation.rs:11:32 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ConversationContext(SqlitePool); [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `CREATED_AT` and `find_by_id` are never used [INFO] [stdout] --> src/entity/conversation.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 13 | impl ConversationContext { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub const CREATED_AT: &'static str = "created_at"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub async fn find_by_id(&mut self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `System`, `Assistant`, and `User` are never constructed [INFO] [stdout] --> src/entity/message.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Role { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 14 | System = 0, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | Assistant = 1, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | User = 2, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/message.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct MessageContext(SqlitePool); [INFO] [stdout] | -------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/entity/user.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct UserContext(SqlitePool); [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_by_id` and `find_by_telegram_id` are never used [INFO] [stdout] --> src/entity/user.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 12 | impl UserContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn find_by_id(&self, id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub async fn find_by_telegram_id(&mut self, telegram_id: i64) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/http.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl RequestBuilder { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn method_ref(&self) -> Option<&http::Method> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn uri_ref(&self) -> Option<&http::Uri> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn version(mut self, version: http::Version) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn version_ref(&self) -> Option<&http::Version> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn header(mut self, key: K, value: V) -> Self [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn headers_ref(&self) -> Option<&http::HeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn headers_mut(&mut self) -> Option<&mut http::HeaderMap> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn extension(mut self, extension: T) -> Self [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn extensions_ref(&self) -> Option<&http::Extensions> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn extensions_mut(&mut self) -> Option<&mut http::Extensions> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn body(self, body: T) -> Result, crate::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 57s [INFO] running `Command { std: "docker" "inspect" "923500ccf53894553f40148a786dcb294ad7bd36c8159d9d61acbd45deed9fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "923500ccf53894553f40148a786dcb294ad7bd36c8159d9d61acbd45deed9fe0", kill_on_drop: false }` [INFO] [stdout] 923500ccf53894553f40148a786dcb294ad7bd36c8159d9d61acbd45deed9fe0