[INFO] cloning repository https://github.com/biswajit150803/rust-basics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/biswajit150803/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bec5b65ebb5e0f8f41dd23520d7129358149f67 [INFO] checking biswajit150803/rust-basics against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/biswajit150803/rust-basics on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/biswajit150803/rust-basics [INFO] finished tweaking git repo https://github.com/biswajit150803/rust-basics [INFO] tweaked toml for git repo https://github.com/biswajit150803/rust-basics written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/biswajit150803/rust-basics 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "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 biswajit150803/rust-basics against try#5e7498e6740d105521420ac0ab146e2c7a21596d for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/biswajit150803/rust-basics on toolchain 5e7498e6740d105521420ac0ab146e2c7a21596d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/biswajit150803/rust-basics [INFO] finished tweaking git repo https://github.com/biswajit150803/rust-basics [INFO] tweaked toml for git repo https://github.com/biswajit150803/rust-basics written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/biswajit150803/rust-basics 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" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69f71869df747136561dbbda819a26d4ac73693431e05eded68a4df8a799e7df [INFO] running `Command { std: "docker" "start" "-a" "69f71869df747136561dbbda819a26d4ac73693431e05eded68a4df8a799e7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69f71869df747136561dbbda819a26d4ac73693431e05eded68a4df8a799e7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69f71869df747136561dbbda819a26d4ac73693431e05eded68a4df8a799e7df", kill_on_drop: false }` [INFO] [stdout] 69f71869df747136561dbbda819a26d4ac73693431e05eded68a4df8a799e7df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5e7498e6740d105521420ac0ab146e2c7a21596d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4e7ff18de16a78b4de1db57e8703b93358972dbf23b682cb1a65ffbafc79cc9 [INFO] running `Command { std: "docker" "start" "-a" "c4e7ff18de16a78b4de1db57e8703b93358972dbf23b682cb1a65ffbafc79cc9", kill_on_drop: false }` [INFO] [stderr] Checking rust-basics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: cannot multiply `i32` by `f32` [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | (mass*gravity) as f32 [INFO] [stdout] | ^ no implementation for `i32 * f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&i32` implements `Mul` [INFO] [stdout] `&i32` implements `Mul` [INFO] [stdout] `i32` implements `Mul<&i32>` [INFO] [stdout] `i32` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `i32` by `f32` [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | (mass*gravity) as f32 [INFO] [stdout] | ^ no implementation for `i32 * f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul` is not implemented for `i32` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&i32` implements `Mul` [INFO] [stdout] `&i32` implements `Mul` [INFO] [stdout] `i32` implements `Mul<&i32>` [INFO] [stdout] `i32` implements `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | println!("Hello, world! {}",cal(5.2)); [INFO] [stdout] | --- ^^^ expected `i32`, found floating-point number [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn cal(mass:i32)->f32{ [INFO] [stdout] | ^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | println!("Hello, world! {}",cal(5.2)); [INFO] [stdout] | --- ^^^ expected `i32`, found floating-point number [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn cal(mass:i32)->f32{ [INFO] [stdout] | ^^^ -------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-basics` (bin "rust-basics" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-basics` (bin "rust-basics") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "c4e7ff18de16a78b4de1db57e8703b93358972dbf23b682cb1a65ffbafc79cc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4e7ff18de16a78b4de1db57e8703b93358972dbf23b682cb1a65ffbafc79cc9", kill_on_drop: false }` [INFO] [stdout] c4e7ff18de16a78b4de1db57e8703b93358972dbf23b682cb1a65ffbafc79cc9