[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 master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduggurd%2Frust_finn_api" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/duggurd/rust_finn_api 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/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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded atomic-write-file v0.1.2
[INFO] [stderr]   Downloaded sqlx-macros v0.7.3
[INFO] [stderr]   Downloaded ahash v0.8.9
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.3
[INFO] [stderr]   Downloaded event-listener v5.1.0
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.3
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.3
[INFO] [stderr]   Downloaded bumpalo v3.15.0
[INFO] [stderr]   Downloaded sqlx-core v0.7.3
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.3
[INFO] [stderr]   Downloaded sqlx v0.7.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7a2c6a0887cf585f4fae55f29ff36fc478afb14be016c6b4b57bc70055c2bd66
[INFO] running `Command { std: "docker" "start" "-a" "7a2c6a0887cf585f4fae55f29ff36fc478afb14be016c6b4b57bc70055c2bd66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7a2c6a0887cf585f4fae55f29ff36fc478afb14be016c6b4b57bc70055c2bd66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7a2c6a0887cf585f4fae55f29ff36fc478afb14be016c6b4b57bc70055c2bd66", kill_on_drop: false }`
[INFO] [stdout] 7a2c6a0887cf585f4fae55f29ff36fc478afb14be016c6b4b57bc70055c2bd66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 594c92f60e40d4b4a2c38eeb69c5c6536c54b49617ec18b85d82a82b5c73c0d7
[INFO] running `Command { std: "docker" "start" "-a" "594c92f60e40d4b4a2c38eeb69c5c6536c54b49617ec18b85d82a82b5c73c0d7", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling libc v0.2.153
[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 lock_api v0.4.11
[INFO] [stderr]    Compiling ahash v0.8.9
[INFO] [stderr]     Checking smallvec v1.13.1
[INFO] [stderr]     Checking bytes v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking memchr v2.7.1
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]     Checking zerocopy v0.7.32
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking allocator-api2 v0.2.16
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]     Checking parking v2.2.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling openssl v0.10.63
[INFO] [stderr]    Compiling rustix v0.38.31
[INFO] [stderr]    Compiling ryu v1.0.17
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]     Checking concurrent-queue v2.4.0
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking socket2 v0.5.5
[INFO] [stderr]     Checking mio v0.8.10
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]    Compiling syn v2.0.49
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]     Checking http v0.2.11
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling atoi v2.0.0
[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 block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]     Checking indexmap v2.2.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling nix v0.27.1
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling fastrand v2.0.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling openssl-sys v0.9.99
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking event-listener v5.1.0
[INFO] [stderr]     Checking event-listener v4.0.3
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]     Checking event-listener-strategy v0.4.0
[INFO] [stderr]     Checking event-listener-strategy v0.5.0
[INFO] [stderr]    Compiling atomic-write-file v0.1.2
[INFO] [stderr]     Checking async-lock v3.3.0
[INFO] [stderr]     Checking futures-lite v2.2.0
[INFO] [stderr]     Checking async-channel v2.2.0
[INFO] [stderr]    Compiling tempfile v3.10.0
[INFO] [stderr]     Checking piper v0.2.1
[INFO] [stderr]     Checking async-task v4.7.0
[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]    Compiling tokio-stream v0.1.14
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking blocking v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking either v1.10.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking h2 v0.3.24
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking 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 sqlx-sqlite v0.7.3
[INFO] [stderr]     Checking reqwest v0.11.24
[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: `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: `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: `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: 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: 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s
[INFO] running `Command { std: "docker" "inspect" "594c92f60e40d4b4a2c38eeb69c5c6536c54b49617ec18b85d82a82b5c73c0d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "594c92f60e40d4b4a2c38eeb69c5c6536c54b49617ec18b85d82a82b5c73c0d7", kill_on_drop: false }`
[INFO] [stdout] 594c92f60e40d4b4a2c38eeb69c5c6536c54b49617ec18b85d82a82b5c73c0d7
