[INFO] fetching crate sorted-collections 0.0.8... [INFO] checking sorted-collections-0.0.8 against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] extracting crate sorted-collections 0.0.8 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate sorted-collections 0.0.8 on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b5d818eee21e6cf7b992f3a053450b80a26c786f123f3cc0a279807230f8254 [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" "3b5d818eee21e6cf7b992f3a053450b80a26c786f123f3cc0a279807230f8254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b5d818eee21e6cf7b992f3a053450b80a26c786f123f3cc0a279807230f8254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b5d818eee21e6cf7b992f3a053450b80a26c786f123f3cc0a279807230f8254", kill_on_drop: false }` [INFO] [stdout] 3b5d818eee21e6cf7b992f3a053450b80a26c786f123f3cc0a279807230f8254 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f45ceced3763a021b5e7b855defa9fd1d4b9eeb6d070674cf3adf22370249fe [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" "0f45ceced3763a021b5e7b855defa9fd1d4b9eeb6d070674cf3adf22370249fe", 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: 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: 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: 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: 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: 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: 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: 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: 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: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method 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 method 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: a method 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 method 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/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: 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: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: 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: 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: 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: 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: 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: a method 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 method 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: a method 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 method 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: 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: 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: 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: 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: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method 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 method 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: a method 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 method 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" "0f45ceced3763a021b5e7b855defa9fd1d4b9eeb6d070674cf3adf22370249fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f45ceced3763a021b5e7b855defa9fd1d4b9eeb6d070674cf3adf22370249fe", kill_on_drop: false }` [INFO] [stdout] 0f45ceced3763a021b5e7b855defa9fd1d4b9eeb6d070674cf3adf22370249fe