[INFO] cloning repository https://github.com/jaspajjr/rust_learning [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaspajjr/rust_learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaspajjr%2Frust_learning", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaspajjr%2Frust_learning'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd5d70acf58db1cba48b6b5158bc769188ac031c [INFO] checking jaspajjr/rust_learning against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaspajjr%2Frust_learning" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaspajjr/rust_learning on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jaspajjr/rust_learning [INFO] finished tweaking git repo https://github.com/jaspajjr/rust_learning [INFO] tweaked toml for git repo https://github.com/jaspajjr/rust_learning written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/jaspajjr/rust_learning already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4db4ce0c6b288f2bc3779dcef1208c14e2c1f45adee3efa3667280c1b9c44bfb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4db4ce0c6b288f2bc3779dcef1208c14e2c1f45adee3efa3667280c1b9c44bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4db4ce0c6b288f2bc3779dcef1208c14e2c1f45adee3efa3667280c1b9c44bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4db4ce0c6b288f2bc3779dcef1208c14e2c1f45adee3efa3667280c1b9c44bfb", kill_on_drop: false }` [INFO] [stdout] 4db4ce0c6b288f2bc3779dcef1208c14e2c1f45adee3efa3667280c1b9c44bfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 987f7fbd3988d331494b525d9170f267f5dcbaaf658c7b7d5d4efe228f586818 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "987f7fbd3988d331494b525d9170f267f5dcbaaf658c7b7d5d4efe228f586818", kill_on_drop: false }` [INFO] [stderr] Checking sieve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: can't compare `&bool` with `bool` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | if item == true { [INFO] [stdout] | ^^ no implementation for `&bool == bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&bool` with `bool` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | if item == true { [INFO] [stdout] | ^^ no implementation for `&bool == bool` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | for n in (i*i..num).step_by(i) { [INFO] [stdout] | ^^^ expected `usize`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | for n in (i*i..num).step_by(i) { [INFO] [stdout] | ^^^ expected `usize`, found `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sieve` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [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: build failed [INFO] running `Command { std: "docker" "inspect" "987f7fbd3988d331494b525d9170f267f5dcbaaf658c7b7d5d4efe228f586818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987f7fbd3988d331494b525d9170f267f5dcbaaf658c7b7d5d4efe228f586818", kill_on_drop: false }` [INFO] [stdout] 987f7fbd3988d331494b525d9170f267f5dcbaaf658c7b7d5d4efe228f586818