[INFO] cloning repository https://github.com/racgoo/Rust-Clean-Code
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/racgoo/Rust-Clean-Code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fracgoo%2FRust-Clean-Code", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fracgoo%2FRust-Clean-Code'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 052b1a550775a4a3a92d7eff0d351de37b1f0994
[INFO] checking racgoo/Rust-Clean-Code against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fracgoo%2FRust-Clean-Code" "/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/racgoo/Rust-Clean-Code
[INFO] finished tweaking git repo https://github.com/racgoo/Rust-Clean-Code
[INFO] tweaked toml for git repo https://github.com/racgoo/Rust-Clean-Code written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/racgoo/Rust-Clean-Code 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/racgoo/Rust-Clean-Code 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
[ERROR] error running command: no output for 300 seconds
[INFO] checking racgoo/Rust-Clean-Code against try#8a2f6fe57adadb246778b8d41925d3dc46d468cb for pr-158320
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fracgoo%2FRust-Clean-Code" "/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/racgoo/Rust-Clean-Code
[INFO] finished tweaking git repo https://github.com/racgoo/Rust-Clean-Code
[INFO] tweaked toml for git repo https://github.com/racgoo/Rust-Clean-Code written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/racgoo/Rust-Clean-Code 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/racgoo/Rust-Clean-Code 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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df
[INFO] running `Command { std: "docker" "start" "1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df", 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" "1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df", 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" "1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df" "/opt/rustwide/cargo-home/bin/cargo" "+8a2f6fe57adadb246778b8d41925d3dc46d468cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking fivelinesrust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::examples`
[INFO] [stdout]  --> src/examples/composition.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::examples;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/examples/method_extract.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |         if (apple.fresh) {
[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] 9 -         if (apple.fresh) {
[INFO] [stdout] 9 +         if apple.fresh  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::examples`
[INFO] [stdout]  --> src/examples/composition.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::examples;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/examples/method_extract.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 |     if (apple.fresh) {
[INFO] [stdout]    |        ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -     if (apple.fresh) {
[INFO] [stdout] 33 +     if apple.fresh  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]  --> src/examples/method_extract.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 |         if (apple.fresh) {
[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] 9 -         if (apple.fresh) {
[INFO] [stdout] 9 +         if apple.fresh  {
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/examples/method_extract.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 |     if (apple.fresh) {
[INFO] [stdout]    |        ^           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 33 -     if (apple.fresh) {
[INFO] [stdout] 33 +     if apple.fresh  {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Apple` is never constructed
[INFO] [stdout]  --> src/examples/method_extract.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Apple  {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raw_get_average_price_of_apples` is never used
[INFO] [stdout]  --> src/examples/method_extract.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn raw_get_average_price_of_apples(apples: Vec<Apple>) -> f64 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_average_price_of_apples` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn get_average_price_of_apples(apples: Vec<Apple>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Apple` is never constructed
[INFO] [stdout]  --> src/examples/method_extract.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Apple  {
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_price_of_apples` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn get_price_of_apples(apples: &Vec<Apple>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_price_of_apple` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn get_price_of_apple(apple: &Apple) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `raw_get_average_price_of_apples` is never used
[INFO] [stdout]  --> src/examples/method_extract.rs:6:4
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn raw_get_average_price_of_apples(apples: Vec<Apple>) -> f64 {
[INFO] [stdout]   |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_length_of_apples` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn get_length_of_apples(apples: &Vec<Apple>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_average_price_of_apples` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:18:4
[INFO] [stdout]    |
[INFO] [stdout] 18 | fn get_average_price_of_apples(apples: Vec<Apple>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait Animal {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_price_of_apples` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn get_price_of_apples(apples: &Vec<Apple>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_price_of_apple` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:32:4
[INFO] [stdout]    |
[INFO] [stdout] 32 | fn get_price_of_apple(apple: &Apple) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Dog {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cat` is never constructed
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct Cat {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_length_of_apples` is never used
[INFO] [stdout]   --> src/examples/method_extract.rs:40:4
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn get_length_of_apples(apples: &Vec<Apple>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Duck` is never constructed
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Duck {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Animal` is never used
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | trait Animal {
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Dog` is never constructed
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | struct Dog {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_sound` is never used
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn make_sound(animal: impl Animal)  {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cat` is never constructed
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct Cat {}
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Duck` is never constructed
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct Duck {}
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_sound` is never used
[INFO] [stdout]   --> src/examples/transfer_enum_to_class.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn make_sound(animal: impl Animal)  {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] running `Command { std: "docker" "inspect" "1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df", kill_on_drop: false }`
[INFO] [stdout] 1b1110105f8417a406ec8d670427511172a56ed52a6c62eb78350f93a13285df
