[INFO] cloning repository https://github.com/Antix5/recipe_optim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Antix5/recipe_optim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntix5%2Frecipe_optim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntix5%2Frecipe_optim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b8160a65b6c0818a1dbd44964128dbf1da8f615 [INFO] building Antix5/recipe_optim against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntix5%2Frecipe_optim" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Antix5/recipe_optim [INFO] finished tweaking git repo https://github.com/Antix5/recipe_optim [INFO] tweaked toml for git repo https://github.com/Antix5/recipe_optim written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Antix5/recipe_optim on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Antix5/recipe_optim 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-registry v0.4.0 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded macro_rules_attribute v0.2.0 [INFO] [stderr] Downloaded rayon-cond v0.3.0 [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded anstyle-wincon v3.0.8 [INFO] [stderr] Downloaded hf-hub v0.3.2 [INFO] [stderr] Downloaded csv-core v0.1.12 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded matrixmultiply v0.3.10 [INFO] [stderr] Downloaded encode_unicode v1.0.0 [INFO] [stderr] Downloaded ureq v2.12.1 [INFO] [stderr] Downloaded reqwest v0.12.15 [INFO] [stderr] Downloaded esaxx-rs v0.1.10 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded tokenizers v0.21.1 [INFO] [stderr] Downloaded indicatif v0.17.11 [INFO] [stderr] Downloaded unicode-normalization-alignments v0.1.12 [INFO] [stderr] Downloaded cc v1.2.24 [INFO] [stderr] Downloaded safetensors v0.5.3 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded console v0.15.11 [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded monostate-impl v0.1.14 [INFO] [stderr] Downloaded monostate v0.1.14 [INFO] [stderr] Downloaded hyper-util v0.1.12 [INFO] [stderr] Downloaded spm_precompiled v0.1.4 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] [stderr] Downloaded csv v1.3.1 [INFO] [stderr] Downloaded model2vec-rs v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8fb7096bf3e0cb0fe2df24066e65e43b46b322afdd104a05c9795cfef16a96ce [INFO] running `Command { std: "docker" "start" "-a" "8fb7096bf3e0cb0fe2df24066e65e43b46b322afdd104a05c9795cfef16a96ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8fb7096bf3e0cb0fe2df24066e65e43b46b322afdd104a05c9795cfef16a96ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fb7096bf3e0cb0fe2df24066e65e43b46b322afdd104a05c9795cfef16a96ce", kill_on_drop: false }` [INFO] [stdout] 8fb7096bf3e0cb0fe2df24066e65e43b46b322afdd104a05c9795cfef16a96ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98192b2d60d490e5a17b9af4d6e666f84d8acfcaca788b341803ea645da4e2d6 [INFO] running `Command { std: "docker" "start" "-a" "98192b2d60d490e5a17b9af4d6e666f84d8acfcaca788b341803ea645da4e2d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cc v1.2.24 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling portable-atomic v1.11.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling monostate-impl v0.1.14 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling bytemuck_derive v1.9.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling bytemuck v1.23.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling clap v4.5.38 [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] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling monostate v0.1.14 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling safetensors v0.5.3 [INFO] [stderr] Compiling tokenizers v0.21.1 [INFO] [stderr] Compiling hf-hub v0.3.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling model2vec-rs v0.1.0 [INFO] [stderr] Compiling recipe_optim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::search::embedding_engine::EMBEDDING_DIMENSION` [INFO] [stdout] --> src/search/ann_engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::search::embedding_engine::EMBEDDING_DIMENSION; // To ensure consistency if needed, or use passed dimension [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: `ParsedIngredient` [INFO] [stdout] --> src/recipe_converter.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::recipe_parser::{ParsedIngredient, ParsedRecipe}; // Assuming ParsedRecipe is in recipe_parser [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api_connection::connection::ApiConnectionError` [INFO] [stdout] --> src/recipe_converter.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::api_connection::connection::ApiConnectionError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/nutritional_matcher.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CalculatedNutritionalInfo` [INFO] [stdout] --> src/recipe_aggregator.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipe_converter::{CleanedRecipe, CleanedIngredient, CalculatedNutritionalInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/optim/optimizer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CalculatedNutritionalInfo` and `CleanedIngredient` [INFO] [stdout] --> src/optim/optimizer.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::recipe_converter::{CleanedRecipe, CleanedIngredient, convert_ingredients_to_grams, CalculatedNutritionalInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NutritionalSummary` [INFO] [stdout] --> src/optim/optimizer.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::recipe_aggregator::{calculate_nutritional_profile, RecipeNutritionalProfile, NutritionalSummary}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/search/nano_vector_db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, bail, anyhow}; [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: `ParsedRecipe` [INFO] [stdout] --> src/main.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use recipe_optim::recipe_parser::{parse_recipe_text, ParsedRecipe}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TargetNutritionalValues` [INFO] [stdout] --> src/main.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use recipe_optim::optim::targets::{calculate_target_nutrition, TargetNutritionalValues}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "98192b2d60d490e5a17b9af4d6e666f84d8acfcaca788b341803ea645da4e2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98192b2d60d490e5a17b9af4d6e666f84d8acfcaca788b341803ea645da4e2d6", kill_on_drop: false }` [INFO] [stdout] 98192b2d60d490e5a17b9af4d6e666f84d8acfcaca788b341803ea645da4e2d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c3d16245898db05bd4001397e99d3deb58e5dcb4853f7a1054be4de59c39d9 [INFO] running `Command { std: "docker" "start" "-a" "e2c3d16245898db05bd4001397e99d3deb58e5dcb4853f7a1054be4de59c39d9", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling onig v6.5.1 [INFO] [stderr] Compiling tokenizers v0.21.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling ureq v2.12.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling hf-hub v0.3.2 [INFO] [stderr] Compiling model2vec-rs v0.1.0 [INFO] [stderr] Compiling recipe_optim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::search::embedding_engine::EMBEDDING_DIMENSION` [INFO] [stdout] --> src/search/ann_engine.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::search::embedding_engine::EMBEDDING_DIMENSION; // To ensure consistency if needed, or use passed dimension [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: `ParsedIngredient` [INFO] [stdout] --> src/recipe_converter.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::recipe_parser::{ParsedIngredient, ParsedRecipe}; // Assuming ParsedRecipe is in recipe_parser [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::api_connection::connection::ApiConnectionError` [INFO] [stdout] --> src/recipe_converter.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::api_connection::connection::ApiConnectionError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/nutritional_matcher.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CalculatedNutritionalInfo` [INFO] [stdout] --> src/recipe_aggregator.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipe_converter::{CleanedRecipe, CleanedIngredient, CalculatedNutritionalInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/optim/optimizer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CalculatedNutritionalInfo` and `CleanedIngredient` [INFO] [stdout] --> src/optim/optimizer.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::recipe_converter::{CleanedRecipe, CleanedIngredient, convert_ingredients_to_grams, CalculatedNutritionalInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NutritionalSummary` [INFO] [stdout] --> src/optim/optimizer.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::recipe_aggregator::{calculate_nutritional_profile, RecipeNutritionalProfile, NutritionalSummary}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/search/nano_vector_db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ParsedIngredient` [INFO] [stdout] --> src/recipe_converter.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::recipe_parser::{ParsedIngredient, ParsedRecipe}; // Assuming ParsedRecipe is in recipe_parser [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::api_connection::connection::ApiConnectionError` [INFO] [stdout] --> src/recipe_converter.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::api_connection::connection::ApiConnectionError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow` [INFO] [stdout] --> src/nutritional_matcher.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CalculatedNutritionalInfo` [INFO] [stdout] --> src/recipe_aggregator.rs:2:65 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::recipe_converter::{CleanedRecipe, CleanedIngredient, CalculatedNutritionalInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/optim/optimizer.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CalculatedNutritionalInfo` and `CleanedIngredient` [INFO] [stdout] --> src/optim/optimizer.rs:5:46 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::recipe_converter::{CleanedRecipe, CleanedIngredient, convert_ingredients_to_grams, CalculatedNutritionalInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NutritionalSummary` [INFO] [stdout] --> src/optim/optimizer.rs:7:89 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::recipe_aggregator::{calculate_nutritional_profile, RecipeNutritionalProfile, NutritionalSummary}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, bail, anyhow}; [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: `ParsedRecipe` [INFO] [stdout] --> src/main.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use recipe_optim::recipe_parser::{parse_recipe_text, ParsedRecipe}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TargetNutritionalValues` [INFO] [stdout] --> src/main.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use recipe_optim::optim::targets::{calculate_target_nutrition, TargetNutritionalValues}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bail` [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | use anyhow::{Result, Context, bail, anyhow}; [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: `ParsedRecipe` [INFO] [stdout] --> src/main.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use recipe_optim::recipe_parser::{parse_recipe_text, ParsedRecipe}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TargetNutritionalValues` [INFO] [stdout] --> src/main.rs:7:64 [INFO] [stdout] | [INFO] [stdout] 7 | use recipe_optim::optim::targets::{calculate_target_nutrition, TargetNutritionalValues}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/search/nano_vector_db.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 31.62s [INFO] running `Command { std: "docker" "inspect" "e2c3d16245898db05bd4001397e99d3deb58e5dcb4853f7a1054be4de59c39d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c3d16245898db05bd4001397e99d3deb58e5dcb4853f7a1054be4de59c39d9", kill_on_drop: false }` [INFO] [stdout] e2c3d16245898db05bd4001397e99d3deb58e5dcb4853f7a1054be4de59c39d9