[INFO] fetching crate an-rope 0.3.1... [INFO] checking an-rope-0.3.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate an-rope 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate an-rope 0.3.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate an-rope 0.3.1 [INFO] finished tweaking crates.io crate an-rope 0.3.1 [INFO] tweaked toml for crates.io crate an-rope 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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 53 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.5.3 (latest: v1.1.3) [INFO] [stderr] Adding clippy v0.0.106 (latest: v0.0.302) [INFO] [stderr] Adding clippy_lints v0.0.106 (latest: v0.0.212) [INFO] [stderr] Adding env_logger v0.3.5 (latest: v0.11.5) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.22) [INFO] [stderr] Adding memchr v0.1.11 (latest: v2.7.4) [INFO] [stderr] Adding nom v1.2.4 (latest: v7.1.3) [INFO] [stderr] Adding quickcheck v0.3.2 (latest: v1.0.3) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v0.1.80 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.3.9 (latest: v0.8.4) [INFO] [stderr] Adding rustc_version v0.1.7 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (latest: v1.0.23) [INFO] [stderr] Adding semver v0.2.3 (latest: v1.0.23) [INFO] [stderr] Adding tendril v0.2.4 (latest: v0.4.3) [INFO] [stderr] Adding thread-id v2.0.0 (latest: v4.2.2) [INFO] [stderr] Adding thread_local v0.2.7 (latest: v1.1.8) [INFO] [stderr] Adding toml v0.1.30 (latest: v0.8.19) [INFO] [stderr] Adding utf-8 v0.6.0 (latest: v0.7.6) [INFO] [stderr] Adding utf8-ranges v0.1.3 (latest: v1.0.5) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1383b5db958a909898c69f66c653c58be2761ea8774ca1abf8cba8216811e08 [INFO] running `Command { std: "docker" "start" "-a" "f1383b5db958a909898c69f66c653c58be2761ea8774ca1abf8cba8216811e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1383b5db958a909898c69f66c653c58be2761ea8774ca1abf8cba8216811e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1383b5db958a909898c69f66c653c58be2761ea8774ca1abf8cba8216811e08", kill_on_drop: false }` [INFO] [stdout] f1383b5db958a909898c69f66c653c58be2761ea8774ca1abf8cba8216811e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8daf067e726af0a4d9a6c3f6fdf3151bb2995d76b9eca7c3ebdf65e55ce481e [INFO] running `Command { std: "docker" "start" "-a" "b8daf067e726af0a4d9a6c3f6fdf3151bb2995d76b9eca7c3ebdf65e55ce481e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking macro-attr v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Checking an-rope v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/lib.rs:817:23 [INFO] [stdout] | [INFO] [stdout] 817 | `self`.\n\ [INFO] [stdout] | _______________________^ [INFO] [stdout] 818 | | [INFO] [stdout] 819 | | [graphemes]: \ [INFO] [stdout] | |_____________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/lib.rs:832:72 [INFO] [stdout] | [INFO] [stdout] 832 | (http://www.unicode.org/reports/tr29/#Word_Boundaries).\n\n\ [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 833 | | [INFO] [stdout] 834 | | Here, \"words\" are just those substrings which, after splitting on\ [INFO] [stdout] | |____________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/internals/mod.rs:551:26 [INFO] [stdout] | [INFO] [stdout] 551 | subrope \n\ [INFO] [stdout] | __________________________^ [INFO] [stdout] 552 | | [INFO] [stdout] 553 | | \nAs a Rope consists of a sequence of bytes, we can iterate \ [INFO] [stdout] | |_______________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/internals/mod.rs:558:26 [INFO] [stdout] | [INFO] [stdout] 558 | subrope \n\ [INFO] [stdout] | __________________________^ [INFO] [stdout] 559 | | [INFO] [stdout] 560 | | \nAs a `Rope` consists of valid UTF-8, we can iterate through a \ [INFO] [stdout] | |_______________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/internals/mod.rs:561:74 [INFO] [stdout] | [INFO] [stdout] 561 | `Rope` by `char`. This method returns such an iterator. \n\ [INFO] [stdout] | __________________________________________________________________________^ [INFO] [stdout] 562 | | [INFO] [stdout] 563 | | \nIt's important to remember that `char` represents a Unicode \ [INFO] [stdout] | |_______________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/internals/mod.rs:585:23 [INFO] [stdout] | [INFO] [stdout] 585 | `self`.\n\ [INFO] [stdout] | _______________________^ [INFO] [stdout] 586 | | [INFO] [stdout] 587 | | [graphemes]: \ [INFO] [stdout] | |_____________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/internals/mod.rs:602:72 [INFO] [stdout] | [INFO] [stdout] 602 | (http://www.unicode.org/reports/tr29/#Word_Boundaries).\n\n\ [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 603 | | [INFO] [stdout] 604 | | Here, \"words\" are just those substrings which, after splitting on\ [INFO] [stdout] | |____________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/lib.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 441 | #[inline] [INFO] [stdout] | ^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/lib.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/internals/mod.rs:705:18 [INFO] [stdout] | [INFO] [stdout] 705 | strings: Box + 'a > [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 705 | strings: Box + 'a > [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/internals/mod.rs:728:18 [INFO] [stdout] | [INFO] [stdout] 728 | strings: Box + 'a > [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 728 | strings: Box + 'a > [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 743 | / unstable_iters! { [INFO] [stdout] 744 | | #[doc="Returns an iterator over all the strings in this `Rope`"] [INFO] [stdout] 745 | | #[inline] [INFO] [stdout] 746 | | pub fn strings<'a>(&'a self) -> impl Iterator + 'a { [INFO] [stdout] ... | [INFO] [stdout] 768 | | } [INFO] [stdout] 769 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 791 | / str_iters! { [INFO] [stdout] 792 | | #[doc="Returns an iterator over all the bytes in this `Rope`.\n\ [INFO] [stdout] 793 | | \nAs a Rope consists of a sequence of bytes, we can iterate \ [INFO] [stdout] 794 | | through a rope by byte. This method returns such an iterator."] [INFO] [stdout] ... | [INFO] [stdout] 811 | | // impl lines<&'a str> for Rope {} [INFO] [stdout] 812 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 791 | / str_iters! { [INFO] [stdout] 792 | | #[doc="Returns an iterator over all the bytes in this `Rope`.\n\ [INFO] [stdout] 793 | | \nAs a Rope consists of a sequence of bytes, we can iterate \ [INFO] [stdout] 794 | | through a rope by byte. This method returns such an iterator."] [INFO] [stdout] ... | [INFO] [stdout] 811 | | // impl lines<&'a str> for Rope {} [INFO] [stdout] 812 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 791 | / str_iters! { [INFO] [stdout] 792 | | #[doc="Returns an iterator over all the bytes in this `Rope`.\n\ [INFO] [stdout] 793 | | \nAs a Rope consists of a sequence of bytes, we can iterate \ [INFO] [stdout] 794 | | through a rope by byte. This method returns such an iterator."] [INFO] [stdout] ... | [INFO] [stdout] 811 | | // impl lines<&'a str> for Rope {} [INFO] [stdout] 812 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 791 | / str_iters! { [INFO] [stdout] 792 | | #[doc="Returns an iterator over all the bytes in this `Rope`.\n\ [INFO] [stdout] 793 | | \nAs a Rope consists of a sequence of bytes, we can iterate \ [INFO] [stdout] 794 | | through a rope by byte. This method returns such an iterator."] [INFO] [stdout] ... | [INFO] [stdout] 811 | | // impl lines<&'a str> for Rope {} [INFO] [stdout] 812 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 814 | / unicode_seg_iters! { [INFO] [stdout] 815 | | #[doc= [INFO] [stdout] 816 | | "Returns an iterator over the [grapheme clusters][graphemes] of \ [INFO] [stdout] 817 | | `self`.\n\ [INFO] [stdout] ... | [INFO] [stdout] 853 | | // impl split_word_bound_indices<(usize, &'a str)> for Rope {} [INFO] [stdout] 854 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `unicode_seg_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 814 | / unicode_seg_iters! { [INFO] [stdout] 815 | | #[doc= [INFO] [stdout] 816 | | "Returns an iterator over the [grapheme clusters][graphemes] of \ [INFO] [stdout] 817 | | `self`.\n\ [INFO] [stdout] ... | [INFO] [stdout] 853 | | // impl split_word_bound_indices<(usize, &'a str)> for Rope {} [INFO] [stdout] 854 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `unicode_seg_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 814 | / unicode_seg_iters! { [INFO] [stdout] 815 | | #[doc= [INFO] [stdout] 816 | | "Returns an iterator over the [grapheme clusters][graphemes] of \ [INFO] [stdout] 817 | | `self`.\n\ [INFO] [stdout] ... | [INFO] [stdout] 853 | | // impl split_word_bound_indices<(usize, &'a str)> for Rope {} [INFO] [stdout] 854 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `unicode_seg_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/slice.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | / unstable_iters! { [INFO] [stdout] 411 | | #[inline] [INFO] [stdout] 412 | | pub fn chars(&'a self) -> impl Iterator + 'a { [INFO] [stdout] 413 | | self.slice_char_iter(self.node.chars()) [INFO] [stdout] ... | [INFO] [stdout] 426 | | } [INFO] [stdout] 427 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/slice.rs:520:53 [INFO] [stdout] | [INFO] [stdout] 520 | fn slice_char_iter(&'a self, i: I) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | fn slice_char_iter(&'a self, i: I) -> Box + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/slice.rs:529:53 [INFO] [stdout] | [INFO] [stdout] 529 | fn slice_strings_iter(&'a self, i: I) -> Box + 'a> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 529 | fn slice_strings_iter(&'a self, i: I) -> Box + 'a> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | / unstable_iters! { [INFO] [stdout] 463 | | #[doc= [INFO] [stdout] 464 | | "Returns an iterator over all the strings in this `Node`s subrope."] [INFO] [stdout] 465 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 479 | | } [INFO] [stdout] 480 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | / str_iters! { [INFO] [stdout] 550 | | #[doc="Returns an iterator over all the bytes in this `Node`'s \ [INFO] [stdout] 551 | | subrope \n\ [INFO] [stdout] ... | [INFO] [stdout] 571 | | impl split_whitespace<&'a str> for Node {} [INFO] [stdout] 572 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | / str_iters! { [INFO] [stdout] 550 | | #[doc="Returns an iterator over all the bytes in this `Node`'s \ [INFO] [stdout] 551 | | subrope \n\ [INFO] [stdout] ... | [INFO] [stdout] 571 | | impl split_whitespace<&'a str> for Node {} [INFO] [stdout] 572 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:549:5 [INFO] [stdout] | [INFO] [stdout] 549 | / str_iters! { [INFO] [stdout] 550 | | #[doc="Returns an iterator over all the bytes in this `Node`'s \ [INFO] [stdout] 551 | | subrope \n\ [INFO] [stdout] ... | [INFO] [stdout] 571 | | impl split_whitespace<&'a str> for Node {} [INFO] [stdout] 572 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `str_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | / unicode_seg_iters! { [INFO] [stdout] 583 | | #[doc= [INFO] [stdout] 584 | | "Returns an iterator over the [grapheme clusters][graphemes] of \ [INFO] [stdout] 585 | | `self`.\n\ [INFO] [stdout] ... | [INFO] [stdout] 596 | | impl graphemes for Node { extend } [INFO] [stdout] 597 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `unicode_seg_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | / unicode_seg_iters! { [INFO] [stdout] 599 | | #[doc= [INFO] [stdout] 600 | | "Returns an iterator over the words of `self`, separated on \ [INFO] [stdout] 601 | | [UAX#29 word boundaries]\ [INFO] [stdout] ... | [INFO] [stdout] 619 | | impl split_word_bounds for Node {} [INFO] [stdout] 620 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `unicode_seg_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:49 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn $name$(<$lf>)*(&'a $sel) -> Box + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/internals/mod.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | / unicode_seg_iters! { [INFO] [stdout] 599 | | #[doc= [INFO] [stdout] 600 | | "Returns an iterator over the words of `self`, separated on \ [INFO] [stdout] 601 | | [UAX#29 word boundaries]\ [INFO] [stdout] ... | [INFO] [stdout] 619 | | impl split_word_bounds for Node {} [INFO] [stdout] 620 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `unstable_iters` which comes from the expansion of the macro `unicode_seg_iters` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:762:46 [INFO] [stdout] | [INFO] [stdout] 762 | ... .scan(0, move |mut l, i| { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `char_len`, `grapheme_len`, and `byte_len` are never used [INFO] [stdout] --> src/unicode/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Unicode<'a> { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn char_len(&self) -> usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | fn grapheme_len(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | fn byte_len(&self) -> usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `nodes` is never used [INFO] [stdout] --> src/internals/mod.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 317 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 446 | fn nodes(&self) -> Nodes { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Nodes` is never constructed [INFO] [stdout] --> src/internals/mod.rs:645:8 [INFO] [stdout] | [INFO] [stdout] 645 | struct Nodes<'a>(Vec<&'a Node>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:901:9 [INFO] [stdout] | [INFO] [stdout] 899 | fn bytes_eq(&self, other: I) -> bool [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 900 | where I: Iterator { [INFO] [stdout] 901 | self.bytes().zip(other).all(|(a, b)| a == b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1223:9 [INFO] [stdout] | [INFO] [stdout] 1221 | fn from_iter(iter: I) -> Rope [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1222 | where I: IntoIterator { [INFO] [stdout] 1223 | iter.into_iter().fold(Rope::new(), |acc, x| acc + x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1232:9 [INFO] [stdout] | [INFO] [stdout] 1230 | fn from_iter(iter: I) -> Rope [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1231 | where I: IntoIterator { [INFO] [stdout] 1232 | iter.into_iter().fold(Rope::new(), |acc, x| acc + x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1249 | fn from_iter(iter: I) -> Rope [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1250 | where I: IntoIterator { [INFO] [stdout] 1251 | iter.into_iter().fold(Rope::new(), |acc, x| acc + x) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/metric.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 94 | fn accumulate(xs: F) -> Self [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 97 | xs.fold(Self::default(), Self::add) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/internals/mod.rs:626:36 [INFO] [stdout] | [INFO] [stdout] 623 | let mut strings = self.strings(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 626 | GraphemeIndices { strings: Box::new(strings) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/internals/mod.rs:636:38 [INFO] [stdout] | [INFO] [stdout] 633 | let mut strings = self.strings(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 636 | UWordBoundIndices { strings: Box::new(strings) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/slice.rs:524:22 [INFO] [stdout] | [INFO] [stdout] 520 | fn slice_char_iter(&'a self, i: I) -> Box + 'a> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 524 | Box::new(i.skip(self.offset) [INFO] [stdout] | ______________________^ [INFO] [stdout] 525 | | .take(self.len)) [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/slice.rs:532:18 [INFO] [stdout] | [INFO] [stdout] 529 | fn slice_strings_iter(&'a self, i: I) -> Box + 'a> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 532 | Box::new(i.scan((self.offset, self.len), |curr, s| { [INFO] [stdout] | __________________^ [INFO] [stdout] 533 | | match *curr { [INFO] [stdout] 534 | | (0, 0) => None [INFO] [stdout] 535 | | , (0, ref mut remaining) if *remaining < s.len() => { [INFO] [stdout] ... | [INFO] [stdout] 554 | | }) [INFO] [stdout] 555 | | .skip_while(|&s| s == "")) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/slice.rs:562:9 [INFO] [stdout] | [INFO] [stdout] 560 | fn bytes_eq(&self, other: I) -> bool [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 561 | where I: Iterator { [INFO] [stdout] 562 | self.bytes().zip(other).all(|(a, b)| a == b) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] error: could not compile `an-rope` (lib) due to 11 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b8daf067e726af0a4d9a6c3f6fdf3151bb2995d76b9eca7c3ebdf65e55ce481e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8daf067e726af0a4d9a6c3f6fdf3151bb2995d76b9eca7c3ebdf65e55ce481e", kill_on_drop: false }` [INFO] [stdout] b8daf067e726af0a4d9a6c3f6fdf3151bb2995d76b9eca7c3ebdf65e55ce481e