[INFO] cloning repository https://github.com/iDheer/yada
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iDheer/yada" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiDheer%2Fyada", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiDheer%2Fyada'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 67f18d0d8f845211a8916d0c746d66f3cc22b0f6
[INFO] checking iDheer/yada against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FiDheer%2Fyada" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/iDheer/yada
[INFO] finished tweaking git repo https://github.com/iDheer/yada
[INFO] tweaked toml for git repo https://github.com/iDheer/yada written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/iDheer/yada on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/iDheer/yada 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded chrono v0.4.40
[INFO] [stderr]   Downloaded iana-time-zone v0.1.62
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bfa0665abdd4ee2dda48169d40089a22cdf860832907aaa67014c650d3719dcb
[INFO] running `Command { std: "docker" "start" "-a" "bfa0665abdd4ee2dda48169d40089a22cdf860832907aaa67014c650d3719dcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bfa0665abdd4ee2dda48169d40089a22cdf860832907aaa67014c650d3719dcb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfa0665abdd4ee2dda48169d40089a22cdf860832907aaa67014c650d3719dcb", kill_on_drop: false }`
[INFO] [stdout] bfa0665abdd4ee2dda48169d40089a22cdf860832907aaa67014c650d3719dcb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 611e8c7190a0b99f62f880564f6e058577ccc8f51c7403dedbf9ddeea8e22b0c
[INFO] running `Command { std: "docker" "start" "-a" "611e8c7190a0b99f62f880564f6e058577ccc8f51c7403dedbf9ddeea8e22b0c", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking iana-time-zone v0.1.62
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking yada v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `food_source_factory` is never read
[INFO] [stdout]   --> src/main.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct App {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     food_source_factory: FoodSourceFactory,       // Creates food source implementations (extensible)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches_keywords` is never used
[INFO] [stdout]    --> src/models/food.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl Food {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn matches_keywords(&self, search_keywords: &HashSet<String>, match_all: bool) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `date` is never read
[INFO] [stdout]   --> src/models/log.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DailyLog {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 57 |     /// The date for which this log tracks food consumption
[INFO] [stdout] 58 |     pub date: NaiveDate,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DailyLog` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CommandType` is never used
[INFO] [stdout]   --> src/models/command.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum CommandType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_type` is never used
[INFO] [stdout]    --> src/models/command.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  80 | pub trait Command {
[INFO] [stdout]     |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn get_type(&self) -> CommandType;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_undo_stack_size` is never used
[INFO] [stdout]    --> src/models/command_manager.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl CommandManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn get_undo_stack_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_food` and `search_foods` are never used
[INFO] [stdout]    --> src/repositories/food_repository.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl FoodRepository {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn update_food(&mut self, food: Food) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn search_foods(&self, keywords: &HashSet<String>, match_all: bool) -> Vec<&Food> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateFoodCommand` is never constructed
[INFO] [stdout]    --> src/commands/food_commands.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub struct UpdateFoodCommand {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/commands/food_commands.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 234 | impl UpdateFoodCommand {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn new(food_repo: &mut FoodRepository, new_food: Food) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_food_by_id`, `search_foods`, and `description` are never used
[INFO] [stdout]   --> src/factories/food_source_factory.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait FoodSource {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout]  7 |     fn get_food_by_id(&self, id: &str) -> Option<Food>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     fn search_foods(&self, query: &str) -> Vec<Food>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]  9 |     fn name(&self) -> &'static str;
[INFO] [stdout] 10 |     fn description(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_source` and `get_all_sources` are never used
[INFO] [stdout]   --> src/factories/food_source_factory.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl FoodSourceFactory {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn get_source(&self, name: &str) -> Option<&Box<dyn FoodSource>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn get_all_sources(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `food_source_factory` is never read
[INFO] [stdout]   --> src/main.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | struct App {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 73 |     food_source_factory: FoodSourceFactory,       // Creates food source implementations (extensible)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `matches_keywords` is never used
[INFO] [stdout]    --> src/models/food.rs:156:12
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl Food {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 156 |     pub fn matches_keywords(&self, search_keywords: &HashSet<String>, match_all: bool) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `date` is never read
[INFO] [stdout]   --> src/models/log.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DailyLog {
[INFO] [stdout]    |            -------- field in this struct
[INFO] [stdout] 57 |     /// The date for which this log tracks food consumption
[INFO] [stdout] 58 |     pub date: NaiveDate,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DailyLog` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CommandType` is never used
[INFO] [stdout]   --> src/models/command.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub enum CommandType {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_type` is never used
[INFO] [stdout]    --> src/models/command.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout]  80 | pub trait Command {
[INFO] [stdout]     |           ------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 107 |     fn get_type(&self) -> CommandType;
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_undo_stack_size` is never used
[INFO] [stdout]    --> src/models/command_manager.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout]  44 | impl CommandManager {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 118 |     pub fn get_undo_stack_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `update_food` and `search_foods` are never used
[INFO] [stdout]    --> src/repositories/food_repository.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout]  71 | impl FoodRepository {
[INFO] [stdout]     | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn update_food(&mut self, food: Food) -> Result<(), String> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 219 |     pub fn search_foods(&self, keywords: &HashSet<String>, match_all: bool) -> Vec<&Food> {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UpdateFoodCommand` is never constructed
[INFO] [stdout]    --> src/commands/food_commands.rs:217:12
[INFO] [stdout]     |
[INFO] [stdout] 217 | pub struct UpdateFoodCommand {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/commands/food_commands.rs:252:12
[INFO] [stdout]     |
[INFO] [stdout] 234 | impl UpdateFoodCommand {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn new(food_repo: &mut FoodRepository, new_food: Food) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_food_by_id`, `search_foods`, and `description` are never used
[INFO] [stdout]   --> src/factories/food_source_factory.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub trait FoodSource {
[INFO] [stdout]    |           ---------- methods in this trait
[INFO] [stdout]  7 |     fn get_food_by_id(&self, id: &str) -> Option<Food>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     fn search_foods(&self, query: &str) -> Vec<Food>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]  9 |     fn name(&self) -> &'static str;
[INFO] [stdout] 10 |     fn description(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_source` and `get_all_sources` are never used
[INFO] [stdout]   --> src/factories/food_source_factory.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl FoodSourceFactory {
[INFO] [stdout]    | ---------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 33 |     pub fn get_source(&self, name: &str) -> Option<&Box<dyn FoodSource>> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn get_all_sources(&self) -> Vec<&str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.68s
[INFO] running `Command { std: "docker" "inspect" "611e8c7190a0b99f62f880564f6e058577ccc8f51c7403dedbf9ddeea8e22b0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "611e8c7190a0b99f62f880564f6e058577ccc8f51c7403dedbf9ddeea8e22b0c", kill_on_drop: false }`
[INFO] [stdout] 611e8c7190a0b99f62f880564f6e058577ccc8f51c7403dedbf9ddeea8e22b0c
