[INFO] cloning repository https://github.com/andgly95/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andgly95/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandgly95%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandgly95%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4729ccf1bd989bcaec54ca44adb3aff783d45a29 [INFO] building andgly95/rust-playground against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandgly95%2Frust-playground" "/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/andgly95/rust-playground on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andgly95/rust-playground [INFO] finished tweaking git repo https://github.com/andgly95/rust-playground [INFO] tweaked toml for git repo https://github.com/andgly95/rust-playground written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/andgly95/rust-playground 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 796939edd9964dbd56fea0b8356db9f2082241e8768873ee08b3552a791925bc [INFO] running `Command { std: "docker" "start" "-a" "796939edd9964dbd56fea0b8356db9f2082241e8768873ee08b3552a791925bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "796939edd9964dbd56fea0b8356db9f2082241e8768873ee08b3552a791925bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "796939edd9964dbd56fea0b8356db9f2082241e8768873ee08b3552a791925bc", kill_on_drop: false }` [INFO] [stdout] 796939edd9964dbd56fea0b8356db9f2082241e8768873ee08b3552a791925bc [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf75c0603a08d4249b3efad27619043ce2569cb77fcda0ea41e4bbafe022abd [INFO] running `Command { std: "docker" "start" "-a" "cdf75c0603a08d4249b3efad27619043ce2569cb77fcda0ea41e4bbafe022abd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.80 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling libsqlite3-sys v0.25.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling twoway v0.2.2 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling rusqlite v0.28.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling actix-multipart v0.4.0 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/ai_handlers.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 29 | message: Message, [INFO] [stdout] 30 | finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read [INFO] [stdout] --> src/ai_handlers.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | prompt_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | completion_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | total_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, `model`, and `usage` are never read [INFO] [stdout] --> src/ai_handlers.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | choices: Vec, [INFO] [stdout] 48 | usage: Usage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_reason`, `truncated`, and `log_id` are never read [INFO] [stdout] --> src/ai_handlers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 53 | completion: String, [INFO] [stdout] 54 | stop_reason: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | truncated: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | log_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_embeddings` is never used [INFO] [stdout] --> src/ai_handlers.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | pub async fn get_embeddings(payload: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinGameResponse` is never constructed [INFO] [stdout] --> src/game_handlers.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct JoinGameResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game_id` is never read [INFO] [stdout] --> src/game_handlers.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct GetGameStateRequest { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 48 | game_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_game_state` is never used [INFO] [stdout] --> src/game_handlers.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn get_game_state(game_data: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "cdf75c0603a08d4249b3efad27619043ce2569cb77fcda0ea41e4bbafe022abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf75c0603a08d4249b3efad27619043ce2569cb77fcda0ea41e4bbafe022abd", kill_on_drop: false }` [INFO] [stdout] cdf75c0603a08d4249b3efad27619043ce2569cb77fcda0ea41e4bbafe022abd [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bfd70b9a6a4a6e08b49e15be0423d2dc48787be4431ae2c4347cab95d6fd2fa [INFO] running `Command { std: "docker" "start" "-a" "9bfd70b9a6a4a6e08b49e15be0423d2dc48787be4431ae2c4347cab95d6fd2fa", kill_on_drop: false }` [INFO] [stderr] Compiling rust-playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `finish_reason` and `index` are never read [INFO] [stdout] --> src/ai_handlers.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct Choice { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 29 | message: Message, [INFO] [stdout] 30 | finish_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Choice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prompt_tokens`, `completion_tokens`, and `total_tokens` are never read [INFO] [stdout] --> src/ai_handlers.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Usage { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 36 | prompt_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 37 | completion_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | total_tokens: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Usage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `object`, `created`, `model`, and `usage` are never read [INFO] [stdout] --> src/ai_handlers.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 42 | struct Response { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 44 | object: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 45 | created: i64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 47 | choices: Vec, [INFO] [stdout] 48 | usage: Usage, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Response` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stop_reason`, `truncated`, and `log_id` are never read [INFO] [stdout] --> src/ai_handlers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | struct AnthropicResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 53 | completion: String, [INFO] [stdout] 54 | stop_reason: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 55 | truncated: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 56 | log_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnthropicResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_embeddings` is never used [INFO] [stdout] --> src/ai_handlers.rs:269:14 [INFO] [stdout] | [INFO] [stdout] 269 | pub async fn get_embeddings(payload: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JoinGameResponse` is never constructed [INFO] [stdout] --> src/game_handlers.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct JoinGameResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `game_id` is never read [INFO] [stdout] --> src/game_handlers.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct GetGameStateRequest { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 48 | game_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_game_state` is never used [INFO] [stdout] --> src/game_handlers.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | pub async fn get_game_state(game_data: web::Json) -> impl Responder { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.57s [INFO] running `Command { std: "docker" "inspect" "9bfd70b9a6a4a6e08b49e15be0423d2dc48787be4431ae2c4347cab95d6fd2fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfd70b9a6a4a6e08b49e15be0423d2dc48787be4431ae2c4347cab95d6fd2fa", kill_on_drop: false }` [INFO] [stdout] 9bfd70b9a6a4a6e08b49e15be0423d2dc48787be4431ae2c4347cab95d6fd2fa