[INFO] fetching crate sorted 0.2.0... [INFO] testing sorted-0.2.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate sorted 0.2.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate sorted 0.2.0 [INFO] finished tweaking crates.io crate sorted 0.2.0 [INFO] tweaked toml for crates.io crate sorted 0.2.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sorted 0.2.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0becbf3783b4b35d59c74460040aa2e7c4f01054c10f5a85946a3fc83e63de6b [INFO] running `Command { std: "docker" "start" "-a" "0becbf3783b4b35d59c74460040aa2e7c4f01054c10f5a85946a3fc83e63de6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0becbf3783b4b35d59c74460040aa2e7c4f01054c10f5a85946a3fc83e63de6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0becbf3783b4b35d59c74460040aa2e7c4f01054c10f5a85946a3fc83e63de6b", kill_on_drop: false }` [INFO] [stdout] 0becbf3783b4b35d59c74460040aa2e7c4f01054c10f5a85946a3fc83e63de6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 510839d8b4b31d650b6599e4032ae70c6754aae7a7e0a71307c8ec80af22c43a [INFO] running `Command { std: "docker" "start" "-a" "510839d8b4b31d650b6599e4032ae70c6754aae7a7e0a71307c8ec80af22c43a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling sorted v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_intersection.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn intersection(self, J) -> Intersection [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_union.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn union(self, J) -> Union [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_searchable_by_order.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn search(&self, &Self::Item) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Item` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn key(&T) -> Self::Key; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sorted_insert.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn insert(&mut self, Self::Item); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &'a U, O> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&'a T as IntoIterator>::IntoIter, O> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "510839d8b4b31d650b6599e4032ae70c6754aae7a7e0a71307c8ec80af22c43a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510839d8b4b31d650b6599e4032ae70c6754aae7a7e0a71307c8ec80af22c43a", kill_on_drop: false }` [INFO] [stdout] 510839d8b4b31d650b6599e4032ae70c6754aae7a7e0a71307c8ec80af22c43a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52ad6c8f6767a91c4fbacade944ed3bd593a2baf55857b5c323749f8ba1490f0 [INFO] running `Command { std: "docker" "start" "-a" "52ad6c8f6767a91c4fbacade944ed3bd593a2baf55857b5c323749f8ba1490f0", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_intersection.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn intersection(self, J) -> Intersection [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sorted v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_union.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn union(self, J) -> Union [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_searchable_by_order.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn search(&self, &Self::Item) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Item` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn key(&T) -> Self::Key; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sorted_insert.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn insert(&mut self, Self::Item); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &'a U, O> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&'a T as IntoIterator>::IntoIter, O> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/usage.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/usage.rs:72:6 [INFO] [stdout] | [INFO] [stdout] 72 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/usage.rs:108:6 [INFO] [stdout] | [INFO] [stdout] 108 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_intersection.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | fn intersection(self, J) -> Intersection [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/iter_union.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | fn union(self, J) -> Union [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_searchable_by_order.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | fn search(&self, &Self::Item) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Item` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sort_order.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn key(&T) -> Self::Key; [INFO] [stdout] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/trait_sorted_insert.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | fn insert(&mut self, Self::Item); [INFO] [stdout] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:27:51 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stdout] | -- -- ^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &'a U, O> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/type_sorted.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stdout] | -- ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 37 | pub fn iter(&'a self) -> SortedIter<<&'a T as IntoIterator>::IntoIter, O> [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "52ad6c8f6767a91c4fbacade944ed3bd593a2baf55857b5c323749f8ba1490f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ad6c8f6767a91c4fbacade944ed3bd593a2baf55857b5c323749f8ba1490f0", kill_on_drop: false }` [INFO] [stdout] 52ad6c8f6767a91c4fbacade944ed3bd593a2baf55857b5c323749f8ba1490f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c4727256d74e316592cd8f23aa33eadcf8496e347f1370bb90f1fe126ce073b1 [INFO] running `Command { std: "docker" "start" "-a" "c4727256d74e316592cd8f23aa33eadcf8496e347f1370bb90f1fe126ce073b1", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/iter_intersection.rs:54:30 [INFO] [stderr] | [INFO] [stderr] 54 | fn intersection(self, J) -> Intersection [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/iter_union.rs:58:23 [INFO] [stderr] | [INFO] [stderr] 58 | fn union(self, J) -> Union [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: J` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/trait_searchable_by_order.rs:9:22 [INFO] [stderr] | [INFO] [stderr] 9 | fn search(&self, &Self::Item) -> Result; [INFO] [stderr] | ^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::Item` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/trait_sort_order.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/trait_sort_order.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | fn cmp(&T, &T) -> Ordering; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/trait_sort_order.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 53 | fn key(&T) -> Self::Key; [INFO] [stderr] | ^^ help: try naming the parameter or explicitly ignoring it: `_: &T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/trait_sorted_insert.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | fn insert(&mut self, Self::Item); [INFO] [stderr] | ^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Item` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/type_sorted.rs:27:51 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &U, O> [INFO] [stderr] | -- -- ^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is named here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 27 | pub fn deref_inner(&'a self) -> Sorted<'a, &'a U, O> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/type_sorted.rs:37:42 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn iter(&'a self) -> SortedIter<<&T as IntoIterator>::IntoIter, O> [INFO] [stderr] | -- ^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 37 | pub fn iter(&'a self) -> SortedIter<<&'a T as IntoIterator>::IntoIter, O> [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: `sorted` (lib) generated 9 warnings (run `cargo fix --lib -p sorted` to apply 9 suggestions) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/usage.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/usage.rs:72:6 [INFO] [stderr] | [INFO] [stderr] 72 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> tests/usage.rs:108:6 [INFO] [stderr] | [INFO] [stderr] 108 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] [INFO] [stderr] warning: `sorted` (test "usage") generated 3 warnings [INFO] [stderr] warning: `sorted` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sorted-8286e06f1c0ffdad) [INFO] [stdout] [INFO] [stderr] Running tests/iterators.rs (/opt/rustwide/target/debug/deps/iterators-89dfa0a1d901ae9d) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test intersection_iter ... ok [INFO] [stdout] test difference_iter ... ok [INFO] [stderr] Running tests/usage.rs (/opt/rustwide/target/debug/deps/usage-cb567c860b89403e) [INFO] [stdout] test union_iter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test ascending_order ... ok [INFO] [stderr] Doc-tests sorted [INFO] [stdout] test descending_order ... ok [INFO] [stdout] test sort_by_first ... ok [INFO] [stdout] test sort_by_property_string ... ok [INFO] [stdout] test sort_by_second ... ok [INFO] [stdout] test sort_with_property_key_type ... ok [INFO] [stdout] test sorted_insert ... ok [INFO] [stdout] test sorted_slice ... ok [INFO] [stdout] test sorted_vec ... ok [INFO] [stdout] test sorted_slice_from_sorted_vec ... ok [INFO] [stdout] test sorted_array ... ok [INFO] [stdout] test sorted_vec_from_sorted_iterator ... ok [INFO] [stdout] test sorted_vec_ref ... ok [INFO] [stdout] test take_sorted_ref_iterator ... ok [INFO] [stdout] test take_sorted_iterator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c4727256d74e316592cd8f23aa33eadcf8496e347f1370bb90f1fe126ce073b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4727256d74e316592cd8f23aa33eadcf8496e347f1370bb90f1fe126ce073b1", kill_on_drop: false }` [INFO] [stdout] c4727256d74e316592cd8f23aa33eadcf8496e347f1370bb90f1fe126ce073b1