[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaspajjr%2Frust_learning" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaspajjr/rust_learning on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6ca062971f49531850452bce8df8b1175d92dc77c7660c6c2dcad1e0534e8f8c [INFO] running `Command { std: "docker" "start" "-a" "6ca062971f49531850452bce8df8b1175d92dc77c7660c6c2dcad1e0534e8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ca062971f49531850452bce8df8b1175d92dc77c7660c6c2dcad1e0534e8f8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca062971f49531850452bce8df8b1175d92dc77c7660c6c2dcad1e0534e8f8c", kill_on_drop: false }` [INFO] [stdout] 6ca062971f49531850452bce8df8b1175d92dc77c7660c6c2dcad1e0534e8f8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9948eea5d09fec4b97163426dcc9b1922647851eb246cf9d64e2ffce16690a1 [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" "e9948eea5d09fec4b97163426dcc9b1922647851eb246cf9d64e2ffce16690a1", 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[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: 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: could not compile `sieve` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e9948eea5d09fec4b97163426dcc9b1922647851eb246cf9d64e2ffce16690a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9948eea5d09fec4b97163426dcc9b1922647851eb246cf9d64e2ffce16690a1", kill_on_drop: false }` [INFO] [stdout] e9948eea5d09fec4b97163426dcc9b1922647851eb246cf9d64e2ffce16690a1