[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] testing ywxt/shiqu against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fywxt%2Fshiqu" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ywxt/shiqu on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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-4-tc2/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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb4a7c1bf06d4bd293818c3f4b18fe9bcfe597c478a7f675409cc7c9f1979943 [INFO] running `Command { std: "docker" "start" "-a" "eb4a7c1bf06d4bd293818c3f4b18fe9bcfe597c478a7f675409cc7c9f1979943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb4a7c1bf06d4bd293818c3f4b18fe9bcfe597c478a7f675409cc7c9f1979943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb4a7c1bf06d4bd293818c3f4b18fe9bcfe597c478a7f675409cc7c9f1979943", kill_on_drop: false }` [INFO] [stdout] eb4a7c1bf06d4bd293818c3f4b18fe9bcfe597c478a7f675409cc7c9f1979943 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08efcc17ffcb6c3fddcb3fdda2dc7975fc5c45217e95abddc08d5ded7c5b93ce [INFO] running `Command { std: "docker" "start" "-a" "08efcc17ffcb6c3fddcb3fdda2dc7975fc5c45217e95abddc08d5ded7c5b93ce", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rustix v1.0.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.3 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling teloxide-macros v0.8.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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 tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling dptree v0.3.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling aquamarine v0.5.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling sqlx-core v0.8.3 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling sqlx-sqlite v0.8.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling sqlx-macros-core v0.8.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.8.3 [INFO] [stderr] Compiling teloxide-core v0.10.1 [INFO] [stderr] Compiling sqlx v0.8.3 [INFO] [stderr] Compiling teloxide v0.13.0 [INFO] [stderr] Compiling 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 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "08efcc17ffcb6c3fddcb3fdda2dc7975fc5c45217e95abddc08d5ded7c5b93ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08efcc17ffcb6c3fddcb3fdda2dc7975fc5c45217e95abddc08d5ded7c5b93ce", kill_on_drop: false }` [INFO] [stdout] 08efcc17ffcb6c3fddcb3fdda2dc7975fc5c45217e95abddc08d5ded7c5b93ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0a0c9b16864188734ae2c2279932811aceb8dfbb4eafdbd2c2309ebaa59dd6b3 [INFO] running `Command { std: "docker" "start" "-a" "0a0c9b16864188734ae2c2279932811aceb8dfbb4eafdbd2c2309ebaa59dd6b3", kill_on_drop: false }` [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: 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] [stderr] Compiling shiqu v0.1.0 (/opt/rustwide/workdir) [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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 6.79s [INFO] running `Command { std: "docker" "inspect" "0a0c9b16864188734ae2c2279932811aceb8dfbb4eafdbd2c2309ebaa59dd6b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0c9b16864188734ae2c2279932811aceb8dfbb4eafdbd2c2309ebaa59dd6b3", kill_on_drop: false }` [INFO] [stdout] 0a0c9b16864188734ae2c2279932811aceb8dfbb4eafdbd2c2309ebaa59dd6b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd56e99ad3f9184c540ef4c0f3f97b84d01f726b9224a80908b0df5d738a281c [INFO] running `Command { std: "docker" "start" "-a" "cd56e99ad3f9184c540ef4c0f3f97b84d01f726b9224a80908b0df5d738a281c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Character` [INFO] [stderr] --> src/entity.rs:6:21 [INFO] [stderr] | [INFO] [stderr] 6 | pub use character::{Character, CharacterContext}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Conversation` [INFO] [stderr] --> src/entity.rs:7:24 [INFO] [stderr] | [INFO] [stderr] 7 | pub use conversation::{Conversation, ConversationContext}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Message` and `Role` [INFO] [stderr] --> src/entity.rs:8:19 [INFO] [stderr] | [INFO] [stderr] 8 | pub use message::{Message, Role, MessageContext}; [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `User` [INFO] [stderr] --> src/entity.rs:9:16 [INFO] [stderr] | [INFO] [stderr] 9 | pub use user::{User, UserContext}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dialogue` [INFO] [stderr] --> src/dialogue.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | dialogue: Dialogue, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dialogue` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> src/dialogue.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | session_id: String, // Available from `case![DialogueState::Interaction{session_id}]` [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `me` [INFO] [stderr] --> src/dialogue.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | me: Me, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_me` [INFO] [stderr] [INFO] [stderr] warning: associated items `from_token`, `create_request`, and `streaming_response` are never used [INFO] [stderr] --> src/api.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait Api { [INFO] [stderr] | --- associated items in this trait [INFO] [stderr] 4 | fn from_token(token: impl Into, model: impl Into) -> Self; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 5 | [INFO] [stderr] 6 | fn create_request(&self, message: &str) -> crate::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 7 | [INFO] [stderr] 8 | fn streaming_response( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ModelApi` is never constructed [INFO] [stderr] --> src/api.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct ModelApi { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ModelApi` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `from_token` and `send_messsage` are never used [INFO] [stderr] --> src/api.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 20 | impl ModelApi { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] 21 | fn from_token(token: &str, model: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | async fn send_messsage( [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/entity/character.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct CharacterContext(SqlitePool); [INFO] [stderr] | ---------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: method `find_by_id` is never used [INFO] [stderr] --> src/entity/character.rs:19:18 [INFO] [stderr] | [INFO] [stderr] 10 | impl CharacterContext { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 19 | pub async fn find_by_id(&mut self, id: i64) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/entity/conversation.rs:11:32 [INFO] [stderr] | [INFO] [stderr] 11 | pub struct ConversationContext(SqlitePool); [INFO] [stderr] | ------------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: associated items `CREATED_AT` and `find_by_id` are never used [INFO] [stderr] --> src/entity/conversation.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 13 | impl ConversationContext { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 18 | pub const CREATED_AT: &'static str = "created_at"; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 24 | pub async fn find_by_id(&mut self, id: i64) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `System`, `Assistant`, and `User` are never constructed [INFO] [stderr] --> src/entity/message.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum Role { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 14 | System = 0, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 15 | Assistant = 1, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 16 | User = 2, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Role` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/entity/message.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | pub struct MessageContext(SqlitePool); [INFO] [stderr] | -------------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/entity/user.rs:10:24 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct UserContext(SqlitePool); [INFO] [stderr] | ----------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: methods `find_by_id` and `find_by_telegram_id` are never used [INFO] [stderr] --> src/entity/user.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 12 | impl UserContext { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 22 | pub async fn find_by_id(&self, id: i64) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 40 | pub async fn find_by_telegram_id(&mut self, telegram_id: i64) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/http.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 37 | impl RequestBuilder { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn method_ref(&self) -> Option<&http::Method> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 60 | pub fn uri_ref(&self) -> Option<&http::Uri> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 64 | pub fn version(mut self, version: http::Version) -> Self { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn version_ref(&self) -> Option<&http::Version> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 73 | pub fn header(mut self, key: K, value: V) -> Self [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 84 | pub fn headers_ref(&self) -> Option<&http::HeaderMap> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 88 | pub fn headers_mut(&mut self) -> Option<&mut http::HeaderMap> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | pub fn extension(mut self, extension: T) -> Self [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn extensions_ref(&self) -> Option<&http::Extensions> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn extensions_mut(&mut self) -> Option<&mut http::Extensions> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 108 | pub fn body(self, body: T) -> Result, crate::Error> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `shiqu` (lib) generated 19 warnings (run `cargo fix --lib -p shiqu` to apply 4 suggestions) [INFO] [stderr] warning: `shiqu` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/shiqu-b6452f8e638edd47) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/shiqu-96ae905febcd5de3) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/bot.rs (/opt/rustwide/target/debug/deps/bot-2828ce06b811c10d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_bot ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_bot stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_bot' panicked at tests/bot.rs:6:57: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: NotPresent [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x602d9839dd72 - std::backtrace_rs::backtrace::libunwind::trace::h2bdbdb423cc746ad [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x602d9839dd72 - std::backtrace_rs::backtrace::trace_unsynchronized::h876081fa48c0856a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x602d9839dd72 - std::sys::backtrace::_print_fmt::h744638bebbff2806 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x602d9839dd72 - ::fmt::he6e74fa9d0076b5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x602d983c5e33 - core::fmt::rt::Argument::fmt::hf88a3177e76af877 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x602d983c5e33 - core::fmt::write::h6442196e41589522 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x602d9839a1d3 - std::io::default_write_fmt::h19b804dc75596022 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x602d9839a1d3 - std::io::Write::write_fmt::h561df7c669043671 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x602d9839dbc2 - std::sys::backtrace::BacktraceLock::print::h25e1ce4c29150054 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x602d9839f2fc - std::panicking::default_hook::{{closure}}::h36663bdaae83f2bb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x602d9839f152 - std::panicking::default_hook::hb9d7c40580cf1835 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x602d978ff1b4 - as core::ops::function::Fn>::call::h53bdf3f1ac68020f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x602d978ff1b4 - test::test_main_with_exit_callback::{{closure}}::h3ae9af1665ff5b7d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x602d9839fdf3 - as core::ops::function::Fn>::call::ha3a705c6ebc0f8fb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x602d9839fdf3 - std::panicking::rust_panic_with_hook::h2d703857e4ba629f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x602d9839faaa - std::panicking::begin_panic_handler::{{closure}}::h53dd12a17ad784b1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x602d9839e279 - std::sys::backtrace::__rust_end_short_backtrace::hf54a874920d38937 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x602d9839f73d - __rustc[22d03d94d4da23d0]::rust_begin_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x602d983c37c0 - core::panicking::panic_fmt::hb74c170c8276d1d6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x602d983c3c86 - core::result::unwrap_failed::hc1dbbc53e2530a6b [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x602d9787bb53 - core::result::Result::unwrap::hec72efb0bb27d6a4 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x602d9787bb53 - bot::test_bot::{{closure}}::h172584b9c44d6735 [INFO] [stdout] at /opt/rustwide/workdir/tests/bot.rs:6:25 [INFO] [stdout] 22: 0x602d978b9762 - as core::future::future::Future>::poll::hf8e25e70d16033c9 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/future/future.rs:124:9 [INFO] [stdout] 23: 0x602d978b94bd - as core::future::future::Future>::poll::h62f14ec4d054ec0d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/future/future.rs:124:9 [INFO] [stdout] 24: 0x602d97848aef - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h2f3cf7aad44dcb2b [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:733:54 [INFO] [stdout] 25: 0x602d97848a45 - tokio::task::coop::with_budget::he69968cf4693cbe2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/coop/mod.rs:167:5 [INFO] [stdout] 26: 0x602d97848a45 - tokio::task::coop::budget::h8264161151eec93a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/task/coop/mod.rs:133:5 [INFO] [stdout] 27: 0x602d97848a45 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::hfeb354d978352788 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:733:25 [INFO] [stdout] 28: 0x602d97845b30 - tokio::runtime::scheduler::current_thread::Context::enter::h8f6b7fa9470124aa [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:432:19 [INFO] [stdout] 29: 0x602d97847438 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h4d68e7d8d87071d0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:732:36 [INFO] [stdout] 30: 0x602d97847114 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h86e471e8d6c05803 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:820:68 [INFO] [stdout] 31: 0x602d97878d1b - tokio::runtime::context::scoped::Scoped::set::h3d22aee14d1e0642 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x602d977bdac9 - tokio::runtime::context::set_scheduler::{{closure}}::hb44c64a3559dd3e9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context.rs:180:26 [INFO] [stdout] 33: 0x602d977ac2a2 - std::thread::local::LocalKey::try_with::he5531a053749d048 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/local.rs:315:12 [INFO] [stdout] 34: 0x602d977aaafe - std::thread::local::LocalKey::with::h18bab3f3eefa0add [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/local.rs:279:15 [INFO] [stdout] 35: 0x602d977bda3d - tokio::runtime::context::set_scheduler::h8af7ce3e1785cf80 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context.rs:180:9 [INFO] [stdout] 36: 0x602d97846ea0 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hc14bd318ef7f6117 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:820:27 [INFO] [stdout] 37: 0x602d97847183 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::hd25f2536451dc5f6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:720:19 [INFO] [stdout] 38: 0x602d978430bc - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h109f603d1f66b967 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:200:28 [INFO] [stdout] 39: 0x602d977aea88 - tokio::runtime::context::runtime::enter_runtime::h687361d7fb4e4ac5 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x602d97842dc1 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::h015aedd3dfc36bef [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/scheduler/current_thread/mod.rs:188:9 [INFO] [stdout] 41: 0x602d97842ad4 - tokio::runtime::runtime::Runtime::block_on_inner::h79e08816af44219a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/runtime.rs:368:47 [INFO] [stdout] 42: 0x602d97842c97 - tokio::runtime::runtime::Runtime::block_on::h7f2019925fa01294 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.44.1/src/runtime/runtime.rs:342:13 [INFO] [stdout] 43: 0x602d9787b97f - bot::test_bot::h47948512801f664a [INFO] [stdout] at /opt/rustwide/workdir/tests/bot.rs:12:5 [INFO] [stdout] 44: 0x602d9787b807 - bot::test_bot::{{closure}}::h531c4c1e3563d707 [INFO] [stdout] at /opt/rustwide/workdir/tests/bot.rs:4:20 [INFO] [stdout] 45: 0x602d9787dee6 - core::ops::function::FnOnce::call_once::h85990060314aafa5 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x602d979049ab - core::ops::function::FnOnce::call_once::h0c81d2c7e362685a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x602d979049ab - test::__rust_begin_short_backtrace::hc62049913de4b9c6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:648:18 [INFO] [stdout] 48: 0x602d97903bc2 - test::run_test_in_process::{{closure}}::h906d61461feea06d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:60 [INFO] [stdout] 49: 0x602d97903bc2 - as core::ops::function::FnOnce<()>>::call_once::h962d8c24a3ec06f1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 50: 0x602d97903bc2 - std::panicking::try::do_call::h88e304055018b07f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 51: 0x602d97903bc2 - std::panicking::try::h34046f0780b49f58 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 52: 0x602d97903bc2 - std::panic::catch_unwind::h7d7ad4d133a51a76 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x602d97903bc2 - test::run_test_in_process::h0871d7f888d1f41c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:27 [INFO] [stdout] 54: 0x602d97903bc2 - test::run_test::{{closure}}::h696f8114d8bae20e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:592:43 [INFO] [stdout] 55: 0x602d978c6fb4 - test::run_test::{{closure}}::h632082d0bd36bde1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:622:41 [INFO] [stdout] 56: 0x602d978c6fb4 - std::sys::backtrace::__rust_begin_short_backtrace::hf4db03c672d46ea2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 57: 0x602d978caa8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571ce7b4ea6fba0e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 58: 0x602d978caa8a - as core::ops::function::FnOnce<()>>::call_once::h79478c2f2b0b4ed6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 59: 0x602d978caa8a - std::panicking::try::do_call::hdfb524d8b1c5ea5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 60: 0x602d978caa8a - std::panicking::try::hb57ee69084fa6c6a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 61: 0x602d978caa8a - std::panic::catch_unwind::h1fcc7dadd90dd47c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x602d978caa8a - std::thread::Builder::spawn_unchecked_::{{closure}}::h7201710e36d47c29 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 63: 0x602d978caa8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha75b12b48ae5b3d2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x602d983a182b - as core::ops::function::FnOnce>::call_once::h02517bb8c2b8e279 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 65: 0x602d983a182b - as core::ops::function::FnOnce>::call_once::h760bb73d54d4c118 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 66: 0x602d983a182b - std::sys::pal::unix::thread::Thread::new::thread_start::h91ff250566269b77 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 67: 0x7e38e8b60aa4 - [INFO] [stdout] 68: 0x7e38e8beda34 - clone [INFO] [stdout] 69: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_bot [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test bot` [INFO] running `Command { std: "docker" "inspect" "cd56e99ad3f9184c540ef4c0f3f97b84d01f726b9224a80908b0df5d738a281c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd56e99ad3f9184c540ef4c0f3f97b84d01f726b9224a80908b0df5d738a281c", kill_on_drop: false }` [INFO] [stdout] cd56e99ad3f9184c540ef4c0f3f97b84d01f726b9224a80908b0df5d738a281c