[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 master#6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd for pr-153721
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[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-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/biswajit150803/rust-basics on toolchain 6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c
[INFO] running `Command { std: "docker" "start" "07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c", 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" "07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c", 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" "07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c" "/opt/rustwide/cargo-home/bin/cargo" "+6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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<f32>` is not implemented for `i32`
[INFO] [stdout] help: the following other types implement trait `Mul<Rhs>`
[INFO] [stdout]  --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/ops/arith.rs:344:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul`
[INFO] [stdout]  ::: /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/ops/arith.rs:359:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul<i32>`
[INFO] [stdout]  ::: /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul<&i32>`
[INFO] [stdout]  ::: /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul`
[INFO] [stdout]   = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[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] [stderr] error: could not compile `rust-basics` (bin "rust-basics") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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<f32>` is not implemented for `i32`
[INFO] [stdout] help: the following other types implement trait `Mul<Rhs>`
[INFO] [stdout]  --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/ops/arith.rs:344:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul`
[INFO] [stdout]  ::: /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/ops/arith.rs:359:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul<i32>`
[INFO] [stdout]  ::: /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul<&i32>`
[INFO] [stdout]  ::: /rustc/6eda7419e71fdbc1185ed5be7e6bff1a474ab5cd/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul`
[INFO] [stdout]   = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[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] [stderr] error: could not compile `rust-basics` (bin "rust-basics" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c", kill_on_drop: false }`
[INFO] [stdout] 07e38c7d36b62596fff87d8873b204f4302dddf153432ffd9011ac522aa2c70c
