[INFO] fetching crate btreemap_monstousity 0.0.1... [INFO] testing btreemap_monstousity-0.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate btreemap_monstousity 0.0.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate btreemap_monstousity 0.0.1 [INFO] finished tweaking crates.io crate btreemap_monstousity 0.0.1 [INFO] tweaked toml for crates.io crate btreemap_monstousity 0.0.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate btreemap_monstousity 0.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ce9550babc6f807a4e648c561006f99c88242bb9f73676530b76b1153e0d20 [INFO] running `Command { std: "docker" "start" "-a" "66ce9550babc6f807a4e648c561006f99c88242bb9f73676530b76b1153e0d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ce9550babc6f807a4e648c561006f99c88242bb9f73676530b76b1153e0d20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ce9550babc6f807a4e648c561006f99c88242bb9f73676530b76b1153e0d20", kill_on_drop: false }` [INFO] [stdout] 66ce9550babc6f807a4e648c561006f99c88242bb9f73676530b76b1153e0d20 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31acee5f3cfdab47a16db50e6a5a85ba3d7d9c9db6033249dfc250c402d0be42 [INFO] running `Command { std: "docker" "start" "-a" "31acee5f3cfdab47a16db50e6a5a85ba3d7d9c9db6033249dfc250c402d0be42", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling btreemap_monstousity v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `no_global_oom_handling` [INFO] [stdout] --> src/lib.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(not(no_global_oom_handling))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::cmp::Ordering` [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use core::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_global_oom_handling` [INFO] [stdout] --> src/liballoc.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | #[cfg(not(no_global_oom_handling))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_global_oom_handling` [INFO] [stdout] --> src/liballoc.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | #[cfg(not(no_global_oom_handling))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `allocator_api` [INFO] [stdout] --> src/liballoc/collections/btree/node.rs:224:22 [INFO] [stdout] | [INFO] [stdout] 224 | cfg_attr(not(allocator_api), allow(clippy::extra_unused_type_parameters)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "allocator_api"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(allocator_api)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allocator_api)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `allocator_api` [INFO] [stdout] --> src/liballoc/collections/btree/node.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | cfg_attr(not(allocator_api), allow(clippy::extra_unused_type_parameters)) [INFO] [stdout] | ^^^^^^^^^^^^^ help: found config with similar value: `feature = "allocator_api"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(allocator_api)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(allocator_api)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/polyfill.rs:300:25 [INFO] [stdout] | [INFO] [stdout] 300 | self.iter().is_sorted_by(|a, b| compare(*a, *b)) [INFO] [stdout] | ^^^^^^^^^^^^ multiple `is_sorted_by` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in an impl of the trait `IterIsSorted` for the type `I` [INFO] [stdout] --> src/polyfill.rs:307:9 [INFO] [stdout] | [INFO] [stdout] 307 | / fn is_sorted_by(mut self, compare: F) -> bool [INFO] [stdout] 308 | | where [INFO] [stdout] 309 | | F: FnMut(&I::Item, &I::Item) -> Option, [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] = note: candidate #2 is defined in an impl of the trait `Iterator` for the type `core::slice::Iter<'a, T>` [INFO] [stdout] help: disambiguate the method for candidate #1 [INFO] [stdout] | [INFO] [stdout] 300 - self.iter().is_sorted_by(|a, b| compare(*a, *b)) [INFO] [stdout] 300 + IterIsSorted::is_sorted_by(self.iter(), |a, b| compare(*a, *b)) [INFO] [stdout] | [INFO] [stdout] help: disambiguate the method for candidate #2 [INFO] [stdout] | [INFO] [stdout] 300 - self.iter().is_sorted_by(|a, b| compare(*a, *b)) [INFO] [stdout] 300 + Iterator::is_sorted_by(self.iter(), |a, b| compare(*a, *b)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btreemap_monstousity` (lib) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31acee5f3cfdab47a16db50e6a5a85ba3d7d9c9db6033249dfc250c402d0be42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31acee5f3cfdab47a16db50e6a5a85ba3d7d9c9db6033249dfc250c402d0be42", kill_on_drop: false }` [INFO] [stdout] 31acee5f3cfdab47a16db50e6a5a85ba3d7d9c9db6033249dfc250c402d0be42