[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] checking sielakos/dieta against try#961316100510fe780d266d35bcf68702fbb049e5 for pr-78935-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsielakos%2Fdieta" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sielakos/dieta on toolchain 961316100510fe780d266d35bcf68702fbb049e5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "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-5/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" "+961316100510fe780d266d35bcf68702fbb049e5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afdc47e660a06f698faf0b1311474d8b45234ebba987fe639ff27e971bf8324b [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" "afdc47e660a06f698faf0b1311474d8b45234ebba987fe639ff27e971bf8324b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afdc47e660a06f698faf0b1311474d8b45234ebba987fe639ff27e971bf8324b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afdc47e660a06f698faf0b1311474d8b45234ebba987fe639ff27e971bf8324b", kill_on_drop: false }` [INFO] [stdout] afdc47e660a06f698faf0b1311474d8b45234ebba987fe639ff27e971bf8324b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+961316100510fe780d266d35bcf68702fbb049e5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7d8915709f76a232468a6812615dde021c2f410d6d01e035c1fc5ee3afae852 [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" "c7d8915709f76a232468a6812615dde021c2f410d6d01e035c1fc5ee3afae852", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.15 [INFO] [stderr] Checking miniz_oxide v0.4.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking encoding_rs v0.8.24 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking socket2 v0.3.12 [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 cookie v0.14.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking rusqlite v0.21.0 [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] Checking time-macros v0.1.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.57 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.0.1 [INFO] [stderr] Checking 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: 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] [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 dev [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "c7d8915709f76a232468a6812615dde021c2f410d6d01e035c1fc5ee3afae852", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d8915709f76a232468a6812615dde021c2f410d6d01e035c1fc5ee3afae852", kill_on_drop: false }` [INFO] [stdout] c7d8915709f76a232468a6812615dde021c2f410d6d01e035c1fc5ee3afae852