[INFO] fetching crate bisection 0.1.0... [INFO] testing bisection-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate bisection 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate bisection 0.1.0 [INFO] finished tweaking crates.io crate bisection 0.1.0 [INFO] tweaked toml for crates.io crate bisection 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bisection 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate bisection 0.1.0 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.8 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded num-traits v0.2.12 [INFO] [stderr] Downloaded proptest v0.10.0 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab0364f01b503bce1800f891753200fad10a9a62f0a813c3970353977b0fa728 [INFO] running `Command { std: "docker" "start" "-a" "ab0364f01b503bce1800f891753200fad10a9a62f0a813c3970353977b0fa728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab0364f01b503bce1800f891753200fad10a9a62f0a813c3970353977b0fa728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab0364f01b503bce1800f891753200fad10a9a62f0a813c3970353977b0fa728", kill_on_drop: false }` [INFO] [stdout] ab0364f01b503bce1800f891753200fad10a9a62f0a813c3970353977b0fa728 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03f32d735bd466c179431008dd0b83f50075cafe17bb4a66a6c707e91a48f2c7 [INFO] running `Command { std: "docker" "start" "-a" "03f32d735bd466c179431008dd0b83f50075cafe17bb4a66a6c707e91a48f2c7", kill_on_drop: false }` [INFO] [stderr] Compiling bisection v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "03f32d735bd466c179431008dd0b83f50075cafe17bb4a66a6c707e91a48f2c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03f32d735bd466c179431008dd0b83f50075cafe17bb4a66a6c707e91a48f2c7", kill_on_drop: false }` [INFO] [stdout] 03f32d735bd466c179431008dd0b83f50075cafe17bb4a66a6c707e91a48f2c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df86317ec04b1ca2db3a24c9b4c0d14a93f766786f2d685a1c87c19be41aa85f [INFO] running `Command { std: "docker" "start" "-a" "df86317ec04b1ca2db3a24c9b4c0d14a93f766786f2d685a1c87c19be41aa85f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v0.10.0 [INFO] [stderr] Compiling bisection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `bisect` [INFO] [stdout] --> examples/numeric_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bisect::bisect; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `bisect` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bisect`, use `cargo add bisect` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bisection` (example "numeric_table") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `bisect` [INFO] [stdout] --> examples/sorted_search.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bisect::{bisect_left, bisect_right}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `bisect` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bisect`, use `cargo add bisect` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/sorted_search.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 4 | fn index(a: &[T], x: &T) -> Option { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 5 | let i = bisect_left(a, x); [INFO] [stdout] 6 | if i != a.len() && a[i] == *x { [INFO] [stdout] | ^^^^^^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/sorted_search.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_lt<'a, T: Ord>(a: &'a [T], x: &T) -> Option<&'a T> { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 15 | let i = bisect_left(a, x); [INFO] [stdout] 16 | if i != 0 { [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/sorted_search.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_le<'a, T: Ord>(a: &'a [T], x: &T) -> Option<&'a T> { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 25 | let i = bisect_right(a, x); [INFO] [stdout] 26 | if i != 0 { [INFO] [stdout] | ^ expected type parameter `T`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/sorted_search.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 34 | fn find_gt<'a, T: Ord>(a: &'a [T], x: &T) -> Option<&'a T> { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 35 | let i = bisect_right(a, x); [INFO] [stdout] 36 | if i != a.len() { [INFO] [stdout] | ^^^^^^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> examples/sorted_search.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 44 | fn find_ge<'a, T: Ord>(a: &'a [T], x: &T) -> Option<&'a T> { [INFO] [stdout] | - expected this type parameter [INFO] [stdout] 45 | let i = bisect_left(a, x); [INFO] [stdout] 46 | if i != a.len() { [INFO] [stdout] | ^^^^^^^ expected type parameter `T`, found `usize` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bisection` (example "sorted_search") due to 6 previous errors [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/lib.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 330 | struct BisectTest [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 334 | name: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BisectTest` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters in type aliases are not enforced [INFO] [stdout] --> src/lib.rs:346:28 [INFO] [stdout] | [INFO] [stdout] 346 | type TestCollection = &'static [BisectTest]; [INFO] [stdout] | --^^^---^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | will not be checked at usage sites of the type alias [INFO] [stdout] | help: remove this bound [INFO] [stdout] | [INFO] [stdout] = note: this is a known limitation of the type checker that may be lifted in a future edition. [INFO] [stdout] see issue #112792 for more information [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df86317ec04b1ca2db3a24c9b4c0d14a93f766786f2d685a1c87c19be41aa85f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df86317ec04b1ca2db3a24c9b4c0d14a93f766786f2d685a1c87c19be41aa85f", kill_on_drop: false }` [INFO] [stdout] df86317ec04b1ca2db3a24c9b4c0d14a93f766786f2d685a1c87c19be41aa85f