[INFO] cloning repository https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKimMinwoo1214%2FUsing_Construct_Calculate_Area", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKimMinwoo1214%2FUsing_Construct_Calculate_Area'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8e579ff901c785fd81decbe35cf49912bd9cd63 [INFO] checking KimMinwoo1214/Using_Construct_Calculate_Area against master#49b3924bd4a34d3cf9c37b74120fba78d9712ab8 for pr-118247 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKimMinwoo1214%2FUsing_Construct_Calculate_Area" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area on toolchain 49b3924bd4a34d3cf9c37b74120fba78d9712ab8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49b3924bd4a34d3cf9c37b74120fba78d9712ab8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area [INFO] finished tweaking git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area [INFO] tweaked toml for git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area 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" "+49b3924bd4a34d3cf9c37b74120fba78d9712ab8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking KimMinwoo1214/Using_Construct_Calculate_Area against try#ab2dc84cfc2c30bb279a7cd2bfef172c30260142 for pr-118247 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKimMinwoo1214%2FUsing_Construct_Calculate_Area" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area on toolchain ab2dc84cfc2c30bb279a7cd2bfef172c30260142 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area [INFO] finished tweaking git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area [INFO] tweaked toml for git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KimMinwoo1214/Using_Construct_Calculate_Area 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" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da4b56cd33ceef56265409489cc076ae57e70ac49efa4a36228a9b7451027d74 [INFO] running `Command { std: "docker" "start" "-a" "da4b56cd33ceef56265409489cc076ae57e70ac49efa4a36228a9b7451027d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da4b56cd33ceef56265409489cc076ae57e70ac49efa4a36228a9b7451027d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da4b56cd33ceef56265409489cc076ae57e70ac49efa4a36228a9b7451027d74", kill_on_drop: false }` [INFO] [stdout] da4b56cd33ceef56265409489cc076ae57e70ac49efa4a36228a9b7451027d74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ab2dc84cfc2c30bb279a7cd2bfef172c30260142" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5af6eb1fa7038b9c460ec3e1ba3859e327ca6b61e9b2a8f183611103e6e42e8 [INFO] running `Command { std: "docker" "start" "-a" "c5af6eb1fa7038b9c460ec3e1ba3859e327ca6b61e9b2a8f183611103e6e42e8", kill_on_drop: false }` [INFO] [stderr] Checking calculate_area v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found keyword `if` [INFO] [stdout] --> src/main.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | let mut shape = input("1.Rectangle, 2.Triangle, 3.Circle") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 112 | [INFO] [stdout] 113 | if shape == 1 { //the shape is rectangle [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `if` [INFO] [stdout] --> src/main.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | let mut shape = input("1.Rectangle, 2.Triangle, 3.Circle") [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 112 | [INFO] [stdout] 113 | if shape == 1 { //the shape is rectangle [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{io}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | if shape == 1 { //the shape is rectangle [INFO] [stdout] | ----- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `1.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | if shape == 1 { //the shape is rectangle [INFO] [stdout] | ----- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `1.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | width: w1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | width: w1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | height: h1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | height: h1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | else if shape == 2 { //the shape is triangle [INFO] [stdout] | ----- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `2.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:125:22 [INFO] [stdout] | [INFO] [stdout] 125 | else if shape == 2 { //the shape is triangle [INFO] [stdout] | ----- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `2.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | width: w1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:130:20 [INFO] [stdout] | [INFO] [stdout] 130 | width: w1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | height: h1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 131 | height: h1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | else if shape == 3 { //the shape is circle [INFO] [stdout] | ----- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `3.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | radius: r1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:138:22 [INFO] [stdout] | [INFO] [stdout] 138 | else if shape == 3 { //the shape is circle [INFO] [stdout] | ----- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `3.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | radius: r1, [INFO] [stdout] | ^^ expected `u32`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `calculate_area` (bin "calculate_area" test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `calculate_area` (bin "calculate_area") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c5af6eb1fa7038b9c460ec3e1ba3859e327ca6b61e9b2a8f183611103e6e42e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5af6eb1fa7038b9c460ec3e1ba3859e327ca6b61e9b2a8f183611103e6e42e8", kill_on_drop: false }` [INFO] [stdout] c5af6eb1fa7038b9c460ec3e1ba3859e327ca6b61e9b2a8f183611103e6e42e8