[INFO] cloning repository https://github.com/Shikugawa/sbm-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shikugawa/sbm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShikugawa%2Fsbm-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShikugawa%2Fsbm-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df5a8ee4811071e32913ffde9185c26909241ce4 [INFO] checking Shikugawa/sbm-rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShikugawa%2Fsbm-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shikugawa/sbm-rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shikugawa/sbm-rs [INFO] finished tweaking git repo https://github.com/Shikugawa/sbm-rs [INFO] tweaked toml for git repo https://github.com/Shikugawa/sbm-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Shikugawa/sbm-rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4b32792ebde894d663e4a77d9de9b570fc0904ae18504acdc8665b96783acd3 [INFO] running `Command { std: "docker" "start" "-a" "a4b32792ebde894d663e4a77d9de9b570fc0904ae18504acdc8665b96783acd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4b32792ebde894d663e4a77d9de9b570fc0904ae18504acdc8665b96783acd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4b32792ebde894d663e4a77d9de9b570fc0904ae18504acdc8665b96783acd3", kill_on_drop: false }` [INFO] [stdout] a4b32792ebde894d663e4a77d9de9b570fc0904ae18504acdc8665b96783acd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fa17681b59cad676fe0dcf9eef02b6bc88e0a485cc34fcdf098b7702118222f [INFO] running `Command { std: "docker" "start" "-a" "1fa17681b59cad676fe0dcf9eef02b6bc88e0a485cc34fcdf098b7702118222f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sbm-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::num` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::num; [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:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | if weights[i as usize][j as usize] != 0 [INFO] [stdout] | ------------------------------- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `0.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:24:55 [INFO] [stdout] | [INFO] [stdout] 24 | if weights[i as usize][j as usize] != 0 [INFO] [stdout] | ------------------------------- ^ [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | | help: use a float literal: `0.0` [INFO] [stdout] | expected because this is `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> src/main.rs:85:96 [INFO] [stdout] | [INFO] [stdout] 85 | p[i] += sub_time_step * (-(alpha_0 - control_alpha) * x[i] - alpha_1 * (x[i] * *3)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `{integer}` cannot be dereferenced [INFO] [stdout] --> src/main.rs:85:96 [INFO] [stdout] | [INFO] [stdout] 85 | p[i] += sub_time_step * (-(alpha_0 - control_alpha) * x[i] - alpha_1 * (x[i] * *3)); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sbm-rs` (bin "sbm-rs") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sbm-rs` (bin "sbm-rs" test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1fa17681b59cad676fe0dcf9eef02b6bc88e0a485cc34fcdf098b7702118222f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa17681b59cad676fe0dcf9eef02b6bc88e0a485cc34fcdf098b7702118222f", kill_on_drop: false }` [INFO] [stdout] 1fa17681b59cad676fe0dcf9eef02b6bc88e0a485cc34fcdf098b7702118222f