[INFO] cloning repository https://github.com/masonk/libbsearch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masonk/libbsearch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonk%2Flibbsearch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonk%2Flibbsearch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 451a76f7f0b7c0c0c978d346934d64f2966e2908 [INFO] checking masonk/libbsearch against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonk%2Flibbsearch" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masonk/libbsearch on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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 /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/masonk/libbsearch already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74d7ea5bfcb86714a1bf3a31c5c170907b7b240ca3846f50d97482f4d7cd303f [INFO] running `Command { std: "docker" "start" "-a" "74d7ea5bfcb86714a1bf3a31c5c170907b7b240ca3846f50d97482f4d7cd303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74d7ea5bfcb86714a1bf3a31c5c170907b7b240ca3846f50d97482f4d7cd303f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74d7ea5bfcb86714a1bf3a31c5c170907b7b240ca3846f50d97482f4d7cd303f", kill_on_drop: false }` [INFO] [stdout] 74d7ea5bfcb86714a1bf3a31c5c170907b7b240ca3846f50d97482f4d7cd303f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7098f21cecf15235ee07132d6ff34e954d8c7cc7857184521f25055e42e647fc [INFO] running `Command { std: "docker" "start" "-a" "7098f21cecf15235ee07132d6ff34e954d8c7cc7857184521f25055e42e647fc", kill_on_drop: false }` [INFO] [stderr] Checking bsearch v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `bsearch` [INFO] [stdout] --> src/main.rs:241:2 [INFO] [stdout] | [INFO] [stdout] 241 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bsearch` (bin "bsearch") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | Some(idx) => { assert!((0..3).contains(idx), "0 was found in 0..3"); } [INFO] [stdout] | -------- ^^^ expected `&_`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 172 | Some(idx) => { assert!((0..3).contains(&idx), "0 was found in 0..3"); } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | Some(idx) => { assert!((3..6).contains(idx)); }, [INFO] [stdout] | -------- ^^^ expected `&_`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 187 | Some(idx) => { assert!((3..6).contains(&idx)); }, [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | Some(idx) => { assert!((2..5).contains(idx)); } [INFO] [stdout] | -------- ^^^ expected `&_`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 196 | Some(idx) => { assert!((2..5).contains(&idx)); } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:231:69 [INFO] [stdout] | [INFO] [stdout] 231 | ... Some(actual) => { assert!(expected.contains(actual), "Return idx should be in {:?}, but got {}.", expected, actual); } [INFO] [stdout] | -------- ^^^^^^ expected `&usize`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/range.rs:120:12 [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 231 | Some(actual) => { assert!(expected.contains(&actual), "Return idx should be in {:?}, but got {}.", expected, actual); } [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bsearch` (bin "bsearch" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "7098f21cecf15235ee07132d6ff34e954d8c7cc7857184521f25055e42e647fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7098f21cecf15235ee07132d6ff34e954d8c7cc7857184521f25055e42e647fc", kill_on_drop: false }` [INFO] [stdout] 7098f21cecf15235ee07132d6ff34e954d8c7cc7857184521f25055e42e647fc