[INFO] cloning repository https://github.com/DemonusPC/burnreport [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DemonusPC/burnreport" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemonusPC%2Fburnreport", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemonusPC%2Fburnreport'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67cc557a874835ab83135b6071a8c2b8c1d7c315 [INFO] checking DemonusPC/burnreport against master#7c306f6dcd600b1fcc74439c780e8ebef338d84c for pr-108918 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDemonusPC%2Fburnreport" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DemonusPC/burnreport on toolchain 7c306f6dcd600b1fcc74439c780e8ebef338d84c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c306f6dcd600b1fcc74439c780e8ebef338d84c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DemonusPC/burnreport [INFO] finished tweaking git repo https://github.com/DemonusPC/burnreport [INFO] tweaked toml for git repo https://github.com/DemonusPC/burnreport written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DemonusPC/burnreport 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" "+7c306f6dcd600b1fcc74439c780e8ebef338d84c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dotenvy v0.15.3 [INFO] [stderr] Downloaded redox_syscall v0.2.15 [INFO] [stderr] Downloaded sha2 v0.10.5 [INFO] [stderr] Downloaded askama_escape v0.10.1 [INFO] [stderr] Downloaded actix-multipart v0.5.0 [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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+7c306f6dcd600b1fcc74439c780e8ebef338d84c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34dd921cf468efbc12eb53a8603d1c1775ccbd0a16f2891b5f39daaeb7bd8669 [INFO] running `Command { std: "docker" "start" "-a" "34dd921cf468efbc12eb53a8603d1c1775ccbd0a16f2891b5f39daaeb7bd8669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34dd921cf468efbc12eb53a8603d1c1775ccbd0a16f2891b5f39daaeb7bd8669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34dd921cf468efbc12eb53a8603d1c1775ccbd0a16f2891b5f39daaeb7bd8669", kill_on_drop: false }` [INFO] [stdout] 34dd921cf468efbc12eb53a8603d1c1775ccbd0a16f2891b5f39daaeb7bd8669 [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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+7c306f6dcd600b1fcc74439c780e8ebef338d84c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a259a200e2ea5042bbb602260ffe4af5b613725b4e8faa17f611eb7236d41b8 [INFO] running `Command { std: "docker" "start" "-a" "6a259a200e2ea5042bbb602260ffe4af5b613725b4e8faa17f611eb7236d41b8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.50 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.26 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Compiling futures-channel v0.3.26 [INFO] [stderr] Compiling futures-task v0.3.26 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking futures-sink v0.3.26 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking futures-io v0.3.26 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling vcpkg v0.2.11 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling zstd-safe v6.0.3+zstd.1.5.2 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking idna v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking url v2.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Checking brotli-decompressor v2.3.2 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.5 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling rustix v0.36.7 [INFO] [stderr] Compiling iana-time-zone v0.1.53 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling sqlformat v0.2.1 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.3 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.26 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking http-range v0.1.4 [INFO] [stderr] Checking askama_escape v0.10.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking sqlx-rt v0.6.2 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking is-terminal v0.4.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking actix-server v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.26 [INFO] [stderr] Checking futures v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.5.0 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Compiling actix-web-codegen v4.1.0 [INFO] [stderr] Checking sqlx-core v0.6.2 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking actix-http v3.3.0 [INFO] [stderr] Checking sqlx v0.6.2 [INFO] [stderr] Checking actix-web v4.3.0 [INFO] [stderr] Checking actix-files v0.6.2 [INFO] [stderr] Checking actix-multipart v0.5.0 [INFO] [stderr] Checking burnreport v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Fat` [INFO] [stdout] --> src/nutrients/vitamins.rs:4:82 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{add_options, divide_option_by_constant, multiply_option_by_constant, Fat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Product` [INFO] [stdout] --> src/routes/products.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::product::{ApiResult, CreateProductRequest, Portion, Product, ResultList}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Fat` [INFO] [stdout] --> src/nutrients/vitamins.rs:4:82 [INFO] [stdout] | [INFO] [stdout] 4 | use super::{add_options, divide_option_by_constant, multiply_option_by_constant, Fat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Product` [INFO] [stdout] --> src/recipie/mod.rs:231:41 [INFO] [stdout] | [INFO] [stdout] 231 | product::{CreateProductRequest, Product, ProductStore, Unit}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Product` [INFO] [stdout] --> src/routes/products.rs:1:64 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::product::{ApiResult, CreateProductRequest, Portion, Product, ResultList}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/recipie/mod.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut result = sqlx::query("SELECT id, name FROM Recipies") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/recipie/mod.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | let mut result = sqlx::query("SELECT id, name FROM Recipies") [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_size` [INFO] [stdout] --> src/recipie/mod.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | page_size: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/recipie/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | cursor: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_size` [INFO] [stdout] --> src/recipie/mod.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | page_size: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_page_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cursor` [INFO] [stdout] --> src/recipie/mod.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | cursor: Option, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cursor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ingredient_id_two` [INFO] [stdout] --> src/report/mod.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | let ingredient_id_two = ProductStore::insert_product(&pool, ingredient_two) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredient_id_two` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Minerals` is never constructed [INFO] [stdout] --> src/nutrients/vitamins.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct Minerals { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/product/product.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn id(&self) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/product/product.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unit` is never used [INFO] [stdout] --> src/product/product.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn unit(&self) -> &Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `energy` is never used [INFO] [stdout] --> src/product/product.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn energy(&self) -> &Energy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `carbohydrates` is never used [INFO] [stdout] --> src/product/product.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn carbohydrates(&self) -> &Carbohydrates { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fat` is never used [INFO] [stdout] --> src/product/product.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn fat(&self) -> &Fat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `protein` is never used [INFO] [stdout] --> src/product/product.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn protein(&self) -> &Protein { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `salt` is never used [INFO] [stdout] --> src/product/product.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn salt(&self) -> &Salt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vitamins` is never used [INFO] [stdout] --> src/product/product.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn vitamins(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spi` is never used [INFO] [stdout] --> src/product/product.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn spi(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list_by_spi` is never used [INFO] [stdout] --> src/product/product.rs:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | pub async fn list_by_spi( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Page` is never constructed [INFO] [stdout] --> src/recipie/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Page { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/recipie/mod.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn id(&self) -> i64 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/recipie/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ingredients` is never used [INFO] [stdout] --> src/recipie/mod.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn ingredients(&self) -> &[Ingredient] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/recipie/mod.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn total(&self) -> Nutrients { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/recipie/mod.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn new(recipies: Vec, prev: Option, next: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `recipies` is never used [INFO] [stdout] --> src/recipie/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn recipies(&self) -> &[Recipie] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev` is never used [INFO] [stdout] --> src/recipie/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn prev(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/recipie/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list` is never used [INFO] [stdout] --> src/recipie/mod.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 210 | pub async fn list( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/report/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn id(&self) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `amount` is never used [INFO] [stdout] --> src/report/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn amount(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_alphabetic_code` is never used [INFO] [stdout] --> src/spi/mod.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | pub async fn get_by_alphabetic_code( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `list` is never used [INFO] [stdout] --> src/spi/mod.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub async fn list(pool: &SqlitePool) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Minerals` is never constructed [INFO] [stdout] --> src/nutrients/vitamins.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct Minerals { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/product/product.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn id(&self) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `unit` is never used [INFO] [stdout] --> src/product/product.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn unit(&self) -> &Unit { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `energy` is never used [INFO] [stdout] --> src/product/product.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn energy(&self) -> &Energy { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `carbohydrates` is never used [INFO] [stdout] --> src/product/product.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn carbohydrates(&self) -> &Carbohydrates { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fat` is never used [INFO] [stdout] --> src/product/product.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn fat(&self) -> &Fat { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `protein` is never used [INFO] [stdout] --> src/product/product.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn protein(&self) -> &Protein { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `salt` is never used [INFO] [stdout] --> src/product/product.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn salt(&self) -> &Salt { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `vitamins` is never used [INFO] [stdout] --> src/product/product.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn vitamins(&self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `spi` is never used [INFO] [stdout] --> src/product/product.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn spi(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `prev` and `next` are never read [INFO] [stdout] --> src/recipie/mod.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | pub struct Page { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 90 | recipies: Vec, [INFO] [stdout] 91 | prev: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 92 | next: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prev` is never used [INFO] [stdout] --> src/recipie/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn prev(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/recipie/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn next(&self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/report/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn id(&self) -> i32 { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `amount` is never used [INFO] [stdout] --> src/report/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn amount(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.49s [INFO] running `Command { std: "docker" "inspect" "6a259a200e2ea5042bbb602260ffe4af5b613725b4e8faa17f611eb7236d41b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a259a200e2ea5042bbb602260ffe4af5b613725b4e8faa17f611eb7236d41b8", kill_on_drop: false }` [INFO] [stdout] 6a259a200e2ea5042bbb602260ffe4af5b613725b4e8faa17f611eb7236d41b8