[INFO] cloning repository https://github.com/tinayiluo0322/movie-recommendation-web-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tinayiluo0322/movie-recommendation-web-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftinayiluo0322%2Fmovie-recommendation-web-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftinayiluo0322%2Fmovie-recommendation-web-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 832b9f548959de7170b469228a77efca2ff2b392 [INFO] testing tinayiluo0322/movie-recommendation-web-app against try#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftinayiluo0322%2Fmovie-recommendation-web-app" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tinayiluo0322/movie-recommendation-web-app on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tinayiluo0322/movie-recommendation-web-app [INFO] finished tweaking git repo https://github.com/tinayiluo0322/movie-recommendation-web-app [INFO] tweaked toml for git repo https://github.com/tinayiluo0322/movie-recommendation-web-app written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tinayiluo0322/movie-recommendation-web-app 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75084a4b46fb20ff7e8b50aab8c58dc1e3782d3c89d06472db5832209047a7af [INFO] running `Command { std: "docker" "start" "-a" "75084a4b46fb20ff7e8b50aab8c58dc1e3782d3c89d06472db5832209047a7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75084a4b46fb20ff7e8b50aab8c58dc1e3782d3c89d06472db5832209047a7af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75084a4b46fb20ff7e8b50aab8c58dc1e3782d3c89d06472db5832209047a7af", kill_on_drop: false }` [INFO] [stdout] 75084a4b46fb20ff7e8b50aab8c58dc1e3782d3c89d06472db5832209047a7af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7768c6e127b79aeeabe48de15cf6be45f5416b49b3f72a4e647604a465f6af67 [INFO] running `Command { std: "docker" "start" "-a" "7768c6e127b79aeeabe48de15cf6be45f5416b49b3f72a4e647604a465f6af67", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling ggml-sys v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling xattr v1.3.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Compiling rustls-pki-types v1.5.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling macro_rules_attribute v0.1.3 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling rayon-cond v0.1.0 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.20 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling partial_sort v0.2.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zeroize v1.8.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling monostate-impl v0.1.12 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling brotli-decompressor v2.5.1 [INFO] [stderr] Compiling ggml v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling llm-samplers v0.0.7 [INFO] [stderr] Compiling prost-derive v0.12.4 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling brotli v3.5.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling rustls-native-certs v0.7.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling webpki-roots v0.26.1 [INFO] [stderr] Compiling prost-types v0.12.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling actix-rt v2.9.0 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling rustls-webpki v0.102.3 [INFO] [stderr] Compiling actix-server v2.3.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling monostate v0.1.12 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling actix-http v3.6.0 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-rustls v0.26.0 [INFO] [stderr] Compiling actix-web v4.5.1 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling actix-files v0.6.5 [INFO] [stderr] Compiling tonic v0.11.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling qdrant-client v1.9.0 [INFO] [stderr] Compiling cached-path v0.6.1 [INFO] [stderr] Compiling tokenizers v0.13.4 [INFO] [stderr] Compiling llm-base v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm-gpt2 v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm-llama v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm-gptj v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm-mpt v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm-gptneox v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm-bloom v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling llm v0.2.0-dev (https://github.com/rustformers/llm?branch=main#9376078c) [INFO] [stderr] Compiling berttest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cohere_response` is never read [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut cohere_response = CohereResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `texts`, `meta`, and `response_type` are never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct CohereResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | texts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | embeddings: Vec>, [INFO] [stdout] 30 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CohereResponse` 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 `api_version` and `billed_units` are never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | api_version: ApiVersion, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | billed_units: BilledUnits, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct ApiVersion { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 41 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_tokens` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct BilledUnits { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 46 | input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BilledUnits` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.84s [INFO] running `Command { std: "docker" "inspect" "7768c6e127b79aeeabe48de15cf6be45f5416b49b3f72a4e647604a465f6af67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7768c6e127b79aeeabe48de15cf6be45f5416b49b3f72a4e647604a465f6af67", kill_on_drop: false }` [INFO] [stdout] 7768c6e127b79aeeabe48de15cf6be45f5416b49b3f72a4e647604a465f6af67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 685f277061a510a669144370e19e3dcf9fa57ffc0570744b93015b1eb1c01793 [INFO] running `Command { std: "docker" "start" "-a" "685f277061a510a669144370e19e3dcf9fa57ffc0570744b93015b1eb1c01793", kill_on_drop: false }` [INFO] [stderr] Compiling berttest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `cohere_response` is never read [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut cohere_response = CohereResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `texts`, `meta`, and `response_type` are never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct CohereResponse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 27 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | texts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | embeddings: Vec>, [INFO] [stdout] 30 | meta: Meta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | response_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CohereResponse` 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 `api_version` and `billed_units` are never read [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 34 | struct Meta { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 35 | api_version: ApiVersion, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 36 | billed_units: BilledUnits, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct ApiVersion { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 41 | version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `input_tokens` is never read [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct BilledUnits { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 46 | input_tokens: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BilledUnits` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s [INFO] running `Command { std: "docker" "inspect" "685f277061a510a669144370e19e3dcf9fa57ffc0570744b93015b1eb1c01793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "685f277061a510a669144370e19e3dcf9fa57ffc0570744b93015b1eb1c01793", kill_on_drop: false }` [INFO] [stdout] 685f277061a510a669144370e19e3dcf9fa57ffc0570744b93015b1eb1c01793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca0cacddcd1acd597b72809c12fb5f4f9edb1b80576d10d5ff0517dc470caefd [INFO] running `Command { std: "docker" "start" "-a" "ca0cacddcd1acd597b72809c12fb5f4f9edb1b80576d10d5ff0517dc470caefd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HttpRequest` [INFO] [stderr] --> src/main.rs:5:27 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::{web, App, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `cohere_response` is never read [INFO] [stderr] --> src/main.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | let mut cohere_response = CohereResponse { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `texts`, `meta`, and `response_type` are never read [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | struct CohereResponse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 27 | id: String, [INFO] [stderr] | ^^ [INFO] [stderr] 28 | texts: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 29 | embeddings: Vec>, [INFO] [stderr] 30 | meta: Meta, [INFO] [stderr] | ^^^^ [INFO] [stderr] 31 | response_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CohereResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `api_version` and `billed_units` are never read [INFO] [stderr] --> src/main.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 34 | struct Meta { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 35 | api_version: ApiVersion, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 36 | billed_units: BilledUnits, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Meta` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `version` is never read [INFO] [stderr] --> src/main.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 40 | struct ApiVersion { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 41 | version: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `input_tokens` is never read [INFO] [stderr] --> src/main.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 45 | struct BilledUnits { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 46 | input_tokens: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `BilledUnits` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `berttest` (bin "berttest" test) generated 6 warnings (run `cargo fix --bin "berttest" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/berttest-118980153d433a91) [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] running `Command { std: "docker" "inspect" "ca0cacddcd1acd597b72809c12fb5f4f9edb1b80576d10d5ff0517dc470caefd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0cacddcd1acd597b72809c12fb5f4f9edb1b80576d10d5ff0517dc470caefd", kill_on_drop: false }` [INFO] [stdout] ca0cacddcd1acd597b72809c12fb5f4f9edb1b80576d10d5ff0517dc470caefd