[INFO] fetching crate sorted-collections 0.0.8... [INFO] checking sorted-collections-0.0.8 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sorted-collections 0.0.8 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sorted-collections 0.0.8 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sorted-collections 0.0.8 [INFO] finished tweaking crates.io crate sorted-collections 0.0.8 [INFO] tweaked toml for crates.io crate sorted-collections 0.0.8 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 069aaeefaaff616cbaa1a9ca0281a19069eae1546324d95523c4b86410b6904a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "069aaeefaaff616cbaa1a9ca0281a19069eae1546324d95523c4b86410b6904a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "069aaeefaaff616cbaa1a9ca0281a19069eae1546324d95523c4b86410b6904a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069aaeefaaff616cbaa1a9ca0281a19069eae1546324d95523c4b86410b6904a", kill_on_drop: false }` [INFO] [stdout] 069aaeefaaff616cbaa1a9ca0281a19069eae1546324d95523c4b86410b6904a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bb4b03b5d9d56ff7b16e31b048ba9c25dcc16ec23e77dc1e84083bbbc2b3b23 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2bb4b03b5d9d56ff7b16e31b048ba9c25dcc16ec23e77dc1e84083bbbc2b3b23", kill_on_drop: false }` [INFO] [stderr] Checking sorted-collections v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:333:18 [INFO] [stdout] | [INFO] [stdout] 333 | self.range(Included(key), Unbounded).map(|(k, _)| k).min() [INFO] [stdout] | ^^^^^ ------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | self.range(Unbounded, Included(key)).map(|(k, _)| k).max() [INFO] [stdout] | ^^^^^ --------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | self.range(Excluded(key), Unbounded).map(|(k, _)| k).min() [INFO] [stdout] | ^^^^^ ------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | self.range(Unbounded, Excluded(key)).map(|(k, _)| k).max() [INFO] [stdout] | ^^^^^ --------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:401:37 [INFO] [stdout] | [INFO] [stdout] 401 | let keys: Vec = self.range(from_key, to_key).map(|(k, _)| k.clone()).collect(); [INFO] [stdout] | ^^^^^ -------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:333:18 [INFO] [stdout] | [INFO] [stdout] 333 | self.range(Included(key), Unbounded).map(|(k, _)| k).min() [INFO] [stdout] | ^^^^^ ------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:350:18 [INFO] [stdout] | [INFO] [stdout] 350 | self.range(Unbounded, Included(key)).map(|(k, _)| k).max() [INFO] [stdout] | ^^^^^ --------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:367:18 [INFO] [stdout] | [INFO] [stdout] 367 | self.range(Excluded(key), Unbounded).map(|(k, _)| k).min() [INFO] [stdout] | ^^^^^ ------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 384 | self.range(Unbounded, Excluded(key)).map(|(k, _)| k).max() [INFO] [stdout] | ^^^^^ --------- ------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedmap.rs:401:37 [INFO] [stdout] | [INFO] [stdout] 401 | let keys: Vec = self.range(from_key, to_key).map(|(k, _)| k.clone()).collect(); [INFO] [stdout] | ^^^^^ -------- ------ supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/sortedset.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | match self.first().cloned() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `SortedSetExt::first(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(map_first_last)]` to the crate attributes to enable `BTreeSet::::first` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/sortedset.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | match self.last().cloned() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `SortedSetExt::last(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(map_first_last)]` to the crate attributes to enable `BTreeSet::::last` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | self.range(Included(elem), Unbounded).min() [INFO] [stdout] | ^^^^^ -------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:325:18 [INFO] [stdout] | [INFO] [stdout] 325 | self.range(Unbounded, Included(elem)).max() [INFO] [stdout] | ^^^^^ --------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | self.range(Excluded(elem), Unbounded).min() [INFO] [stdout] | ^^^^^ -------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | self.range(Unbounded, Excluded(elem)).max() [INFO] [stdout] | ^^^^^ --------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:376:34 [INFO] [stdout] | [INFO] [stdout] 376 | let ret: $typ = self.range(from_elem, to_elem).cloned().collect(); [INFO] [stdout] | ^^^^^ --------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorted-collections` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/sortedset.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 278 | match self.first().cloned() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `SortedSetExt::first(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(map_first_last)]` to the crate attributes to enable `BTreeSet::::first` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/sortedset.rs:295:24 [INFO] [stdout] | [INFO] [stdout] 295 | match self.last().cloned() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `SortedSetExt::last(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(map_first_last)]` to the crate attributes to enable `BTreeSet::::last` [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:308:18 [INFO] [stdout] | [INFO] [stdout] 308 | self.range(Included(elem), Unbounded).min() [INFO] [stdout] | ^^^^^ -------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:325:18 [INFO] [stdout] | [INFO] [stdout] 325 | self.range(Unbounded, Included(elem)).max() [INFO] [stdout] | ^^^^^ --------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:342:18 [INFO] [stdout] | [INFO] [stdout] 342 | self.range(Excluded(elem), Unbounded).min() [INFO] [stdout] | ^^^^^ -------------- --------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:359:18 [INFO] [stdout] | [INFO] [stdout] 359 | self.range(Unbounded, Excluded(elem)).max() [INFO] [stdout] | ^^^^^ --------- -------------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/sortedset.rs:376:34 [INFO] [stdout] | [INFO] [stdout] 376 | let ret: $typ = self.range(from_elem, to_elem).cloned().collect(); [INFO] [stdout] | ^^^^^ --------- ------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/sortedset.rs:422:24 [INFO] [stdout] | [INFO] [stdout] 422 | assert_eq!(set.first().unwrap(), &1u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `SortedSetExt::first(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(map_first_last)]` to the crate attributes to enable `BTreeSet::::first` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/sortedset.rs:435:24 [INFO] [stdout] | [INFO] [stdout] 435 | assert_eq!(set.last().unwrap(), &5u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `SortedSetExt::last(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(map_first_last)]` to the crate attributes to enable `BTreeSet::::last` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2bb4b03b5d9d56ff7b16e31b048ba9c25dcc16ec23e77dc1e84083bbbc2b3b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb4b03b5d9d56ff7b16e31b048ba9c25dcc16ec23e77dc1e84083bbbc2b3b23", kill_on_drop: false }` [INFO] [stdout] 2bb4b03b5d9d56ff7b16e31b048ba9c25dcc16ec23e77dc1e84083bbbc2b3b23