[INFO] cloning repository https://github.com/MatsRivel/GarageManager [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MatsRivel/GarageManager" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatsRivel%2FGarageManager", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatsRivel%2FGarageManager'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de974143444787d5175d0bbf6355ead8fdb1926b [INFO] checking MatsRivel/GarageManager against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMatsRivel%2FGarageManager" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/MatsRivel/GarageManager [INFO] finished tweaking git repo https://github.com/MatsRivel/GarageManager [INFO] tweaked toml for git repo https://github.com/MatsRivel/GarageManager written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/MatsRivel/GarageManager 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/MatsRivel/GarageManager 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] Downloading crates ... [INFO] [stderr] Downloaded url v2.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 1959220fbc4ddd16b4f246adc5a40d7a4e4cb8147d92dd40ad712a78d9c3493a [INFO] running `Command { std: "docker" "start" "-a" "1959220fbc4ddd16b4f246adc5a40d7a4e4cb8147d92dd40ad712a78d9c3493a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1959220fbc4ddd16b4f246adc5a40d7a4e4cb8147d92dd40ad712a78d9c3493a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1959220fbc4ddd16b4f246adc5a40d7a4e4cb8147d92dd40ad712a78d9c3493a", kill_on_drop: false }` [INFO] [stdout] 1959220fbc4ddd16b4f246adc5a40d7a4e4cb8147d92dd40ad712a78d9c3493a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b07ba874f4c0130b53764a1be4cf8bd0521aaf584aa62d6d006e443a8d4a37de [INFO] running `Command { std: "docker" "start" "-a" "b07ba874f4c0130b53764a1be4cf8bd0521aaf584aa62d6d006e443a8d4a37de", kill_on_drop: false }` [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Checking url v2.5.6 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking axum-core v0.5.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_path_to_error v0.1.17 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.16 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.4 [INFO] [stderr] Checking reqwest v0.12.23 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking storage_space_manager v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `db_wrapper::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db_wrapper::*; [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: `response::Json` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | response::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `db_wrapper::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use db_wrapper::*; [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: `response::Json` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | response::Json, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DbWrapper` is never constructed [INFO] [stdout] --> src/db_wrapper.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct DbWrapper{ [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 items `new_local`, `add`, `move_box`, `move_item`, and `find_item` are never used [INFO] [stdout] --> src/db_wrapper.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | }impl DbWrapper{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 10 | pub async fn new_local()->Self{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub async fn add<'a>(&'a self, location_name: LocationName<'a>, box_number: Option, item_name: Option>, categ... [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn move_box<'a>(&'a self, box_number: BoxNumber, new_location_name: LocationName<'a>)->Result<(),sqlx::Error>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn move_item<'a>(&'a self, item_name: ItemName<'a>, from_box: BoxNumber, to_box: BoxNumber)->Result<(),sqlx::Error>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn find_item(&'_ self, item_name: ItemName<'_>)-> Result,sqlx::Error>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_BOX_NUMBER` is never used [INFO] [stdout] --> src/sql_lite_wrapper.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const GET_BOX_NUMBER: &'static str = "SELECT number FROM boxes WHERE id = ?"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_ITEM` is never used [INFO] [stdout] --> src/sql_lite_wrapper.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const MOVE_ITEM: &'static str = "UPDATE items SET box_id = ? WHERE id = ?"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOVE_BOX` is never used [INFO] [stdout] --> src/sql_lite_wrapper.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const MOVE_BOX: &'static str = "UPDATE boxes SET location_id = ? WHERE id = ?"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SELECT_ALL_LOCATIONS` is never used [INFO] [stdout] --> src/sql_lite_wrapper.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const SELECT_ALL_LOCATIONS: &'static str = "SELECT name FROM locations"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/sql_lite_wrapper.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LocationRow{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 34 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `location_id`, and `name` are never read [INFO] [stdout] --> src/sql_lite_wrapper.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BoxRow{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | location_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | number: i32, [INFO] [stdout] 43 | name: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `box_id`, `name`, and `categories` are never read [INFO] [stdout] --> src/sql_lite_wrapper.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ItemRow{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | box_id: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | categories: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_box`, `move_item`, `list_locations`, `box_exists_in_location`, and `item_exists_in_box` are never used [INFO] [stdout] --> src/sql_lite_wrapper.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait SqlLiteWrapper<'a>{ [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 68 | async fn move_box(&self, box_number: BoxNumber, new_location: LocationName<'a> ) -> Result<(),sqlx::Error>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | async fn move_item(&self, item_name: ItemName<'a>, from_box: BoxNumber, to_box: BoxNumber) -> Result<(),sqlx::Error>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | async fn list_locations(&self)-> Result, sqlx::Error>; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | async fn box_exists_in_location(&self, location_name: LocationName<'a>, box_number: BoxNumber) -> Result ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | async fn item_exists_in_box(&self, box_number: BoxNumber, item_name: ItemName<'a>) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `move_box`, `move_item`, and `find_item` are never used [INFO] [stdout] --> src/db_wrapper.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 9 | }impl DbWrapper{ [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub async fn move_box<'a>(&'a self, box_number: BoxNumber, new_location_name: LocationName<'a>)->Result<(),sqlx::Error>{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub async fn move_item<'a>(&'a self, item_name: ItemName<'a>, from_box: BoxNumber, to_box: BoxNumber)->Result<(),sqlx::Error>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn find_item(&'_ self, item_name: ItemName<'_>)-> Result,sqlx::Error>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GET_BOX_NUMBER` is never used [INFO] [stdout] --> src/sql_lite_wrapper.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | const GET_BOX_NUMBER: &'static str = "SELECT number FROM boxes WHERE id = ?"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> src/sql_lite_wrapper.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct LocationRow{ [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 34 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 35 | name: String [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LocationRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `location_id`, and `name` are never read [INFO] [stdout] --> src/sql_lite_wrapper.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct BoxRow{ [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 40 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | location_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 42 | number: i32, [INFO] [stdout] 43 | name: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoxRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `box_id`, `name`, and `categories` are never read [INFO] [stdout] --> src/sql_lite_wrapper.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub struct ItemRow{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 48 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 49 | box_id: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 50 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | categories: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.38s [INFO] running `Command { std: "docker" "inspect" "b07ba874f4c0130b53764a1be4cf8bd0521aaf584aa62d6d006e443a8d4a37de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b07ba874f4c0130b53764a1be4cf8bd0521aaf584aa62d6d006e443a8d4a37de", kill_on_drop: false }` [INFO] [stdout] b07ba874f4c0130b53764a1be4cf8bd0521aaf584aa62d6d006e443a8d4a37de