[INFO] cloning repository https://github.com/anwam/pokemon-api-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anwam/pokemon-api-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanwam%2Fpokemon-api-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanwam%2Fpokemon-api-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f3981cb388ba5e7e3758ff11f0d08f42d28174af [INFO] checking anwam/pokemon-api-proxy against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanwam%2Fpokemon-api-proxy" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anwam/pokemon-api-proxy [INFO] finished tweaking git repo https://github.com/anwam/pokemon-api-proxy [INFO] tweaked toml for git repo https://github.com/anwam/pokemon-api-proxy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anwam/pokemon-api-proxy on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anwam/pokemon-api-proxy 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d13d7da84adad6778d6f48cba638da0516b2c5fef675117c27e665fea074b09 [INFO] running `Command { std: "docker" "start" "-a" "2d13d7da84adad6778d6f48cba638da0516b2c5fef675117c27e665fea074b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d13d7da84adad6778d6f48cba638da0516b2c5fef675117c27e665fea074b09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d13d7da84adad6778d6f48cba638da0516b2c5fef675117c27e665fea074b09", kill_on_drop: false }` [INFO] [stdout] 2d13d7da84adad6778d6f48cba638da0516b2c5fef675117c27e665fea074b09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04db2128b602931dc4971d73ca5f276ce96139a8fd47df94b351fa04d86df871 [INFO] running `Command { std: "docker" "start" "-a" "04db2128b602931dc4971d73ca5f276ce96139a8fd47df94b351fa04d86df871", kill_on_drop: false }` [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking toml_parser v1.0.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking toml v0.9.2 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking pokemon-api-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `token` and `expires_at` are never read [INFO] [stdout] --> examples/generic_cache_demo.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 93 | struct UserSession { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 94 | user_id: u64, [INFO] [stdout] 95 | token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 96 | expires_at: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserSession` has derived impls for the traits `Debug` and `Clone`, but these are 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: variant `MaxSizeExceeded` is never constructed [INFO] [stdout] --> src/cache.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CacheError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 9 | LockError(String), [INFO] [stdout] 10 | MaxSizeExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheError` 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: methods `remove`, `clear`, `size`, `hit_rate`, and `cleanup_expired` are never used [INFO] [stdout] --> src/cache.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait CacheTrait: Send + Sync [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn remove(&self, key: &str) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | fn clear(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | fn hit_rate(&self) -> f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | fn cleanup_expired(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleanups` is never read [INFO] [stdout] --> src/cache.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct CacheStats { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub cleanups: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit_rate` is never used [INFO] [stdout] --> src/cache.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl CacheStats { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 78 | pub fn hit_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_enabled`, `config`, `cleanup_expired_entries`, `stats`, `contains_key`, and `keys` are never used [INFO] [stdout] --> src/cache.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 97 | / impl InmemoryCache [INFO] [stdout] 98 | | where [INFO] [stdout] 99 | | T: Clone + Send + Sync, [INFO] [stdout] | |___________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn config(&self) -> &CacheConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn cleanup_expired_entries(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn stats(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn keys(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start_cleanup_task` is never used [INFO] [stdout] --> src/cache.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 386 | / impl InmemoryCache [INFO] [stdout] 387 | | where [INFO] [stdout] 388 | | T: Clone + Send + Sync, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 389 | { [INFO] [stdout] 390 | pub async fn start_cleanup_task(cache: Arc>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MaxSizeExceeded` is never constructed [INFO] [stdout] --> src/cache.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CacheError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 9 | LockError(String), [INFO] [stdout] 10 | MaxSizeExceeded, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheError` 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: methods `remove`, `clear`, `size`, `hit_rate`, and `cleanup_expired` are never used [INFO] [stdout] --> src/cache.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait CacheTrait: Send + Sync [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 60 | fn remove(&self, key: &str) -> Option; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | fn clear(&self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | fn hit_rate(&self) -> f64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | fn cleanup_expired(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cleanups` is never read [INFO] [stdout] --> src/cache.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct CacheStats { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub cleanups: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `hit_rate` is never used [INFO] [stdout] --> src/cache.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 77 | impl CacheStats { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 78 | pub fn hit_rate(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_enabled`, `config`, `cleanup_expired_entries`, `stats`, `contains_key`, and `keys` are never used [INFO] [stdout] --> src/cache.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 97 | / impl InmemoryCache [INFO] [stdout] 98 | | where [INFO] [stdout] 99 | | T: Clone + Send + Sync, [INFO] [stdout] | |___________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn is_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn config(&self) -> &CacheConfig { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn cleanup_expired_entries(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn stats(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn contains_key(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn keys(&self) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `start_cleanup_task` is never used [INFO] [stdout] --> src/cache.rs:390:18 [INFO] [stdout] | [INFO] [stdout] 386 | / impl InmemoryCache [INFO] [stdout] 387 | | where [INFO] [stdout] 388 | | T: Clone + Send + Sync, [INFO] [stdout] | |___________________________- associated function in this implementation [INFO] [stdout] 389 | { [INFO] [stdout] 390 | pub async fn start_cleanup_task(cache: Arc>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.47s [INFO] running `Command { std: "docker" "inspect" "04db2128b602931dc4971d73ca5f276ce96139a8fd47df94b351fa04d86df871", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04db2128b602931dc4971d73ca5f276ce96139a8fd47df94b351fa04d86df871", kill_on_drop: false }` [INFO] [stdout] 04db2128b602931dc4971d73ca5f276ce96139a8fd47df94b351fa04d86df871