[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 try#99a443d6903f71d521237d8acb5a3016b534d17b for pr-83354 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaspajjr%2Frust_learning" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaspajjr/rust_learning on toolchain 99a443d6903f71d521237d8acb5a3016b534d17b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "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-9/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" "+99a443d6903f71d521237d8acb5a3016b534d17b" "fetch" "--locked" "--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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfc33628ca2198b1da8953e2ee17b3913eb8969250102a44e24e78dd65348f34 [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" "cfc33628ca2198b1da8953e2ee17b3913eb8969250102a44e24e78dd65348f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfc33628ca2198b1da8953e2ee17b3913eb8969250102a44e24e78dd65348f34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfc33628ca2198b1da8953e2ee17b3913eb8969250102a44e24e78dd65348f34", kill_on_drop: false }` [INFO] [stdout] cfc33628ca2198b1da8953e2ee17b3913eb8969250102a44e24e78dd65348f34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+99a443d6903f71d521237d8acb5a3016b534d17b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 919f74bd82802191c82d891362d353b9cd2bda715c5a14a46752a5be969d96aa [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" "919f74bd82802191c82d891362d353b9cd2bda715c5a14a46752a5be969d96aa", 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[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[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] [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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "919f74bd82802191c82d891362d353b9cd2bda715c5a14a46752a5be969d96aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "919f74bd82802191c82d891362d353b9cd2bda715c5a14a46752a5be969d96aa", kill_on_drop: false }` [INFO] [stdout] 919f74bd82802191c82d891362d353b9cd2bda715c5a14a46752a5be969d96aa