[INFO] fetching crate sorted-collections 0.0.8... [INFO] testing sorted-collections-0.0.8 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate sorted-collections 0.0.8 into /workspace/builds/worker-5-tc1/source [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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sorted-collections 0.0.8 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0926b7965e177c8133d2582f429e0ef92abcba54bcf226787e34e8e30bf5077c [INFO] running `Command { std: "docker" "start" "-a" "0926b7965e177c8133d2582f429e0ef92abcba54bcf226787e34e8e30bf5077c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0926b7965e177c8133d2582f429e0ef92abcba54bcf226787e34e8e30bf5077c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0926b7965e177c8133d2582f429e0ef92abcba54bcf226787e34e8e30bf5077c", kill_on_drop: false }` [INFO] [stdout] 0926b7965e177c8133d2582f429e0ef92abcba54bcf226787e34e8e30bf5077c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7606c654af17c9cf686e0516cb0327ebe0b3a25621aea0a92d2dfb472512c99 [INFO] running `Command { std: "docker" "start" "-a" "a7606c654af17c9cf686e0516cb0327ebe0b3a25621aea0a92d2dfb472512c99", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sorted-collections v0.0.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/sortedset.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | fn range_remove(&mut self, Bound<&T>, to_elem: Bound<&T>) -> Self::RangeRemove; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Bound<&T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core` has been stable since 1.6.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(collections, core)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(collections, core)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&K>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedmap.rs:333:24 [INFO] [stdout] | [INFO] [stdout] 333 | self.range(Included(key), Unbounded).map(|(k, _)| k).min() [INFO] [stdout] | ----- ^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&K>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:5 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ --------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:12 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedmap.rs:350:24 [INFO] [stdout] | [INFO] [stdout] 350 | self.range(Unbounded, Included(key)).map(|(k, _)| k).max() [INFO] [stdout] | ----- ^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:5 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ ------------- unexpected argument #2 of type `Bound<&K>` [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:12 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&K>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedmap.rs:367:24 [INFO] [stdout] | [INFO] [stdout] 367 | self.range(Excluded(key), Unbounded).map(|(k, _)| k).min() [INFO] [stdout] | ----- ^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&K>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:5 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ --------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:12 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedmap.rs:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | self.range(Unbounded, Excluded(key)).map(|(k, _)| k).max() [INFO] [stdout] | ----- ^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:5 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ ------------- unexpected argument #2 of type `Bound<&K>` [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:12 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&K>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedmap.rs:401:43 [INFO] [stdout] | [INFO] [stdout] 401 | let keys: Vec = self.range(from_key, to_key).map(|(k, _)| k.clone()).collect(); [INFO] [stdout] | ----- ^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&K>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeMap::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:5 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ ------ unexpected argument #2 of type `Bound<&K>` [INFO] [stdout] ... [INFO] [stdout] 416 | sortedmap_impl!(BTreeMap, BTreeMapRangeRemove, BTreeMapRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/map.rs:1264:12 [INFO] [stdout] = note: this error originates in the macro `sortedmap_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&T>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedset.rs:308:24 [INFO] [stdout] | [INFO] [stdout] 308 | self.range(Included(elem), Unbounded).min() [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&T>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeSet::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:5 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ --------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:12 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedset.rs:325:24 [INFO] [stdout] | [INFO] [stdout] 325 | self.range(Unbounded, Included(elem)).max() [INFO] [stdout] | ----- ^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeSet::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:5 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ -------------- unexpected argument #2 of type `Bound<&T>` [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:12 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&T>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedset.rs:342:24 [INFO] [stdout] | [INFO] [stdout] 342 | self.range(Excluded(elem), Unbounded).min() [INFO] [stdout] | ----- ^^^^^^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&T>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeSet::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:5 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ --------- unexpected argument #2 of type `Bound<_>` [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:12 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<_>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedset.rs:359:24 [INFO] [stdout] | [INFO] [stdout] 359 | self.range(Unbounded, Excluded(elem)).max() [INFO] [stdout] | ----- ^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeSet::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:5 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ -------------- unexpected argument #2 of type `Bound<&T>` [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:12 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Bound<&T>: RangeBounds` is not satisfied [INFO] [stdout] --> src/sortedset.rs:376:40 [INFO] [stdout] | [INFO] [stdout] 376 | let ret: $typ = self.range(from_elem, to_elem).cloned().collect(); [INFO] [stdout] | ----- ^^^^^^^^^ the trait `RangeBounds` is not implemented for `Bound<&T>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `BTreeSet::::range` [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:5 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method 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] | ^^^^^ ------- unexpected argument #2 of type `Bound<&T>` [INFO] [stdout] ... [INFO] [stdout] 393 | sortedset_impl!(BTreeSet, BTreeSetRangeRemove, BTreeSetRangeRemove); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/alloc/src/collections/btree/set.rs:396:12 [INFO] [stdout] = note: this error originates in the macro `sortedset_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sorted-collections` (lib) due to 21 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a7606c654af17c9cf686e0516cb0327ebe0b3a25621aea0a92d2dfb472512c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7606c654af17c9cf686e0516cb0327ebe0b3a25621aea0a92d2dfb472512c99", kill_on_drop: false }` [INFO] [stdout] a7606c654af17c9cf686e0516cb0327ebe0b3a25621aea0a92d2dfb472512c99