[INFO] cloning repository https://github.com/sielakos/dieta
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sielakos/dieta" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsielakos%2Fdieta", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsielakos%2Fdieta'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7e7acc4c48b5b7cb3f31c50c46f00f7c5f06bc7c
[INFO] testing sielakos/dieta against 1.47.0 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsielakos%2Fdieta" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/sielakos/dieta on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/sielakos/dieta
[INFO] finished tweaking git repo https://github.com/sielakos/dieta
[INFO] tweaked toml for git repo https://github.com/sielakos/dieta written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/sielakos/dieta already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fb2f8dac008b64f1895050610e95c5e33b3543beb9f0794156de2149db97a986
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fb2f8dac008b64f1895050610e95c5e33b3543beb9f0794156de2149db97a986", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fb2f8dac008b64f1895050610e95c5e33b3543beb9f0794156de2149db97a986", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb2f8dac008b64f1895050610e95c5e33b3543beb9f0794156de2149db97a986", kill_on_drop: false }`
[INFO] [stdout] fb2f8dac008b64f1895050610e95c5e33b3543beb9f0794156de2149db97a986
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9860df38c8fcc8d1823181bce6954ea87a7349d877f1e706284d1a52188a8885
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9860df38c8fcc8d1823181bce6954ea87a7349d877f1e706284d1a52188a8885", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.38
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling arc-swap v0.4.7
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling dtoa v0.4.6
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling libc v0.2.74
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling standback v0.2.9
[INFO] [stderr]    Compiling time v0.2.16
[INFO] [stderr]    Compiling cookie v0.14.2
[INFO] [stderr]    Compiling bytestring v0.1.5
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.1
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling libsqlite3-sys v0.17.3
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling sha-1 v0.9.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling flate2 v1.0.17
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling rusqlite v0.21.0
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling derive_more v0.99.9
[INFO] [stderr]    Compiling actix-macros v0.1.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.3
[INFO] [stderr]    Compiling actix-web-codegen v0.3.0
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling actix-codec v0.3.0
[INFO] [stderr]    Compiling actix-threadpool v0.3.3
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling actix-rt v1.1.1
[INFO] [stderr]    Compiling actix-service v1.0.6
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling trust-dns-proto v0.19.5
[INFO] [stderr]    Compiling actix-utils v2.0.0
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-tls v2.0.0
[INFO] [stderr]    Compiling actix-server v1.0.3
[INFO] [stderr]    Compiling actix-testing v1.0.1
[INFO] [stderr]    Compiling trust-dns-resolver v0.19.5
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling actix-connect v2.0.0
[INFO] [stderr]    Compiling actix-http v2.0.0
[INFO] [stderr]    Compiling awc v2.0.0
[INFO] [stderr]    Compiling actix-web v3.0.1
[INFO] [stderr]    Compiling dieta v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `section`
[INFO] [stdout]   --> src/models/meal.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 |         self.sections.iter().find(|section| true)
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/models/meal.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn get_section(&self, name: &str) -> Option<&StepsSection> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/db.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut db = Connection::open(Path::new("./data.db"))?;
[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: variant is never constructed: `Other`
[INFO] [stdout]   --> src/errors.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Other,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/models/ingredient.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(name: &str, weight: f64, kind: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_all`
[INFO] [stdout]   --> src/models/ingredient.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |     pub fn get_all(db: &Connection) -> Result<Vec<Ingredient>> {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_for_id`
[INFO] [stdout]   --> src/models/ingredient.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn get_for_id(db: &Connection, id: i32) -> Result<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_ingredient`
[INFO] [stdout]   --> src/models/ingredient_connection.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn from_ingredient(ingredient_id: i32, weight: f64) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/models/ingredient_connection.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(ingredient_id: i32, weight: f64, meal_id: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_ingredient`
[INFO] [stdout]   --> src/models/ingredient_connection.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn get_ingredient(&self, db: &Connection) -> Result<Ingredient> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/models/meal.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn new(name: &str, include: bool, meal_type: MealType) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_ingredient`
[INFO] [stdout]   --> src/models/meal.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn add_ingredient(&mut self, ingredient_id: i32, weight: f64) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_steps_section`
[INFO] [stdout]   --> src/models/meal.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub fn add_steps_section(&mut self, name: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add_step`
[INFO] [stdout]   --> src/models/meal.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn add_step(&mut self, section_name: &str, step: String) -> Result<()> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_section`
[INFO] [stdout]   --> src/models/meal.rs:78:12
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn get_section(&self, name: &str) -> Option<&StepsSection> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `from_name`
[INFO] [stdout]   --> src/models/steps_section.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn from_name(name: String) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/models/steps_section.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn new(name: String, meal_id: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_steps`
[INFO] [stdout]   --> src/models/steps_section.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn set_steps(&mut self, steps: Vec<Step>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_steps`
[INFO] [stdout]   --> src/models/steps_section.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub fn get_steps(&self) -> Vec<String> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 15s
[INFO] running `Command { std: "docker" "inspect" "9860df38c8fcc8d1823181bce6954ea87a7349d877f1e706284d1a52188a8885", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9860df38c8fcc8d1823181bce6954ea87a7349d877f1e706284d1a52188a8885", kill_on_drop: false }`
[INFO] [stdout] 9860df38c8fcc8d1823181bce6954ea87a7349d877f1e706284d1a52188a8885
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 42aee92d94e58c9c8c4046b71ef4cdb136babb51def8c8c2a83a60d7ab19ee79
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "42aee92d94e58c9c8c4046b71ef4cdb136babb51def8c8c2a83a60d7ab19ee79", kill_on_drop: false }`
[INFO] [stderr]    Compiling dieta v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `section`
[INFO] [stdout]   --> src/models/meal.rs:79:36
[INFO] [stdout]    |
[INFO] [stdout] 79 |         self.sections.iter().find(|section| true)
[INFO] [stdout]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/models/meal.rs:78:31
[INFO] [stdout]    |
[INFO] [stdout] 78 |     pub fn get_section(&self, name: &str) -> Option<&StepsSection> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/db.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     let mut db = Connection::open(Path::new("./data.db"))?;
[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: variant is never constructed: `Other`
[INFO] [stdout]   --> src/errors.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     Other,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/models/ingredient_connection.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn new(ingredient_id: i32, weight: f64, meal_id: i32) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set_steps`
[INFO] [stdout]   --> src/models/steps_section.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn set_steps(&mut self, steps: Vec<Step>) {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 5.87s
[INFO] running `Command { std: "docker" "inspect" "42aee92d94e58c9c8c4046b71ef4cdb136babb51def8c8c2a83a60d7ab19ee79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42aee92d94e58c9c8c4046b71ef4cdb136babb51def8c8c2a83a60d7ab19ee79", kill_on_drop: false }`
[INFO] [stdout] 42aee92d94e58c9c8c4046b71ef4cdb136babb51def8c8c2a83a60d7ab19ee79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1ccad1370794f6ff4a74df5e4a359ad13491b475ad944440634f7f8ca4297eb8
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1ccad1370794f6ff4a74df5e4a359ad13491b475ad944440634f7f8ca4297eb8", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `section`
[INFO] [stderr]   --> src/models/meal.rs:79:36
[INFO] [stderr]    |
[INFO] [stderr] 79 |         self.sections.iter().find(|section| true)
[INFO] [stderr]    |                                    ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_section`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]   --> src/models/meal.rs:78:31
[INFO] [stderr]    |
[INFO] [stderr] 78 |     pub fn get_section(&self, name: &str) -> Option<&StepsSection> {
[INFO] [stderr]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/db.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 |     let mut db = Connection::open(Path::new("./data.db"))?;
[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: variant is never constructed: `Other`
[INFO] [stderr]   --> src/errors.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     Other,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr]   --> src/models/ingredient_connection.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 |     pub fn new(ingredient_id: i32, weight: f64, meal_id: i32) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `set_steps`
[INFO] [stderr]   --> src/models/steps_section.rs:34:12
[INFO] [stderr]    |
[INFO] [stderr] 34 |     pub fn set_steps(&mut self, steps: Vec<Step>) {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: 6 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/dieta-c5fac42cfa482a79
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test models::meal_type::tests::should_format_meal_type ... ok
[INFO] [stdout] test models::meal::test::test_meal_creation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1ccad1370794f6ff4a74df5e4a359ad13491b475ad944440634f7f8ca4297eb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1ccad1370794f6ff4a74df5e4a359ad13491b475ad944440634f7f8ca4297eb8", kill_on_drop: false }`
[INFO] [stdout] 1ccad1370794f6ff4a74df5e4a359ad13491b475ad944440634f7f8ca4297eb8
