[INFO] fetching crate bisection 0.1.0... [INFO] testing bisection-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate bisection 0.1.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bisection 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bit-vec v0.6.2 [INFO] [stderr] Downloaded proptest v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec2bb4c27ac0ff9f69aa3f4ca6a393561c4138e21c8bf91e682a01e80ffa416f [INFO] running `Command { std: "docker" "start" "-a" "ec2bb4c27ac0ff9f69aa3f4ca6a393561c4138e21c8bf91e682a01e80ffa416f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec2bb4c27ac0ff9f69aa3f4ca6a393561c4138e21c8bf91e682a01e80ffa416f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2bb4c27ac0ff9f69aa3f4ca6a393561c4138e21c8bf91e682a01e80ffa416f", kill_on_drop: false }` [INFO] [stdout] ec2bb4c27ac0ff9f69aa3f4ca6a393561c4138e21c8bf91e682a01e80ffa416f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e53c615a14969068e4bca2aea637fbe0d081a6e8bcef35ad0ea1a82a65aece0f [INFO] running `Command { std: "docker" "start" "-a" "e53c615a14969068e4bca2aea637fbe0d081a6e8bcef35ad0ea1a82a65aece0f", 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.16s [INFO] running `Command { std: "docker" "inspect" "e53c615a14969068e4bca2aea637fbe0d081a6e8bcef35ad0ea1a82a65aece0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e53c615a14969068e4bca2aea637fbe0d081a6e8bcef35ad0ea1a82a65aece0f", kill_on_drop: false }` [INFO] [stdout] e53c615a14969068e4bca2aea637fbe0d081a6e8bcef35ad0ea1a82a65aece0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ccb82e47f92dacfd78122cd6b6fca2be63d1bc6b08718547897eb7f64bfd5b06 [INFO] running `Command { std: "docker" "start" "-a" "ccb82e47f92dacfd78122cd6b6fca2be63d1bc6b08718547897eb7f64bfd5b06", 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 bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-vec v0.6.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [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/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[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[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 `Clone` and `Debug`, 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] = help: add `#![feature(lazy_type_alias)]` to the crate attributes to enable the desired semantics [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ccb82e47f92dacfd78122cd6b6fca2be63d1bc6b08718547897eb7f64bfd5b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb82e47f92dacfd78122cd6b6fca2be63d1bc6b08718547897eb7f64bfd5b06", kill_on_drop: false }` [INFO] [stdout] ccb82e47f92dacfd78122cd6b6fca2be63d1bc6b08718547897eb7f64bfd5b06