[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [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 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc1e1d8cb4db20c69f2f1b508ae174587ef11335ba81026820a5ead9cf62c34c [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" "cc1e1d8cb4db20c69f2f1b508ae174587ef11335ba81026820a5ead9cf62c34c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc1e1d8cb4db20c69f2f1b508ae174587ef11335ba81026820a5ead9cf62c34c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc1e1d8cb4db20c69f2f1b508ae174587ef11335ba81026820a5ead9cf62c34c", kill_on_drop: false }` [INFO] [stdout] cc1e1d8cb4db20c69f2f1b508ae174587ef11335ba81026820a5ead9cf62c34c [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=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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bd35114adfc3c5a8dad993895227437c97645fadfee9c3d462d5d2508494b4f [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" "2bd35114adfc3c5a8dad993895227437c97645fadfee9c3d462d5d2508494b4f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling cc v1.0.58 [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 gimli v0.22.0 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling encoding_rs v0.8.24 [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 parking_lot_core v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [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 regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.50 [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 brotli2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [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 enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling rusqlite v0.21.0 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cookie v0.14.2 [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 serde_json v1.0.57 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [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> { [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 { [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 { [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) { [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 { [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 50s [INFO] running `Command { std: "docker" "inspect" "2bd35114adfc3c5a8dad993895227437c97645fadfee9c3d462d5d2508494b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd35114adfc3c5a8dad993895227437c97645fadfee9c3d462d5d2508494b4f", kill_on_drop: false }` [INFO] [stdout] 2bd35114adfc3c5a8dad993895227437c97645fadfee9c3d462d5d2508494b4f [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=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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bf689d1fbf0cb55bdb45390902e26acea35120b747c45f3dec93b42b6548c68 [INFO] running `Command { std: "docker" "start" "-a" "0bf689d1fbf0cb55bdb45390902e26acea35120b747c45f3dec93b42b6548c68", 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) { [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 6.19s [INFO] running `Command { std: "docker" "inspect" "0bf689d1fbf0cb55bdb45390902e26acea35120b747c45f3dec93b42b6548c68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bf689d1fbf0cb55bdb45390902e26acea35120b747c45f3dec93b42b6548c68", kill_on_drop: false }` [INFO] [stdout] 0bf689d1fbf0cb55bdb45390902e26acea35120b747c45f3dec93b42b6548c68 [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=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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a41c98c5d0ad8e90e9d697a5648055c5390068426b0794c551fe2bdcfda0446 [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" "8a41c98c5d0ad8e90e9d697a5648055c5390068426b0794c551fe2bdcfda0446", 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) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/dieta-a4c6af22d7ed9156 [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" "8a41c98c5d0ad8e90e9d697a5648055c5390068426b0794c551fe2bdcfda0446", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a41c98c5d0ad8e90e9d697a5648055c5390068426b0794c551fe2bdcfda0446", kill_on_drop: false }` [INFO] [stdout] 8a41c98c5d0ad8e90e9d697a5648055c5390068426b0794c551fe2bdcfda0446