[INFO] cloning repository https://github.com/Atropos-Dad/private-to-public-api-aggregator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Atropos-Dad/private-to-public-api-aggregator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtropos-Dad%2Fprivate-to-public-api-aggregator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtropos-Dad%2Fprivate-to-public-api-aggregator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d6afe519a1e243b21f53aff929c992cff380efb [INFO] building Atropos-Dad/private-to-public-api-aggregator against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAtropos-Dad%2Fprivate-to-public-api-aggregator" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Atropos-Dad/private-to-public-api-aggregator [INFO] finished tweaking git repo https://github.com/Atropos-Dad/private-to-public-api-aggregator [INFO] tweaked toml for git repo https://github.com/Atropos-Dad/private-to-public-api-aggregator written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Atropos-Dad/private-to-public-api-aggregator on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Atropos-Dad/private-to-public-api-aggregator 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded route-recognizer v0.2.0 [INFO] [stderr] Downloaded async-sse v4.1.0 [INFO] [stderr] Downloaded crypto-mac v0.10.0 [INFO] [stderr] Downloaded tide v0.16.0 [INFO] [stderr] Downloaded diligent-date-parser v0.1.5 [INFO] [stderr] Downloaded async-session v2.0.1 [INFO] [stderr] Downloaded never v0.1.0 [INFO] [stderr] Downloaded atom_syndication v0.12.7 [INFO] [stderr] Downloaded rss v2.0.12 [INFO] [stderr] Downloaded curl v0.4.47 [INFO] [stderr] Downloaded async-h1 v2.3.4 [INFO] [stderr] Downloaded blake3 v0.3.8 [INFO] [stderr] Downloaded async-std v1.13.1 [INFO] [stderr] Downloaded curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.11+1.64.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d980e81226047202cdba1eddf5880d6e57320a7fc1b5878c9b007d02c7631aa4 [INFO] running `Command { std: "docker" "start" "-a" "d980e81226047202cdba1eddf5880d6e57320a7fc1b5878c9b007d02c7631aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d980e81226047202cdba1eddf5880d6e57320a7fc1b5878c9b007d02c7631aa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d980e81226047202cdba1eddf5880d6e57320a7fc1b5878c9b007d02c7631aa4", kill_on_drop: false }` [INFO] [stdout] d980e81226047202cdba1eddf5880d6e57320a7fc1b5878c9b007d02c7631aa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f810d42d7c5b2091e6c3e80d768a255dcc609b3c4921ddd69459fbe45c2e34b1 [INFO] running `Command { std: "docker" "start" "-a" "f810d42d7c5b2091e6c3e80d768a255dcc609b3c4921ddd69459fbe45c2e34b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling curl v0.4.47 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling spinning_top v0.2.5 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling isahc v0.9.14 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v0.37.28 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling sluice v0.5.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling flume v0.9.2 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling quick-xml v0.37.4 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libnghttp2-sys v0.1.11+1.64.0 [INFO] [stderr] Compiling openssl-sys v0.9.107 [INFO] [stderr] Compiling curl-sys v0.4.80+curl-8.12.1 [INFO] [stderr] Compiling blake3 v0.3.8 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling async-dup v1.2.4 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling never v0.1.0 [INFO] [stderr] Compiling route-recognizer v0.2.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_fmt v1.0.3 [INFO] [stderr] Compiling erased-serde v0.4.6 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling serde_qs v0.8.5 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling value-bag-serde1 v1.11.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling diligent-date-parser v0.1.5 [INFO] [stderr] Compiling atom_syndication v0.12.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling femme v2.2.1 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling rss v2.0.12 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling async-signal v0.2.10 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-process v2.3.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling async-session v2.0.1 [INFO] [stderr] Compiling http-client v6.5.3 [INFO] [stderr] Compiling async-sse v4.1.0 [INFO] [stderr] Compiling async-h1 v2.3.4 [INFO] [stderr] Compiling surf v2.3.2 [INFO] [stderr] Compiling tide v0.16.0 [INFO] [stderr] Compiling API-Agg-For-Static v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use tide::{log, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LazyLock` [INFO] [stdout] --> src/cache.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{LazyLock, Mutex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/cache.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/spotify.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | let basic = base64::encode(format!("{}:{}", *CLIENT_ID, *CLIENT_SECRET)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `http_types::Url::into_string`: use Into [INFO] [stdout] --> src/letterboxd.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(url) => url.into_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `http_types::Url::into_string`: use Into [INFO] [stdout] --> src/letterboxd.rs:81:134 [INFO] [stdout] | [INFO] [stdout] 81 | ... base_url.join(&fixed_loc_str).map_err(|e| format!("Failed to join base URL with relative redirect: {}", e))?.into_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spotify.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let mut body = surf::Body::from_form(&[ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/spotify.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct TrackObject { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackObject` 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: field `name` is never read [INFO] [stdout] --> src/spotify.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct FullArtistObject { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 129 | id: String, [INFO] [stdout] 130 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullArtistObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CACHE_DURATION_SECS` is never used [INFO] [stdout] --> src/cache.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DEFAULT_CACHE_DURATION_SECS: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/cache.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cache` is never constructed [INFO] [stdout] --> src/cache.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Cache [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `default`, `get`, `insert`, `remove`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Cache [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | K: Eq + Hash + Clone + ToString, [INFO] [stdout] 31 | | V: Clone, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(ttl_secs: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, key: &K) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn insert(&self, key: K, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn remove(&self, key: &K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "f810d42d7c5b2091e6c3e80d768a255dcc609b3c4921ddd69459fbe45c2e34b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f810d42d7c5b2091e6c3e80d768a255dcc609b3c4921ddd69459fbe45c2e34b1", kill_on_drop: false }` [INFO] [stdout] f810d42d7c5b2091e6c3e80d768a255dcc609b3c4921ddd69459fbe45c2e34b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 095fc50b02dfa03050bec47d43204817d772b8d19d83852cab7f773c6b931c5d [INFO] running `Command { std: "docker" "start" "-a" "095fc50b02dfa03050bec47d43204817d772b8d19d83852cab7f773c6b931c5d", kill_on_drop: false }` [INFO] [stderr] Compiling API-Agg-For-Static v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> src/main.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use tide::{log, prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LazyLock` [INFO] [stdout] --> src/cache.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::{LazyLock, Mutex}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/cache.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/spotify.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | let basic = base64::encode(format!("{}:{}", *CLIENT_ID, *CLIENT_SECRET)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `http_types::Url::into_string`: use Into [INFO] [stdout] --> src/letterboxd.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(url) => url.into_string(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `http_types::Url::into_string`: use Into [INFO] [stdout] --> src/letterboxd.rs:81:134 [INFO] [stdout] | [INFO] [stdout] 81 | ... base_url.join(&fixed_loc_str).map_err(|e| format!("Failed to join base URL with relative redirect: {}", e))?.into_string() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spotify.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | let mut body = surf::Body::from_form(&[ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/spotify.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 93 | struct TrackObject { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 98 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackObject` 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: field `name` is never read [INFO] [stdout] --> src/spotify.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 128 | struct FullArtistObject { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 129 | id: String, [INFO] [stdout] 130 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullArtistObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CACHE_DURATION_SECS` is never used [INFO] [stdout] --> src/cache.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DEFAULT_CACHE_DURATION_SECS: u64 = 3600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheEntry` is never constructed [INFO] [stdout] --> src/cache.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CacheEntry { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cache` is never constructed [INFO] [stdout] --> src/cache.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Cache [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `default`, `get`, `insert`, `remove`, and `clear` are never used [INFO] [stdout] --> src/cache.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Cache [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | K: Eq + Hash + Clone + ToString, [INFO] [stdout] 31 | | V: Clone, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn new(ttl_secs: u64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn default() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get(&self, key: &K) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn insert(&self, key: K, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn remove(&self, key: &K) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.76s [INFO] running `Command { std: "docker" "inspect" "095fc50b02dfa03050bec47d43204817d772b8d19d83852cab7f773c6b931c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "095fc50b02dfa03050bec47d43204817d772b8d19d83852cab7f773c6b931c5d", kill_on_drop: false }` [INFO] [stdout] 095fc50b02dfa03050bec47d43204817d772b8d19d83852cab7f773c6b931c5d