[INFO] updating cached repository jaspajjr/rust_learning [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jaspajjr/rust_learning [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jaspajjr/rust_learning" "work/ex/beta-1.38-1/sources/1.37.0/gh/jaspajjr/rust_learning"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/jaspajjr/rust_learning'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jaspajjr/rust_learning" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jaspajjr/rust_learning"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jaspajjr/rust_learning'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dd5d70acf58db1cba48b6b5158bc769188ac031c [INFO] sha for GitHub repo jaspajjr/rust_learning: dd5d70acf58db1cba48b6b5158bc769188ac031c [INFO] validating manifest of jaspajjr/rust_learning on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jaspajjr/rust_learning on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jaspajjr/rust_learning [INFO] finished frobbing jaspajjr/rust_learning [INFO] frobbed toml for jaspajjr/rust_learning written to work/ex/beta-1.38-1/sources/1.37.0/gh/jaspajjr/rust_learning/Cargo.toml [INFO] started frobbing jaspajjr/rust_learning [INFO] finished frobbing jaspajjr/rust_learning [INFO] frobbed toml for jaspajjr/rust_learning written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/jaspajjr/rust_learning/Cargo.toml [INFO] crate jaspajjr/rust_learning already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing jaspajjr/rust_learning against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/jaspajjr/rust_learning:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] c64e0079eebcb4abee99e8f6fa1ae147c6732fa9f9fb79cb238f923ab87f6e91 [INFO] running `"docker" "start" "-a" "c64e0079eebcb4abee99e8f6fa1ae147c6732fa9f9fb79cb238f923ab87f6e91"` [INFO] [stderr] Compiling sieve v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0277]: can't compare `&bool` with `bool` [INFO] [stderr] --> src/main.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | if item == true { [INFO] [stderr] | ^^ no implementation for `&bool == bool` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq` is not implemented for `&bool` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | for n in (i*i..num).step_by(i) { [INFO] [stderr] | ^^^ expected usize, found i32 [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `sieve`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "c64e0079eebcb4abee99e8f6fa1ae147c6732fa9f9fb79cb238f923ab87f6e91"` [INFO] running `"docker" "rm" "-f" "c64e0079eebcb4abee99e8f6fa1ae147c6732fa9f9fb79cb238f923ab87f6e91"` [INFO] [stdout] c64e0079eebcb4abee99e8f6fa1ae147c6732fa9f9fb79cb238f923ab87f6e91