[INFO] fetching crate btree_monstousity 0.0.4... [INFO] checking btree_monstousity-0.0.4 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate btree_monstousity 0.0.4 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate btree_monstousity 0.0.4 [INFO] finished tweaking crates.io crate btree_monstousity 0.0.4 [INFO] tweaked toml for crates.io crate btree_monstousity 0.0.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate btree_monstousity 0.0.4 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acd7ed7259c1d9cc173067c5912bb01d171d11198d0fdba2638015917557b0f8 [INFO] running `Command { std: "docker" "start" "-a" "acd7ed7259c1d9cc173067c5912bb01d171d11198d0fdba2638015917557b0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acd7ed7259c1d9cc173067c5912bb01d171d11198d0fdba2638015917557b0f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd7ed7259c1d9cc173067c5912bb01d171d11198d0fdba2638015917557b0f8", kill_on_drop: false }` [INFO] [stdout] acd7ed7259c1d9cc173067c5912bb01d171d11198d0fdba2638015917557b0f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 200c2a790978ff0f02d4b18a05f87ebb91f1f70344b7146108735f06385046b3 [INFO] running `Command { std: "docker" "start" "-a" "200c2a790978ff0f02d4b18a05f87ebb91f1f70344b7146108735f06385046b3", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking btree_monstousity v0.0.4 (/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)]` 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] error[E0432]: unresolved import `crate::default` [INFO] [stdout] --> src/liballoc/testing/crash_test.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::default::OrdStoredKey; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `core::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::default` [INFO] [stdout] --> src/liballoc/testing/ord_chaos.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::default::OrdStoredKey; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `core::default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | impl BTreeMap { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | T: Copy + OrdStoredKey + TryFrom, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:419:6 [INFO] [stdout] | [INFO] [stdout] 419 | impl OrdStoredKey for Align32 { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `SortableBy` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:817:10 [INFO] [stdout] | [INFO] [stdout] 817 | impl SortableBy> for CompositeKey { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:817:21 [INFO] [stdout] | [INFO] [stdout] 817 | impl SortableBy> for CompositeKey { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1293:45 [INFO] [stdout] | [INFO] [stdout] 1293 | fn get(v: &BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1298:53 [INFO] [stdout] | [INFO] [stdout] 1298 | fn get_mut(v: &mut BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1303:55 [INFO] [stdout] | [INFO] [stdout] 1303 | fn get_key_value(v: &BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1308:54 [INFO] [stdout] | [INFO] [stdout] 1308 | fn contains_key(v: &BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1313:47 [INFO] [stdout] | [INFO] [stdout] 1313 | fn range(v: &BTreeMap, (), OrdTotalOrder>, t: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1318:55 [INFO] [stdout] | [INFO] [stdout] 1318 | fn range_mut(v: &mut BTreeMap, (), OrdTotalOrder>, t: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1323:52 [INFO] [stdout] | [INFO] [stdout] 1323 | fn remove(v: &mut BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1328:58 [INFO] [stdout] | [INFO] [stdout] 1328 | fn remove_entry(v: &mut BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1333:55 [INFO] [stdout] | [INFO] [stdout] 1333 | fn split_off(v: &mut BTreeMap, (), OrdTotalOrder>, t: &T) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1439:10 [INFO] [stdout] | [INFO] [stdout] 1439 | impl OrdStoredKey for Bad { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1672:22 [INFO] [stdout] | [INFO] [stdout] 1672 | fn map(v: &BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1676:28 [INFO] [stdout] | [INFO] [stdout] 1676 | fn into_iter(v: BTreeMap) -> impl Sync { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1680:28 [INFO] [stdout] | [INFO] [stdout] 1680 | fn into_keys(v: BTreeMap) -> impl Sync { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1684:30 [INFO] [stdout] | [INFO] [stdout] 1684 | fn into_values(v: BTreeMap) -> impl Sync { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1688:31 [INFO] [stdout] | [INFO] [stdout] 1688 | fn drain_filter(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1692:23 [INFO] [stdout] | [INFO] [stdout] 1692 | fn iter(v: &BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1696:27 [INFO] [stdout] | [INFO] [stdout] 1696 | fn iter_mut(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `btree_monstousity` (lib) due to 1 previous error; 7 warnings emitted [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1700:23 [INFO] [stdout] | [INFO] [stdout] 1700 | fn keys(v: &BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1704:25 [INFO] [stdout] | [INFO] [stdout] 1704 | fn values(v: &BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1708:29 [INFO] [stdout] | [INFO] [stdout] 1708 | fn values_mut(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1712:24 [INFO] [stdout] | [INFO] [stdout] 1712 | fn range(v: &BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1716:28 [INFO] [stdout] | [INFO] [stdout] 1716 | fn range_mut(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1720:24 [INFO] [stdout] | [INFO] [stdout] 1720 | fn entry(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1724:33 [INFO] [stdout] | [INFO] [stdout] 1724 | fn occupied_entry(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1731:31 [INFO] [stdout] | [INFO] [stdout] 1731 | fn vacant_entry(v: &mut BTreeMap) -> impl Sync + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1741:22 [INFO] [stdout] | [INFO] [stdout] 1741 | fn map(v: BTreeMap) -> impl Send { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1745:28 [INFO] [stdout] | [INFO] [stdout] 1745 | fn into_iter(v: BTreeMap) -> impl Send { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1749:28 [INFO] [stdout] | [INFO] [stdout] 1749 | fn into_keys(v: BTreeMap) -> impl Send { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1753:30 [INFO] [stdout] | [INFO] [stdout] 1753 | fn into_values(v: BTreeMap) -> impl Send { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1757:31 [INFO] [stdout] | [INFO] [stdout] 1757 | fn drain_filter(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1761:30 [INFO] [stdout] | [INFO] [stdout] 1761 | fn iter(v: &BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1765:27 [INFO] [stdout] | [INFO] [stdout] 1765 | fn iter_mut(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1769:30 [INFO] [stdout] | [INFO] [stdout] 1769 | fn keys(v: &BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1773:32 [INFO] [stdout] | [INFO] [stdout] 1773 | fn values(v: &BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1777:29 [INFO] [stdout] | [INFO] [stdout] 1777 | fn values_mut(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1781:31 [INFO] [stdout] | [INFO] [stdout] 1781 | fn range(v: &BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1785:28 [INFO] [stdout] | [INFO] [stdout] 1785 | fn range_mut(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1789:24 [INFO] [stdout] | [INFO] [stdout] 1789 | fn entry(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1793:33 [INFO] [stdout] | [INFO] [stdout] 1793 | fn occupied_entry(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `OrdStoredKey` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1800:31 [INFO] [stdout] | [INFO] [stdout] 1800 | fn vacant_entry(v: &mut BTreeMap) -> impl Send + '_ { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OrdTotalOrder` in this scope [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:2284:36 [INFO] [stdout] | [INFO] [stdout] 2284 | let mut map = BTreeMap::<_, _, OrdTotalOrder>::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [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 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] = note: `#[warn(unused_imports)]` on by default [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[E0277]: the trait bound `(): definitions::Allocator` is not satisfied [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1613:25 [INFO] [stdout] | [INFO] [stdout] 1613 | fn map_key<'new>(v: BTreeMap<&'static str, (), ()>) -> BTreeMap<&'new str, (), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `definitions::Allocator` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `definitions::Allocator` is implemented for `definitions::Global` [INFO] [stdout] note: required by a bound in `map::BTreeMap` [INFO] [stdout] --> src/liballoc/collections/btree/map.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct BTreeMap { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `O: definitions::Allocator` is not satisfied [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1810:34 [INFO] [stdout] | [INFO] [stdout] 1810 | fn map(mut map: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `definitions::Allocator` is not implemented for `O` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `map::BTreeMap` [INFO] [stdout] --> src/liballoc/collections/btree/map.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct BTreeMap { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] help: consider further restricting type parameter `O` with trait `Allocator` [INFO] [stdout] | [INFO] [stdout] 1810 | fn map(mut map: BTreeMap) { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `O: definitions::Allocator` is not satisfied [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1828:40 [INFO] [stdout] | [INFO] [stdout] 1828 | fn map_debug(mut map: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `definitions::Allocator` is not implemented for `O` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `map::BTreeMap` [INFO] [stdout] --> src/liballoc/collections/btree/map.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct BTreeMap { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] help: consider restricting type parameter `O` with trait `Allocator` [INFO] [stdout] | [INFO] [stdout] 1828 | fn map_debug(mut map: BTreeMap) { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `O: Clone` is not satisfied [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1828:40 [INFO] [stdout] | [INFO] [stdout] 1828 | fn map_debug(mut map: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `O` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `map::BTreeMap` [INFO] [stdout] --> src/liballoc/collections/btree/map.rs:193:42 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct BTreeMap { [INFO] [stdout] | ^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] help: consider restricting type parameter `O` with trait `Clone` [INFO] [stdout] | [INFO] [stdout] 1828 | fn map_debug(mut map: BTreeMap) { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `O: definitions::Allocator` is not satisfied [INFO] [stdout] --> src/liballoc/collections/btree/map/tests.rs:1844:47 [INFO] [stdout] | [INFO] [stdout] 1844 | fn map_clone(mut map: BTreeMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the trait `definitions::Allocator` is not implemented for `O` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `map::BTreeMap` [INFO] [stdout] --> src/liballoc/collections/btree/map.rs:193:30 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct BTreeMap { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `BTreeMap` [INFO] [stdout] help: consider further restricting type parameter `O` with trait `Allocator` [INFO] [stdout] | [INFO] [stdout] 1844 | fn map_clone(mut map: BTreeMap) { [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `btree_monstousity` (lib test) due to 53 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "200c2a790978ff0f02d4b18a05f87ebb91f1f70344b7146108735f06385046b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "200c2a790978ff0f02d4b18a05f87ebb91f1f70344b7146108735f06385046b3", kill_on_drop: false }` [INFO] [stdout] 200c2a790978ff0f02d4b18a05f87ebb91f1f70344b7146108735f06385046b3