[INFO] updating cached repository https://github.com/masonk/libbsearch [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 451a76f7f0b7c0c0c978d346934d64f2966e2908 [INFO] checking masonk/libbsearch against try#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonk%2Flibbsearch" "work/builds/worker-7/source"` [INFO] [stderr] Cloning into 'work/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masonk/libbsearch on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/masonk/libbsearch [INFO] finished tweaking git repo https://github.com/masonk/libbsearch [INFO] tweaked toml for git repo https://github.com/masonk/libbsearch written to work/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/masonk/libbsearch already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 424113e1a45606d9ae96dd7084f64cab789b46b264b9b62865afe2695040b4f6 [INFO] running `"docker" "start" "-a" "424113e1a45606d9ae96dd7084f64cab789b46b264b9b62865afe2695040b4f6"` [INFO] [stderr] Checking bsearch v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0601]: `main` function not found in crate `bsearch` [INFO] [stderr] | [INFO] [stderr] = note: consider adding a `main` function to `src/main.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [INFO] [stderr] error: Could not compile `bsearch`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:172:52 [INFO] [stderr] | [INFO] [stderr] 172 | Some(idx) => { assert!((0..3).contains(idx), "0 was found in 0..3"); } [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found usize [INFO] [stderr] | help: consider borrowing here: `&idx` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&_` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:187:52 [INFO] [stderr] | [INFO] [stderr] 187 | Some(idx) => { assert!((3..6).contains(idx)); }, [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found usize [INFO] [stderr] | help: consider borrowing here: `&idx` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&_` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:196:53 [INFO] [stderr] | [INFO] [stderr] 196 | Some(idx) => { assert!((2..5).contains(idx)); } [INFO] [stderr] | ^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found usize [INFO] [stderr] | help: consider borrowing here: `&idx` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&_` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:231:69 [INFO] [stderr] | [INFO] [stderr] 231 | Some(actual) => { assert!(expected.contains(actual), "Return idx should be in {:?}, but got {}.", expected, actual); } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &usize, found usize [INFO] [stderr] | help: consider borrowing here: `&actual` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&usize` [INFO] [stderr] found type `usize` [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `bsearch`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "424113e1a45606d9ae96dd7084f64cab789b46b264b9b62865afe2695040b4f6"` [INFO] running `"docker" "rm" "-f" "424113e1a45606d9ae96dd7084f64cab789b46b264b9b62865afe2695040b4f6"` [INFO] [stdout] 424113e1a45606d9ae96dd7084f64cab789b46b264b9b62865afe2695040b4f6