[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#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-148190 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteddyrendahl%2Ffeedme" "/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/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/teddyrendahl/feedme on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest_macros v0.26.1 [INFO] [stderr] Downloaded rstest v0.26.1 [INFO] [stderr] Downloaded cc v1.2.45 [INFO] [stderr] Downloaded num-bigint-dig v0.8.5 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e8c1ce18fb1c35c8be6f16215f2cded5ada15b0417daa573430aca72a1d4e86a [INFO] running `Command { std: "docker" "start" "-a" "e8c1ce18fb1c35c8be6f16215f2cded5ada15b0417daa573430aca72a1d4e86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e8c1ce18fb1c35c8be6f16215f2cded5ada15b0417daa573430aca72a1d4e86a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8c1ce18fb1c35c8be6f16215f2cded5ada15b0417daa573430aca72a1d4e86a", kill_on_drop: false }` [INFO] [stdout] e8c1ce18fb1c35c8be6f16215f2cded5ada15b0417daa573430aca72a1d4e86a [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e82994e0834feb6bc1f27709da1a0ecac6c84ad7d471e5e28be26f99233d998 [INFO] running `Command { std: "docker" "start" "-a" "6e82994e0834feb6bc1f27709da1a0ecac6c84ad7d471e5e28be26f99233d998", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking signal-hook-mio v0.2.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking rstest v0.26.1 [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: 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: 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 42.82s [INFO] running `Command { std: "docker" "inspect" "6e82994e0834feb6bc1f27709da1a0ecac6c84ad7d471e5e28be26f99233d998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e82994e0834feb6bc1f27709da1a0ecac6c84ad7d471e5e28be26f99233d998", kill_on_drop: false }` [INFO] [stdout] 6e82994e0834feb6bc1f27709da1a0ecac6c84ad7d471e5e28be26f99233d998