[INFO] cloning repository https://github.com/teddyrendahl/feedme [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teddyrendahl/feedme" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddyrendahl%2Ffeedme", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddyrendahl%2Ffeedme'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2956f0cc5f1c33cea64f1e4dcacd84a848ccc278 [INFO] checking teddyrendahl/feedme against master#bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 for pr-149328 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddyrendahl%2Ffeedme" "/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/teddyrendahl/feedme [INFO] finished tweaking git repo https://github.com/teddyrendahl/feedme [INFO] tweaked toml for git repo https://github.com/teddyrendahl/feedme written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teddyrendahl/feedme on toolchain bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/teddyrendahl/feedme 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" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint-dig v0.8.5 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ba9b4b1d63dc9a017787762a165d7d8e30db28fd32bd9ed258ba7fddcca8815 [INFO] running `Command { std: "docker" "start" "-a" "8ba9b4b1d63dc9a017787762a165d7d8e30db28fd32bd9ed258ba7fddcca8815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ba9b4b1d63dc9a017787762a165d7d8e30db28fd32bd9ed258ba7fddcca8815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba9b4b1d63dc9a017787762a165d7d8e30db28fd32bd9ed258ba7fddcca8815", kill_on_drop: false }` [INFO] [stdout] 8ba9b4b1d63dc9a017787762a165d7d8e30db28fd32bd9ed258ba7fddcca8815 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb8a09b56f1051d43d16c2f09d4c36aee48a554ed825a53be086f02bb291b95 [INFO] running `Command { std: "docker" "start" "-a" "2fb8a09b56f1051d43d16c2f09d4c36aee48a554ed825a53be086f02bb291b95", kill_on_drop: false }` [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking sqlx-sqlite v0.8.6 [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 feedme v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `create_ingredient` and `get_all_ingredients` [INFO] [stdout] --> src/controllers/mod.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub use ingredient_controller::{create_ingredient, get_all_ingredients}; [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 imports: `create_recipe`, `generate_shopping_list`, and `get_recipe` [INFO] [stdout] --> src/controllers/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub use recipe_controller::{create_recipe, generate_shopping_list, get_recipe}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recipe_ingredient::RecipeIngredientRecord` [INFO] [stdout] --> src/models/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use recipe_ingredient::RecipeIngredientRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SqlitePool` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::sqlite::{SqlitePool, SqlitePoolOptions}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ingredient` is never used [INFO] [stdout] --> src/controllers/ingredient_controller.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn create_ingredient(pool: &SqlitePool, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_ingredients` is never used [INFO] [stdout] --> src/controllers/ingredient_controller.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn get_all_ingredients(pool: &SqlitePool) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_recipe` is never used [INFO] [stdout] --> src/controllers/recipe_controller.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn get_recipe(pool: &SqlitePool, recipe_id: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_recipe` is never used [INFO] [stdout] --> src/controllers/recipe_controller.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn create_recipe(pool: &SqlitePool, recipe: &Recipe) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_shopping_list` is never used [INFO] [stdout] --> src/controllers/recipe_controller.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn generate_shopping_list( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FeedMeError` is never used [INFO] [stdout] --> src/error.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FeedMeError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Result` is never used [INFO] [stdout] --> src/error.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Result = std::result::Result; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IngredientRecord` is never constructed [INFO] [stdout] --> src/models/ingredient.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct IngredientRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeRecord` is never constructed [INFO] [stdout] --> src/models/recipe.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RecipeRecord { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeIngredientRecord` is never constructed [INFO] [stdout] --> src/models/recipe_ingredient.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RecipeIngredientRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Recipe` is never constructed [INFO] [stdout] --> src/models/api/recipe.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Recipe { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RecipeIngredient` is never constructed [INFO] [stdout] --> src/models/api/recipe.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RecipeIngredient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/models/api/recipe.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Recipe { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 21 | /// Format the recipe as a human-readable string [INFO] [stdout] 22 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ShoppingListItem` is never constructed [INFO] [stdout] --> src/models/api/shopping_list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct ShoppingListItem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/models/api/shopping_list.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ShoppingListItem { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 8 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_ingredient` and `get_all_ingredients` [INFO] [stdout] --> src/controllers/mod.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | pub use ingredient_controller::{create_ingredient, get_all_ingredients}; [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 imports: `create_recipe`, `generate_shopping_list`, and `get_recipe` [INFO] [stdout] --> src/controllers/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub use recipe_controller::{create_recipe, generate_shopping_list, get_recipe}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `recipe_ingredient::RecipeIngredientRecord` [INFO] [stdout] --> src/models/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use recipe_ingredient::RecipeIngredientRecord; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SqlitePool` [INFO] [stdout] --> src/main.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use sqlx::sqlite::{SqlitePool, SqlitePoolOptions}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IngredientNotFound` is never constructed [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FeedMeError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | IngredientNotFound(i64), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FeedMeError` 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: method `to_string` is never used [INFO] [stdout] --> src/models/api/shopping_list.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ShoppingListItem { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 8 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.33s [INFO] running `Command { std: "docker" "inspect" "2fb8a09b56f1051d43d16c2f09d4c36aee48a554ed825a53be086f02bb291b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb8a09b56f1051d43d16c2f09d4c36aee48a554ed825a53be086f02bb291b95", kill_on_drop: false }` [INFO] [stdout] 2fb8a09b56f1051d43d16c2f09d4c36aee48a554ed825a53be086f02bb291b95