[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonk%2Flibbsearch" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masonk/libbsearch on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-6-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec5c3830a19e72fa37f1e7627c003792eab2e1e61318b96e29705e91a8baaf7c [INFO] running `Command { std: "docker" "start" "-a" "ec5c3830a19e72fa37f1e7627c003792eab2e1e61318b96e29705e91a8baaf7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec5c3830a19e72fa37f1e7627c003792eab2e1e61318b96e29705e91a8baaf7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec5c3830a19e72fa37f1e7627c003792eab2e1e61318b96e29705e91a8baaf7c", kill_on_drop: false }` [INFO] [stdout] ec5c3830a19e72fa37f1e7627c003792eab2e1e61318b96e29705e91a8baaf7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3eeac295c260bc9929a42c9e5d7aabaf5e95ad07f3ecb2804280c2666b1e2af1 [INFO] running `Command { std: "docker" "start" "-a" "3eeac295c260bc9929a42c9e5d7aabaf5e95ad07f3ecb2804280c2666b1e2af1", 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] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [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; 1 warning emitted [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/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; 1 warning emitted [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; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3eeac295c260bc9929a42c9e5d7aabaf5e95ad07f3ecb2804280c2666b1e2af1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3eeac295c260bc9929a42c9e5d7aabaf5e95ad07f3ecb2804280c2666b1e2af1", kill_on_drop: false }` [INFO] [stdout] 3eeac295c260bc9929a42c9e5d7aabaf5e95ad07f3ecb2804280c2666b1e2af1 [INFO] checking masonk/libbsearch against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasonk%2Flibbsearch" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masonk/libbsearch on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-6-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15939b31e4c04b8342ed91d7ca77c109b6ffe4004ae5f418e903c48671b0fe80 [INFO] running `Command { std: "docker" "start" "-a" "15939b31e4c04b8342ed91d7ca77c109b6ffe4004ae5f418e903c48671b0fe80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15939b31e4c04b8342ed91d7ca77c109b6ffe4004ae5f418e903c48671b0fe80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15939b31e4c04b8342ed91d7ca77c109b6ffe4004ae5f418e903c48671b0fe80", kill_on_drop: false }` [INFO] [stdout] 15939b31e4c04b8342ed91d7ca77c109b6ffe4004ae5f418e903c48671b0fe80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7af83e8e3371a559e20abfefb4f32b609c2beff13e202338fd330799e01aad92 [INFO] running `Command { std: "docker" "start" "-a" "7af83e8e3371a559e20abfefb4f32b609c2beff13e202338fd330799e01aad92", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "7af83e8e3371a559e20abfefb4f32b609c2beff13e202338fd330799e01aad92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af83e8e3371a559e20abfefb4f32b609c2beff13e202338fd330799e01aad92", kill_on_drop: false }` [INFO] [stdout] 7af83e8e3371a559e20abfefb4f32b609c2beff13e202338fd330799e01aad92