[INFO] cloning repository https://github.com/duggurd/rust_finn_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duggurd/rust_finn_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduggurd%2Frust_finn_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduggurd%2Frust_finn_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 785cd173df0d1f383a86885c2b8524a6404b11f0
[INFO] checking duggurd/rust_finn_api against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduggurd%2Frust_finn_api" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/duggurd/rust_finn_api
[INFO] finished tweaking git repo https://github.com/duggurd/rust_finn_api
[INFO] tweaked toml for git repo https://github.com/duggurd/rust_finn_api written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/duggurd/rust_finn_api on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/duggurd/rust_finn_api 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341
[INFO] running `Command { std: "docker" "start" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking pin-project-lite v0.2.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling ahash v0.8.9
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]    Compiling syn v2.0.49
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking unicode-normalization v0.1.22
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]     Checking indexmap v2.2.3
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling crc v3.0.1
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]     Checking event-listener v5.1.0
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking event-listener-strategy v0.5.0
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.33
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking async-task v4.7.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking json v0.12.4
[INFO] [stderr]    Compiling tempfile v3.10.0
[INFO] [stderr]    Compiling atomic-write-file v0.1.2
[INFO] [stderr]    Compiling serde_derive v1.0.197
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling either v1.10.0
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling sqlformat v0.2.3
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking sqlx-core v0.7.3
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.24
[INFO] [stderr]     Checking sqlx-sqlite v0.7.3
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.3
[INFO] [stderr]     Checking sqlx v0.7.3
[INFO] [stderr]     Checking rust_finn_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::search_keys`
[INFO] [stdout]  --> src/api.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::search_keys;
[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: `crate::params`
[INFO] [stdout]  --> src/api.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::params;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CommonParam`
[INFO] [stdout]  --> src/api.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::params::{CommonParam, Param};
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::Metadata`
[INFO] [stdout]  --> src/response.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::Metadata;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::types::Json`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sqlx::types::Json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::Metadata`
[INFO] [stdout]  --> src/response.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::Metadata;
[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: `sqlx::types::Json`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use sqlx::types::Json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]   --> src/main.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlx::{sqlite,Connection, Executor};
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Executor`
[INFO] [stdout]   --> src/main.rs:10:31
[INFO] [stdout]    |
[INFO] [stdout] 10 | use sqlx::{sqlite,Connection, Executor};
[INFO] [stdout]    |                               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let resp = serde_json::from_str::<ApiResponse>(&data)?;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FinnApi` is never constructed
[INFO] [stdout]   --> src/api.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct FinnApi {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ApiRequest` is never constructed
[INFO] [stdout]   --> src/api.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | struct ApiRequest {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `get` are never used
[INFO] [stdout]   --> src/api.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl FinnApi {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |     async fn new(client: Option<reqwest::Client>) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     async fn get(api_request: ApiRequest) -> Result<reqwest::Response> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `API_ENDPOINT`, `new`, `search_key`, `param`, and `build` are never used
[INFO] [stdout]   --> src/api.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl ApiRequest {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 40 |     const API_ENDPOINT: &'static str = "https://www.finn.no/api";
[INFO] [stdout]    |           ^^^^^^^^^^^^
[INFO] [stdout] 41 |
[INFO] [stdout] 42 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn search_key(mut self, search_key: impl SearchKey) -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     fn param(mut self, param: impl Param) -> Self{
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     fn build(self) -> Result<String> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `resp`
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let resp = serde_json::from_str::<ApiResponse>(&data)?;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_resp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FinnApi` is never constructed
[INFO] [stdout]   --> src/api.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | struct FinnApi {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `get` are never used
[INFO] [stdout]   --> src/api.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl FinnApi {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout] 23 |
[INFO] [stdout] 24 |     async fn new(client: Option<reqwest::Client>) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     async fn get(api_request: ApiRequest) -> Result<reqwest::Response> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.96s
[INFO] running `Command { std: "docker" "inspect" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341", kill_on_drop: false }`
[INFO] [stdout] 9929bd340c27d90e9972e669318dd16877cfa5cdc8f1c44a046563a5cc71a341
