[INFO] crate ratz 0.0.1 is already in cache [INFO] checking ratz-0.0.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ratz 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate ratz 0.0.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 ratz 0.0.1 [INFO] finished tweaking crates.io crate ratz 0.0.1 [INFO] tweaked toml for crates.io crate ratz 0.0.1 written to /workspace/builds/worker-0-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] 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1507e6141b1c42b5ba6602d359891fef98e742c4c93bcca5bb4300d768216212 [INFO] running `Command { std: "docker" "start" "-a" "1507e6141b1c42b5ba6602d359891fef98e742c4c93bcca5bb4300d768216212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1507e6141b1c42b5ba6602d359891fef98e742c4c93bcca5bb4300d768216212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1507e6141b1c42b5ba6602d359891fef98e742c4c93bcca5bb4300d768216212", kill_on_drop: false }` [INFO] [stdout] 1507e6141b1c42b5ba6602d359891fef98e742c4c93bcca5bb4300d768216212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 16fabdffb6bb870b95e7495b60f4308b06488a7f6dc6593cb55622db973b60e5 [INFO] running `Command { std: "docker" "start" "-a" "16fabdffb6bb870b95e7495b60f4308b06488a7f6dc6593cb55622db973b60e5", kill_on_drop: false }` [INFO] [stderr] Checking ratz v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Associative` is never used [INFO] [stdout] --> src/associative.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Associative { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssociativeBoth` is never used [INFO] [stdout] --> src/associative_both.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait AssociativeBoth<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssociativeEither` is never used [INFO] [stdout] --> src/associative_either.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait AssociativeEither<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssociativeFlatten` is never used [INFO] [stdout] --> src/associative_flatten.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AssociativeFlatten<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Commutative` is never used [INFO] [stdout] --> src/commutative.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Commutative: Associative {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/core.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Covariant` is never used [INFO] [stdout] --> src/covariant.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Covariant<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hkt` is never used [INFO] [stdout] --> src/hkt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Hkt<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_member` is never used [INFO] [stdout] --> src/hkt.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Mirror<'a>: Sized + 'a { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn as_member(self) -> >::Member; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_member` is never used [INFO] [stdout] --> src/hkt2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Mirror2<'a>: Sized + 'a { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn as_member(self) -> >::Member; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Idempotent` is never used [INFO] [stdout] --> src/idempotent.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Idempotent: Associative {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identity` is never used [INFO] [stdout] --> src/identity.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Identity: Associative { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IdentityBoth` is never used [INFO] [stdout] --> src/identity_both.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IdentityBoth<'a>: AssociativeBoth<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IdentityFlatten` is never used [INFO] [stdout] --> src/identity_flatten.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait IdentityFlatten<'a>: AssociativeFlatten<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Inverse` is never used [INFO] [stdout] --> src/inverse.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Inverse: Identity { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Monad` is never used [INFO] [stdout] --> src/monad.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Monad<'a>: AssociativeFlatten<'a> + Covariant<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MonadSyntax` is never used [INFO] [stdout] --> src/monad.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait MonadSyntax<'a, Mon: Monad<'a>>: Mirror<'a, Family = Mon> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Traversable` is never used [INFO] [stdout] --> src/traversable.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Traversable<'a>: Covariant<'a> { [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/monad.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 5 | fa: Self::Member, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | ) -> Self::Member { [INFO] [stdout] 8 | Self::flatten(Self::map(fa, f)) [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/monad.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 15 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Mon::Member { [INFO] [stdout] 18 | Mon::flat_map(self.as_member(), f) [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] warning: the feature `generic_associated_types` has been stable since 1.65.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(generic_associated_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ratz` (lib) due to 3 previous errors; 19 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Associative` is never used [INFO] [stdout] --> src/associative.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Associative { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssociativeBoth` is never used [INFO] [stdout] --> src/associative_both.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait AssociativeBoth<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssociativeEither` is never used [INFO] [stdout] --> src/associative_either.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait AssociativeEither<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AssociativeFlatten` is never used [INFO] [stdout] --> src/associative_flatten.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait AssociativeFlatten<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Commutative` is never used [INFO] [stdout] --> src/commutative.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Commutative: Associative {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/core.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Covariant` is never used [INFO] [stdout] --> src/covariant.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Covariant<'a>: Hkt<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Hkt` is never used [INFO] [stdout] --> src/hkt.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Hkt<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_member` is never used [INFO] [stdout] --> src/hkt.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Mirror<'a>: Sized + 'a { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn as_member(self) -> >::Member; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_member` is never used [INFO] [stdout] --> src/hkt2.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Mirror2<'a>: Sized + 'a { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 10 | fn as_member(self) -> >::Member; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Idempotent` is never used [INFO] [stdout] --> src/idempotent.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Idempotent: Associative {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identity` is never used [INFO] [stdout] --> src/identity.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Identity: Associative { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IdentityBoth` is never used [INFO] [stdout] --> src/identity_both.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IdentityBoth<'a>: AssociativeBoth<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IdentityFlatten` is never used [INFO] [stdout] --> src/identity_flatten.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait IdentityFlatten<'a>: AssociativeFlatten<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Inverse` is never used [INFO] [stdout] --> src/inverse.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Inverse: Identity { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Monad` is never used [INFO] [stdout] --> src/monad.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Monad<'a>: AssociativeFlatten<'a> + Covariant<'a> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MonadSyntax` is never used [INFO] [stdout] --> src/monad.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait MonadSyntax<'a, Mon: Monad<'a>>: Mirror<'a, Family = Mon> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Traversable` is never used [INFO] [stdout] --> src/traversable.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | trait Traversable<'a>: Covariant<'a> { [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/monad.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 5 | fa: Self::Member, [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | ) -> Self::Member { [INFO] [stdout] 8 | Self::flatten(Self::map(fa, f)) [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/monad.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 15 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | f: F, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ) -> Mon::Member { [INFO] [stdout] 18 | Mon::flat_map(self.as_member(), f) [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 2 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ratz` (lib test) due to 3 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16fabdffb6bb870b95e7495b60f4308b06488a7f6dc6593cb55622db973b60e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fabdffb6bb870b95e7495b60f4308b06488a7f6dc6593cb55622db973b60e5", kill_on_drop: false }` [INFO] [stdout] 16fabdffb6bb870b95e7495b60f4308b06488a7f6dc6593cb55622db973b60e5