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