[INFO] cloning repository https://github.com/raymondWai/news-summarizer-openai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/raymondWai/news-summarizer-openai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FraymondWai%2Fnews-summarizer-openai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FraymondWai%2Fnews-summarizer-openai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c9ac755683e8b011dffe537d74230a8576be078 [INFO] testing raymondWai/news-summarizer-openai against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FraymondWai%2Fnews-summarizer-openai" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/raymondWai/news-summarizer-openai on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/raymondWai/news-summarizer-openai [INFO] finished tweaking git repo https://github.com/raymondWai/news-summarizer-openai [INFO] tweaked toml for git repo https://github.com/raymondWai/news-summarizer-openai written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/raymondWai/news-summarizer-openai 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded newsdata-io-api v0.9.1 [INFO] [stderr] Downloaded derive_builder_macro v0.20.0 [INFO] [stderr] Downloaded reqwest-eventsource v0.6.0 [INFO] [stderr] Downloaded async-convert v1.0.0 [INFO] [stderr] Downloaded quinn-udp v0.5.2 [INFO] [stderr] Downloaded async-openai v0.23.4 [INFO] [stderr] Downloaded derive_builder_core v0.20.0 [INFO] [stderr] Downloaded derive_builder v0.20.0 [INFO] [stderr] Downloaded fancy-regex v0.12.0 [INFO] [stderr] Downloaded ureq v2.10.0 [INFO] [stderr] Downloaded tokio v1.38.1 [INFO] [stderr] Downloaded tiktoken-rs v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da6077988261255e767038a6d8963486e63e8f9b84703da210904f2faeb08a56 [INFO] running `Command { std: "docker" "start" "-a" "da6077988261255e767038a6d8963486e63e8f9b84703da210904f2faeb08a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da6077988261255e767038a6d8963486e63e8f9b84703da210904f2faeb08a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da6077988261255e767038a6d8963486e63e8f9b84703da210904f2faeb08a56", kill_on_drop: false }` [INFO] [stdout] da6077988261255e767038a6d8963486e63e8f9b84703da210904f2faeb08a56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9416dc8e47a7a66766e53256ad52b6f6c3860549184d8721917f54175d23d6aa [INFO] running `Command { std: "docker" "start" "-a" "9416dc8e47a7a66766e53256ad52b6f6c3860549184d8721917f54175d23d6aa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.6.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustls-native-certs v0.7.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tokio v1.38.1 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling winnow v0.6.14 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pq-sys v0.6.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling eventsource-stream v0.2.3 [INFO] [stderr] Compiling rustls-webpki v0.102.5 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling fancy-regex v0.12.0 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling tiktoken-rs v0.5.9 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling async-convert v1.0.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling dsl_auto_type v0.1.2 [INFO] [stderr] Compiling diesel_derives v2.2.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling backoff v0.4.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling serde_spanned v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.16 [INFO] [stderr] Compiling ureq v2.10.0 [INFO] [stderr] Compiling diesel v2.2.2 [INFO] [stderr] Compiling toml v0.8.15 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.6 [INFO] [stderr] Compiling hyper-rustls v0.27.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling reqwest-eventsource v0.6.0 [INFO] [stderr] Compiling newsdata-io-api v0.9.1 [INFO] [stderr] Compiling async-openai v0.23.4 [INFO] [stderr] Compiling news-summarizer-openai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `update_news_lib` [INFO] [stdout] --> src/handlers/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub use news::{update_news_lib, update_news_lib_handler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Summary` [INFO] [stdout] --> src/models/mod.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub use summary::{NewSummary, Summary}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth/internal.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ApiKey<'r>(&'r str); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/external_services/nytimes/schema.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Article { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub uri: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | pub url: Option, [INFO] [stdout] 7 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub asset_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub published_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub updated: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub section: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub subsection: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub nytdsection: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub adx_keywords: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub byline: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub column: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub des_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub geo_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub org_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub per_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub eta_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `copyright`, and `num_results` are never read [INFO] [stdout] --> src/external_services/nytimes/schema.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MostPopularNewsResponse { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 30 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub copyright: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub num_results: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers/news.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | update_news_lib(newsdata_io_api_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = update_news_lib(newsdata_io_api_key).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 17s [INFO] running `Command { std: "docker" "inspect" "9416dc8e47a7a66766e53256ad52b6f6c3860549184d8721917f54175d23d6aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9416dc8e47a7a66766e53256ad52b6f6c3860549184d8721917f54175d23d6aa", kill_on_drop: false }` [INFO] [stdout] 9416dc8e47a7a66766e53256ad52b6f6c3860549184d8721917f54175d23d6aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ba41c71d3a58b4e3a7dfdc82d1415c86a33d07a84031f0b2db14461758989ecb [INFO] running `Command { std: "docker" "start" "-a" "ba41c71d3a58b4e3a7dfdc82d1415c86a33d07a84031f0b2db14461758989ecb", kill_on_drop: false }` [INFO] [stderr] Compiling news-summarizer-openai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `update_news_lib` [INFO] [stdout] --> src/handlers/mod.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | pub use news::{update_news_lib, update_news_lib_handler}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Summary` [INFO] [stdout] --> src/models/mod.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub use summary::{NewSummary, Summary}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/auth/internal.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ApiKey<'r>(&'r str); [INFO] [stdout] | ------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/external_services/nytimes/schema.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Article { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub uri: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | pub url: Option, [INFO] [stdout] 7 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub asset_id: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub source: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pub published_date: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub updated: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | pub section: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 13 | pub subsection: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub nytdsection: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 15 | pub adx_keywords: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 16 | pub byline: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub column: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | pub title: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub des_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 22 | pub geo_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 23 | pub org_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | pub per_facet: Option>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | pub eta_id: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `copyright`, and `num_results` are never read [INFO] [stdout] --> src/external_services/nytimes/schema.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct MostPopularNewsResponse { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] 30 | pub status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 31 | pub copyright: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub num_results: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers/news.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | update_news_lib(newsdata_io_api_key).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 28 | let _ = update_news_lib(newsdata_io_api_key).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "ba41c71d3a58b4e3a7dfdc82d1415c86a33d07a84031f0b2db14461758989ecb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba41c71d3a58b4e3a7dfdc82d1415c86a33d07a84031f0b2db14461758989ecb", kill_on_drop: false }` [INFO] [stdout] ba41c71d3a58b4e3a7dfdc82d1415c86a33d07a84031f0b2db14461758989ecb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a03a8bc3dc947eb701a9d6a3b969103a97f57d3f3630a5c6ffafb9ac0707dd45 [INFO] running `Command { std: "docker" "start" "-a" "a03a8bc3dc947eb701a9d6a3b969103a97f57d3f3630a5c6ffafb9ac0707dd45", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `update_news_lib` [INFO] [stderr] --> src/handlers/mod.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | pub use news::{update_news_lib, update_news_lib_handler}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Summary` [INFO] [stderr] --> src/models/mod.rs:7:31 [INFO] [stderr] | [INFO] [stderr] 7 | pub use summary::{NewSummary, Summary}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/auth/internal.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct ApiKey<'r>(&'r str); [INFO] [stderr] | ------ ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/external_services/nytimes/schema.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Article { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 5 | pub uri: Option, [INFO] [stderr] | ^^^ [INFO] [stderr] 6 | pub url: Option, [INFO] [stderr] 7 | pub id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 8 | pub asset_id: u64, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | pub source: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 10 | pub published_date: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 11 | pub updated: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 12 | pub section: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 13 | pub subsection: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 14 | pub nytdsection: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 15 | pub adx_keywords: Option, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 16 | pub byline: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 17 | pub column: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 18 | pub title: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub des_facet: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 22 | pub geo_facet: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 23 | pub org_facet: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 24 | pub per_facet: Option>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 25 | pub eta_id: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `status`, `copyright`, and `num_results` are never read [INFO] [stderr] --> src/external_services/nytimes/schema.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct MostPopularNewsResponse { [INFO] [stderr] | ----------------------- fields in this struct [INFO] [stderr] 30 | pub status: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 31 | pub copyright: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 32 | pub num_results: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/handlers/news.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | update_news_lib(newsdata_io_api_key).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 28 | let _ = update_news_lib(newsdata_io_api_key).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `news-summarizer-openai` (bin "news-summarizer-openai" test) generated 6 warnings (run `cargo fix --bin "news-summarizer-openai" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/news_summarizer_openai-4e91d637f33f32ad) [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" "a03a8bc3dc947eb701a9d6a3b969103a97f57d3f3630a5c6ffafb9ac0707dd45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a03a8bc3dc947eb701a9d6a3b969103a97f57d3f3630a5c6ffafb9ac0707dd45", kill_on_drop: false }` [INFO] [stdout] a03a8bc3dc947eb701a9d6a3b969103a97f57d3f3630a5c6ffafb9ac0707dd45