[INFO] cloning repository https://github.com/01mk027/stellar_course_1st_homework
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/01mk027/stellar_course_1st_homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F01mk027%2Fstellar_course_1st_homework", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F01mk027%2Fstellar_course_1st_homework'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 96c100e4a92fb9ebb8c10cb5d3fbd555b62e109d
[INFO] checking 01mk027/stellar_course_1st_homework against try#438eb4c1a1c3841523d7f672601e8adbe04cff28 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F01mk027%2Fstellar_course_1st_homework" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/01mk027/stellar_course_1st_homework
[INFO] finished tweaking git repo https://github.com/01mk027/stellar_course_1st_homework
[INFO] tweaked toml for git repo https://github.com/01mk027/stellar_course_1st_homework written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/01mk027/stellar_course_1st_homework on toolchain 438eb4c1a1c3841523d7f672601e8adbe04cff28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/01mk027/stellar_course_1st_homework 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" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cd481248bda81927200359dd3d4c1e78c05d1c0b9ed6423950c8599ef925c827
[INFO] running `Command { std: "docker" "start" "-a" "cd481248bda81927200359dd3d4c1e78c05d1c0b9ed6423950c8599ef925c827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cd481248bda81927200359dd3d4c1e78c05d1c0b9ed6423950c8599ef925c827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cd481248bda81927200359dd3d4c1e78c05d1c0b9ed6423950c8599ef925c827", kill_on_drop: false }`
[INFO] [stdout] cd481248bda81927200359dd3d4c1e78c05d1c0b9ed6423950c8599ef925c827
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+438eb4c1a1c3841523d7f672601e8adbe04cff28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0220395ee3ac974ed85893e75e30743faa8dd3bf9937d7a67ca811c084b5e8b
[INFO] running `Command { std: "docker" "start" "-a" "c0220395ee3ac974ed85893e75e30743faa8dd3bf9937d7a67ca811c084b5e8b", kill_on_drop: false }`
[INFO] [stderr]     Checking stellar_course_1st_homework v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 |     if(customer1.buy_product(&mut product, 3)){
[INFO] [stdout]    |       ^                                      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -     if(customer1.buy_product(&mut product, 3)){
[INFO] [stdout] 46 +     if customer1.buy_product(&mut product, 3) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:46:7
[INFO] [stdout]    |
[INFO] [stdout] 46 |     if(customer1.buy_product(&mut product, 3)){
[INFO] [stdout]    |       ^                                      ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -     if(customer1.buy_product(&mut product, 3)){
[INFO] [stdout] 46 +     if customer1.buy_product(&mut product, 3) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if(customer2.buy_product(&mut product, 3)){
[INFO] [stdout]    |       ^                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -     if(customer2.buy_product(&mut product, 3)){
[INFO] [stdout] 54 +     if customer2.buy_product(&mut product, 3) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |     if(customer2.buy_product(&mut product, 3)){
[INFO] [stdout]    |       ^                                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 54 -     if(customer2.buy_product(&mut product, 3)){
[INFO] [stdout] 54 +     if customer2.buy_product(&mut product, 3) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `surname` are never read
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Customer<'a>{
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 2 |     name: &'a str,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     surname: &'a str,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/main.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Product<'a>{
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] 8 |    name: &'a str,
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `surname` are never read
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Customer<'a>{
[INFO] [stdout]   |        -------- fields in this struct
[INFO] [stdout] 2 |     name: &'a str,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 3 |     surname: &'a str,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]  --> src/main.rs:8:4
[INFO] [stdout]   |
[INFO] [stdout] 7 | struct Product<'a>{
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] 8 |    name: &'a str,
[INFO] [stdout]   |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "c0220395ee3ac974ed85893e75e30743faa8dd3bf9937d7a67ca811c084b5e8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0220395ee3ac974ed85893e75e30743faa8dd3bf9937d7a67ca811c084b5e8b", kill_on_drop: false }`
[INFO] [stdout] c0220395ee3ac974ed85893e75e30743faa8dd3bf9937d7a67ca811c084b5e8b
