[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] 38c6a05c0153bce51e1f9f1e65187cbd094a5370 [INFO] checking sielakos/dieta against master#da897dfb6daa268a965d2d73620316ba56020a19 for pr-76219 [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 da897dfb6daa268a965d2d73620316ba56020a19 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "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" "+da897dfb6daa268a965d2d73620316ba56020a19" "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" "+da897dfb6daa268a965d2d73620316ba56020a19" "metadata" "--no-deps" "--format-version=1", 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] 158247a3ab3ea74ae97ad52a842965f049c8ec526368d0b9c4d8858015833813 [INFO] running `Command { std: "docker" "start" "-a" "158247a3ab3ea74ae97ad52a842965f049c8ec526368d0b9c4d8858015833813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "158247a3ab3ea74ae97ad52a842965f049c8ec526368d0b9c4d8858015833813", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "158247a3ab3ea74ae97ad52a842965f049c8ec526368d0b9c4d8858015833813", kill_on_drop: false }` [INFO] [stdout] 158247a3ab3ea74ae97ad52a842965f049c8ec526368d0b9c4d8858015833813 [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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+da897dfb6daa268a965d2d73620316ba56020a19" "check" "--frozen" "--all" "--all-targets" "--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] 5e13c635cf59db4edd9d0de66c9ff5acad0ae57e5eb420423e491a850512fa17 [INFO] running `Command { std: "docker" "start" "-a" "5e13c635cf59db4edd9d0de66c9ff5acad0ae57e5eb420423e491a850512fa17", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Checking dieta v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `section` [INFO] [stdout] --> src/models/meal.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | 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:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `section` [INFO] [stdout] --> src/models/meal.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | 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:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | name: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_weight` [INFO] [stdout] --> src/models/meal.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_weight(&self) -> f64 { [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: `get_name` [INFO] [stdout] --> src/models/virtual_section.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/ingredient.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(name: &str, weight: f64, kind: &str) -> Self { [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: `get_all` [INFO] [stdout] --> src/models/ingredient.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | 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:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_for_id(db: &Connection, id: i32) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_all_for_meal` [INFO] [stdout] --> src/models/ingredient_connection.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_all_for_meal(db: &Connection, meal_id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ingredient` [INFO] [stdout] --> src/models/ingredient_connection.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn get_ingredient(&self, db: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ingredient` [INFO] [stdout] --> src/models/meal.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn get_ingredient(&self, db: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ingredient` [INFO] [stdout] --> src/models/meal.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn get_ingredient(&self, db: &Connection) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_weight` [INFO] [stdout] --> src/models/meal.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_weight(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/meal.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | 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: `get_all` [INFO] [stdout] --> src/models/meal.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn get_all(db: &Connection) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_ingredient` [INFO] [stdout] --> src/models/meal.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | 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:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | 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:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | 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:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_section( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_steps` [INFO] [stdout] --> src/models/steps_section.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn get_steps(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_for_meal` [INFO] [stdout] --> src/models/steps_section.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_for_meal(db: &Connection, meal_id: i32) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/virtual_section.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_steps` [INFO] [stdout] --> src/models/virtual_section.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get_steps(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/models/virtual_section.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn get_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_steps` [INFO] [stdout] --> src/models/virtual_section.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn get_steps(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.56s [INFO] running `Command { std: "docker" "inspect" "5e13c635cf59db4edd9d0de66c9ff5acad0ae57e5eb420423e491a850512fa17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e13c635cf59db4edd9d0de66c9ff5acad0ae57e5eb420423e491a850512fa17", kill_on_drop: false }` [INFO] [stdout] 5e13c635cf59db4edd9d0de66c9ff5acad0ae57e5eb420423e491a850512fa17