[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] checking andgly95/rust-playground/4729ccf1bd989bcaec54ca44adb3aff783d45a29 against master#cb40c25f6aebb637163d26bf76a680ed6e5d1eda for pr-156157
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandgly95%2Frust-playground" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andgly95/rust-playground on toolchain cb40c25f6aebb637163d26bf76a680ed6e5d1eda
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unchecked-index v0.2.2
[INFO] [stderr]   Downloaded twoway v0.2.2
[INFO] [stderr]   Downloaded actix-multipart v0.4.0
[INFO] [stderr]   Downloaded rusqlite v0.28.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 988a45e2b7e2291db335fad606e1364ad7899bb40713b6f8d7e5992b25885d43
[INFO] running `Command { std: "docker" "start" "-a" "988a45e2b7e2291db335fad606e1364ad7899bb40713b6f8d7e5992b25885d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "988a45e2b7e2291db335fad606e1364ad7899bb40713b6f8d7e5992b25885d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "988a45e2b7e2291db335fad606e1364ad7899bb40713b6f8d7e5992b25885d43", kill_on_drop: false }`
[INFO] [stdout] 988a45e2b7e2291db335fad606e1364ad7899bb40713b6f8d7e5992b25885d43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cb40c25f6aebb637163d26bf76a680ed6e5d1eda" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fcb2728a2acc55d3aa5f56b2f277cff6a0c6c4d873aa844879dbc7018bdeffab
[INFO] running `Command { std: "docker" "start" "-a" "fcb2728a2acc55d3aa5f56b2f277cff6a0c6c4d873aa844879dbc7018bdeffab", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.80
[INFO] [stderr]     Checking log v0.4.21
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking parking_lot_core v0.9.9
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking brotli v3.5.0
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking url v2.5.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking ahash v0.8.11
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking unchecked-index v0.2.2
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking uuid v1.8.0
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking twoway v0.2.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling jobserver v0.1.30
[INFO] [stderr]    Compiling syn v2.0.59
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling cc v1.0.94
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking rusqlite v0.28.0
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]    Compiling zstd-sys v2.0.10+zstd.1.5.6
[INFO] [stderr]    Compiling openssl-sys v0.9.102
[INFO] [stderr]    Compiling openssl v0.10.64
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling actix-router v0.5.2
[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 actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.2.2
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling zstd-safe v7.1.0
[INFO] [stderr]     Checking zstd v0.13.1
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking actix-rt v2.9.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking actix-server v2.3.0
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking actix-http v3.6.0
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking actix-web v4.5.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking actix-multipart v0.4.0
[INFO] [stderr]     Checking actix-cors v0.6.5
[INFO] [stderr]     Checking 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)]` (part of `#[warn(unused)]`) 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<Choice>,
[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<EmbeddingRequestPayload>) -> 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: struct `GetGameStateRequest` is never constructed
[INFO] [stdout]   --> src/game_handlers.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct GetGameStateRequest {
[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<GetGameStateRequest>) -> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[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)]` (part of `#[warn(unused)]`) 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<Choice>,
[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<EmbeddingRequestPayload>) -> 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: struct `GetGameStateRequest` is never constructed
[INFO] [stdout]   --> src/game_handlers.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct GetGameStateRequest {
[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<GetGameStateRequest>) -> impl Responder {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.57s
[INFO] running `Command { std: "docker" "inspect" "fcb2728a2acc55d3aa5f56b2f277cff6a0c6c4d873aa844879dbc7018bdeffab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcb2728a2acc55d3aa5f56b2f277cff6a0c6c4d873aa844879dbc7018bdeffab", kill_on_drop: false }`
[INFO] [stdout] fcb2728a2acc55d3aa5f56b2f277cff6a0c6c4d873aa844879dbc7018bdeffab
