[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] d48f7596a9a7d672d238fbf0e9b338120915c2af [INFO] testing DemonusPC/burnreport against master#d117135f5a9b69ee3adfb1918aa25616758bf692 for pr-107251 [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 d117135f5a9b69ee3adfb1918aa25616758bf692 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "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" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-range v0.1.4 [INFO] [stderr] Downloaded sqlx-rt v0.6.1 [INFO] [stderr] Downloaded sqlx-macros v0.6.1 [INFO] [stderr] Downloaded sqlx v0.6.1 [INFO] [stderr] Downloaded dotenvy v0.15.3 [INFO] [stderr] Downloaded hashlink v0.8.0 [INFO] [stderr] Downloaded sqlx-core v0.6.1 [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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42006ed57123bbbf02e7ea3ad6336bf5db8b18713c97def4dd50c965e9cd2389 [INFO] running `Command { std: "docker" "start" "-a" "42006ed57123bbbf02e7ea3ad6336bf5db8b18713c97def4dd50c965e9cd2389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42006ed57123bbbf02e7ea3ad6336bf5db8b18713c97def4dd50c965e9cd2389", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42006ed57123bbbf02e7ea3ad6336bf5db8b18713c97def4dd50c965e9cd2389", kill_on_drop: false }` [INFO] [stdout] 42006ed57123bbbf02e7ea3ad6336bf5db8b18713c97def4dd50c965e9cd2389 [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=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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc206c0126d99c81f9da745941f400d3c5ec7c39b1e6249e6c833985cf77e7d2 [INFO] running `Command { std: "docker" "start" "-a" "bc206c0126d99c81f9da745941f400d3c5ec7c39b1e6249e6c833985cf77e7d2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.41 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [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 futures-core v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [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 paste v1.0.7 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling local-waker v0.1.1 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling vcpkg v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling url v2.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling firestorm v0.5.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling sha1 v0.10.1 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling parking_lot v0.11.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 crc-catalog v2.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling dotenvy v0.15.3 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.5 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling http-range v0.1.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling askama_escape v0.10.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling webpki-roots v0.22.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling sqlx-rt v0.6.1 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling chrono v0.4.19 [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.0.1 [INFO] [stderr] Compiling sqlx-core v0.6.1 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.2.1 [INFO] [stderr] Compiling sqlx-macros v0.6.1 [INFO] [stderr] Compiling actix-web v4.1.0 [INFO] [stderr] Compiling actix-multipart v0.4.0 [INFO] [stderr] Compiling actix-files v0.6.2 [INFO] [stderr] Compiling sqlx v0.6.1 [INFO] [stderr] Compiling burnreport v0.2.0 (/opt/rustwide/workdir) [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: struct `Minerals` is never constructed [INFO] [stdout] --> src/nutrients/vitamins.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Minerals { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `id` is never used [INFO] [stdout] --> src/product/product.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn id(&self) -> i32 { [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 function `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: associated function `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: associated function `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: associated function `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: associated function `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: associated function `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: associated function `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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 19s [INFO] running `Command { std: "docker" "inspect" "bc206c0126d99c81f9da745941f400d3c5ec7c39b1e6249e6c833985cf77e7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc206c0126d99c81f9da745941f400d3c5ec7c39b1e6249e6c833985cf77e7d2", kill_on_drop: false }` [INFO] [stdout] bc206c0126d99c81f9da745941f400d3c5ec7c39b1e6249e6c833985cf77e7d2 [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=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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec2c24060c71d03fd088100b8168f51369aedc3380178a56d14caa59a65249d4 [INFO] running `Command { std: "docker" "start" "-a" "ec2c24060c71d03fd088100b8168f51369aedc3380178a56d14caa59a65249d4", kill_on_drop: false }` [INFO] [stderr] Compiling burnreport v0.2.0 (/opt/rustwide/workdir) [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: struct `Minerals` is never constructed [INFO] [stdout] --> src/nutrients/vitamins.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub struct Minerals { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `id` is never used [INFO] [stdout] --> src/product/product.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn id(&self) -> i32 { [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: associated function `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: associated function `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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.85s [INFO] running `Command { std: "docker" "inspect" "ec2c24060c71d03fd088100b8168f51369aedc3380178a56d14caa59a65249d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2c24060c71d03fd088100b8168f51369aedc3380178a56d14caa59a65249d4", kill_on_drop: false }` [INFO] [stdout] ec2c24060c71d03fd088100b8168f51369aedc3380178a56d14caa59a65249d4 [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=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:3d532c2baa59a8a48e45c3be7eb049f77ac5a58a7a6514a58a8e878df1c3d03d" "/opt/rustwide/cargo-home/bin/cargo" "+d117135f5a9b69ee3adfb1918aa25616758bf692" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5be0c86069e5d009e871ab5e28fd096f8a8a2a2f1b6b4efac99d17ba2d1ad574 [INFO] running `Command { std: "docker" "start" "-a" "5be0c86069e5d009e871ab5e28fd096f8a8a2a2f1b6b4efac99d17ba2d1ad574", kill_on_drop: false }` [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: `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: struct `Minerals` is never constructed [INFO] [stderr] --> src/nutrients/vitamins.rs:324:12 [INFO] [stderr] | [INFO] [stderr] 324 | pub struct Minerals { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `id` is never used [INFO] [stderr] --> src/product/product.rs:112:12 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn id(&self) -> i32 { [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: associated function `prev` is never used [INFO] [stderr] --> src/recipie/mod.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn prev(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `next` is never used [INFO] [stderr] --> src/recipie/mod.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn next(&self) -> Option { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `burnreport` (bin "burnreport" test) generated 8 warnings (run `cargo fix --bin "burnreport" --tests` to apply 3 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/burnreport-74b22a907e1672d7) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test nutrients::base::tests::can_add_basic_nutrients ... ok [INFO] [stdout] test nutrients::base::tests::can_add_complex_carbohydrates ... ok [INFO] [stdout] test nutrients::base::tests::can_equal_nutrients ... ok [INFO] [stdout] test nutrients::base::tests::can_add_complex_fats ... ok [INFO] [stdout] test search::tests::can_search_for_product_and_recipies ... ok [INFO] [stdout] test recipie::tests::can_perform_all_recipie_store_operations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5be0c86069e5d009e871ab5e28fd096f8a8a2a2f1b6b4efac99d17ba2d1ad574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5be0c86069e5d009e871ab5e28fd096f8a8a2a2f1b6b4efac99d17ba2d1ad574", kill_on_drop: false }` [INFO] [stdout] 5be0c86069e5d009e871ab5e28fd096f8a8a2a2f1b6b4efac99d17ba2d1ad574