[INFO] cloning repository https://github.com/sophiecollard/recipe-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sophiecollard/recipe-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiecollard%2Frecipe-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiecollard%2Frecipe-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 832e7c87a56af1e6fdcf780842003d226033650e
[INFO] checking sophiecollard/recipe-app against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsophiecollard%2Frecipe-app" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sophiecollard/recipe-app
[INFO] finished tweaking git repo https://github.com/sophiecollard/recipe-app
[INFO] tweaked toml for git repo https://github.com/sophiecollard/recipe-app written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sophiecollard/recipe-app on toolchain 8a2f6fe57adadb246778b8d41925d3dc46d468cb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sophiecollard/recipe-app 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" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0
[INFO] running `Command { std: "docker" "start" "4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking recipe_app v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut ingredients: Vec<Ingredient> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut recipes: Vec<Recipe> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ingredients`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut ingredients: Vec<Ingredient> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `recipes`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut recipes: Vec<Recipe> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut ingredients: Vec<Ingredient> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut recipes: Vec<Recipe> = Vec::new();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ingredients`
[INFO] [stdout]   --> src/main.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let mut ingredients: Vec<Ingredient> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ingredients`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `recipes`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut recipes: Vec<Recipe> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_recipes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]  --> src/ingredient.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Ingredient {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 2 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/ingredient.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Ingredient {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 7 |
[INFO] [stdout] 8 |     fn new(id: u32, name: &str) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `ingredients` are never read
[INFO] [stdout]  --> src/recipe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Recipe {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     ingredients: Vec<(Ingredient, Quantity)>,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/recipe.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Recipe {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     fn new(id: u32, name: &str, ingredients: Vec<(Ingredient, Quantity)>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Mass` and `Volume` are never constructed
[INFO] [stdout]  --> src/quantity.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Quantity {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 4 |     Mass(f64, units::MassUnit),
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Volume(f64, units::VolumeUnit),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Gram` and `Kilogram` are never constructed
[INFO] [stdout]  --> src/quantity/units.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum MassUnit {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 2 |     Gram,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     Kilogram,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] warning: variants `Millilitre` and `Litre` are never constructed
[INFO] [stdout]  --> src/quantity/units.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum VolumeUnit {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 7 |     Millilitre,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 8 |     Litre,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `name` are never read
[INFO] [stdout]  --> src/ingredient.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Ingredient {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 2 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/ingredient.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl Ingredient {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 7 |
[INFO] [stdout] 8 |     fn new(id: u32, name: &str) -> Self {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `name`, and `ingredients` are never read
[INFO] [stdout]  --> src/recipe.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Recipe {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 7 |     id: u32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 8 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 9 |     ingredients: Vec<(Ingredient, Quantity)>,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/recipe.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | impl Recipe {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     fn new(id: u32, name: &str, ingredients: Vec<(Ingredient, Quantity)>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Mass` and `Volume` are never constructed
[INFO] [stdout]  --> src/quantity.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub enum Quantity {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 4 |     Mass(f64, units::MassUnit),
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 5 |     Volume(f64, units::VolumeUnit),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Gram` and `Kilogram` are never constructed
[INFO] [stdout]  --> src/quantity/units.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub enum MassUnit {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 2 |     Gram,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     Kilogram,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Millilitre` and `Litre` are never constructed
[INFO] [stdout]  --> src/quantity/units.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub enum VolumeUnit {
[INFO] [stdout]   |          ---------- variants in this enum
[INFO] [stdout] 7 |     Millilitre,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 8 |     Litre,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0", kill_on_drop: false }`
[INFO] [stdout] 4cd0a50ac756d4e167e1f0acdfd96853d5e83fe2043d706032fcd579660691d0
