[INFO] cloning repository https://github.com/atombear/monad_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/atombear/monad_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatombear%2Fmonad_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatombear%2Fmonad_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cffbcf85d080d68352dec7ada9ce71e30b91a47f [INFO] checking atombear/monad_rs/cffbcf85d080d68352dec7ada9ce71e30b91a47f against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fatombear%2Fmonad_rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/atombear/monad_rs 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 git repo https://github.com/atombear/monad_rs [INFO] finished tweaking git repo https://github.com/atombear/monad_rs [INFO] tweaked toml for git repo https://github.com/atombear/monad_rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/atombear/monad_rs already has a lockfile, it will not be regenerated [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a96ae06e5d569fddfd6d7dd49c462da8559932fbd0a70a26ec1ee2a8e9767617 [INFO] running `Command { std: "docker" "start" "-a" "a96ae06e5d569fddfd6d7dd49c462da8559932fbd0a70a26ec1ee2a8e9767617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a96ae06e5d569fddfd6d7dd49c462da8559932fbd0a70a26ec1ee2a8e9767617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a96ae06e5d569fddfd6d7dd49c462da8559932fbd0a70a26ec1ee2a8e9767617", kill_on_drop: false }` [INFO] [stdout] a96ae06e5d569fddfd6d7dd49c462da8559932fbd0a70a26ec1ee2a8e9767617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d35ec796758fae265ed5b6fd054c019294b33784d020457ba5b4da9aaa0bc2ff [INFO] running `Command { std: "docker" "start" "-a" "d35ec796758fae265ed5b6fd054c019294b33784d020457ba5b4da9aaa0bc2ff", kill_on_drop: false }` [INFO] [stderr] Checking monad_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `writer_apply` and `writer_fmap` [INFO] [stdout] --> src/main.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::monads::writer::{WriterKleisli, WriterMonad, writer_unit, writer_fmap, writer_apply, writer_bind, compose_writers, log}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `reader_apply` and `reader_fmap` [INFO] [stdout] --> src/main.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::monads::reader::{ReaderKleisli, ReaderMonad, reader_unit, reader_fmap, reader_apply, reader_bind, load}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StateMonad`, `state_apply`, and `state_fmap` [INFO] [stdout] --> src/main.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::monads::state::{StateKleisli, StateMonad, state_unit, state_fmap, state_apply, state_bind, get, put}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `writer_apply` and `writer_fmap` [INFO] [stdout] --> src/main.rs:6:70 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::monads::writer::{WriterKleisli, WriterMonad, writer_unit, writer_fmap, writer_apply, writer_bind, compose_writers, log}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `reader_apply` and `reader_fmap` [INFO] [stdout] --> src/main.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::monads::reader::{ReaderKleisli, ReaderMonad, reader_unit, reader_fmap, reader_apply, reader_bind, load}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `StateMonad`, `state_apply`, and `state_fmap` [INFO] [stdout] --> src/main.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::monads::state::{StateKleisli, StateMonad, state_unit, state_fmap, state_apply, state_bind, get, put}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/monads/reader.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | ReaderMonad { run_reader: Rc::new(move |cfg: Tcfg| -> Ta { a.clone() } ) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reader_fmap` is never used [INFO] [stdout] --> src/monads/reader.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn reader_fmap( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reader_apply` is never used [INFO] [stdout] --> src/monads/reader.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn reader_apply( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_fmap` is never used [INFO] [stdout] --> src/monads/state.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn state_fmap( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `state_apply` is never used [INFO] [stdout] --> src/monads/state.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn state_apply( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writer_fmap` is never used [INFO] [stdout] --> src/monads/writer.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn writer_fmap( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `writer_apply` is never used [INFO] [stdout] --> src/monads/writer.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn writer_apply>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContMonad` is never constructed [INFO] [stdout] --> src/monads/cont.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ContMonad { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ContMonad` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cont_unit` is never used [INFO] [stdout] --> src/monads/cont.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn cont_unit(a: Ta) -> ContMonad{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cont_eval` is never used [INFO] [stdout] --> src/monads/cont.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn cont_eval( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cont_fmap` is never used [INFO] [stdout] --> src/monads/cont.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cont_fmap( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cont_apply` is never used [INFO] [stdout] --> src/monads/cont.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn cont_apply( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContKleisli` is never constructed [INFO] [stdout] --> src/monads/cont.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct ContKleisli { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cont_bind` is never used [INFO] [stdout] --> src/monads/cont.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn cont_bind( [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/monads/writer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | / WriterKleisli { [INFO] [stdout] 91 | | kleisli: Rc::new( move |$v| { writer_do!($($rest)*) } ) [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | let square_value = |ma: (i64, StringLog) | writer_do!( [INFO] [stdout] | ________________________________________________- [INFO] [stdout] 74 | | val <- ma, [INFO] [stdout] 75 | | val2 = val * val, [INFO] [stdout] 76 | | log(StringLog{ log: "squared the number".to_string() }), [INFO] [stdout] 77 | | writer_unit(val2) [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `writer_do` (in Nightly builds, run with -Z macro-backtrace for more info) [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/monads/writer.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | / WriterKleisli { [INFO] [stdout] 100 | | kleisli: Rc::new( move |_| { writer_do!($($rest)*) } ) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | let add_values = |x: i64| writer_do!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 83 | | log("adding numbers now!".to_string()), [INFO] [stdout] 84 | | val = (1..x).sum::(), [INFO] [stdout] 85 | | log("finished adding numbers!".to_string()), [INFO] [stdout] 86 | | writer_unit(val) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `writer_do` (in Nightly builds, run with -Z macro-backtrace for more info) [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/monads/reader.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn reader_unit(a: Ta) -> ReaderMonad { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | ReaderMonad { run_reader: Rc::new(move |cfg: Tcfg| -> Ta { a.clone() } ) } [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/monads/reader.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 16 | f_ab: Rc Tb>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ma: ReaderMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> ReaderMonad { [INFO] [stdout] 19 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { f_ab((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 16 | f_ab: Rc Tb>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ma: ReaderMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> ReaderMonad { [INFO] [stdout] 19 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { f_ab((ma.run_reader)(cfg)) } ) } [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/reader.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 25 | mf: ReaderMonad Tb>>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ma: ReaderMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> ReaderMonad { [INFO] [stdout] 28 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((mf.run_reader)(cfg))((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 25 | mf: ReaderMonad Tb>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ma: ReaderMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> ReaderMonad { [INFO] [stdout] 28 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((mf.run_reader)(cfg))((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 25 | mf: ReaderMonad Tb>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ma: ReaderMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> ReaderMonad { [INFO] [stdout] 28 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((mf.run_reader)(cfg))((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 38 | ma: ReaderMonad, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | k_ab: ReaderKleisli [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> ReaderMonad { [INFO] [stdout] 41 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((k_ab.kleisli)((ma.run_reader)(cfg.clone())).run_reader)(cfg.clone()) } ) } [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/monads/reader.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 38 | ma: ReaderMonad, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | k_ab: ReaderKleisli [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> ReaderMonad { [INFO] [stdout] 41 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((k_ab.kleisli)((ma.run_reader)(cfg.clone())).run_reader)(cfg.clone()) } ) } [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/reader.rs:41:123 [INFO] [stdout] | [INFO] [stdout] 38 | ma: ReaderMonad, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | k_ab: ReaderKleisli [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> ReaderMonad { [INFO] [stdout] 41 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((k_ab.kleisli)((ma.run_reader)(cfg.clone())).run_reader)(cfg.clone()) } ) } [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/state.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | StateMonad { run_state: Rc::new( move |s: Ts| -> (Ta, Ts) { (a, s.clone()) } ) } [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/state.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 15 | f_ab: Rc Tb>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ma: StateMonad [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] 20 | | let a_s: (Ta, Ts) = (ma.run_state)(s); [INFO] [stdout] 21 | | (f_ab(a_s.0), a_s.1) [INFO] [stdout] 22 | | }) [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/monads/state.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 15 | f_ab: Rc Tb>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ma: StateMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let a_s: (Ta, Ts) = (ma.run_state)(s); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | (f_ab(a_s.0), a_s.1) [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/monads/state.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | mf: StateMonad Tb>>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ma: StateMonad [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] 34 | | let f_s: (Rc Tb>, Ts) = (mf.run_state)(s); [INFO] [stdout] 35 | | let a_s: (Ta, Ts) = (ma.run_state)(f_s.1); [INFO] [stdout] 36 | | ((f_s.0)(a_s.0), a_s.1) [INFO] [stdout] 37 | | }) [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/monads/state.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 29 | mf: StateMonad Tb>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ma: StateMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let f_s: (Rc Tb>, Ts) = (mf.run_state)(s); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let a_s: (Ta, Ts) = (ma.run_state)(f_s.1); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ((f_s.0)(a_s.0), a_s.1) [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/monads/state.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 48 | ma: StateMonad, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | k_ab: StateKleisli [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | / Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] 53 | | let a_s: (Ta, Ts) = (ma.run_state)(s); [INFO] [stdout] 54 | | let mb: StateMonad = (k_ab.kleisli)(a_s.0); [INFO] [stdout] 55 | | (mb.run_state)(a_s.1) [INFO] [stdout] 56 | | }) [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/monads/state.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put(s: Ts) -> StateMonad { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | StateMonad { run_state: Rc::new( move |_: Ts| -> ((), Ts) { ((), s.clone()) } ) } [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/monads/state.rs:73:70 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put(s: Ts) -> StateMonad { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | StateMonad { run_state: Rc::new( move |_: Ts| -> ((), Ts) { ((), s.clone()) } ) } [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/writer.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 20 | ma: WriterMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> WriterMonad { [INFO] [stdout] 22 | (f_ab(ma.0), ma.1) [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/monads/writer.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | mf: WriterMonad Tb, Tlog>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ma: WriterMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> WriterMonad { [INFO] [stdout] 31 | ((mf.0)(ma.0), mf.1.mappend(ma.1)) [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/monads/writer.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 28 | mf: WriterMonad Tb, Tlog>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ma: WriterMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> WriterMonad { [INFO] [stdout] 31 | ((mf.0)(ma.0), mf.1.mappend(ma.1)) [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/monads/writer.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 42 | ma: WriterMonad, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | k_ab: WriterKleisli [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | ) -> WriterMonad { [INFO] [stdout] 45 | let b_log_ab: WriterMonad = (k_ab.kleisli)(ma.0); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | (b_log_ab.0, ma.1.mappend(b_log_ab.1)) [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/monads/writer.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 65 | wab: WriterKleisli, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | wbc: WriterKleisli [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | kleisli: Rc::new(move |a: Ta| -> WriterMonad { [INFO] [stdout] | __________________^ [INFO] [stdout] 71 | | let b_log_ab: WriterMonad = (wab.kleisli)(a); [INFO] [stdout] 72 | | let c_log_bc: WriterMonad = (wbc.kleisli)(b_log_ab.0); [INFO] [stdout] 73 | | (c_log_bc.0, b_log_ab.1.mappend(c_log_bc.1)) [INFO] [stdout] 74 | | }) [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/monads/writer.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 65 | wab: WriterKleisli, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | wbc: WriterKleisli [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | kleisli: Rc::new(move |a: Ta| -> WriterMonad { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let b_log_ab: WriterMonad = (wab.kleisli)(a); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let c_log_bc: WriterMonad = (wbc.kleisli)(b_log_ab.0); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | (c_log_bc.0, b_log_ab.1.mappend(c_log_bc.1)) [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/monads/cont.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn cont_unit(a: Ta) -> ContMonad{ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | ContMonad { run_cont: Rc::new( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 12 | | move |f: Rc Tr>| -> Tr { f(a.clone()) } [INFO] [stdout] 13 | | ) } [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/monads/cont.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn cont_unit(a: Ta) -> ContMonad{ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | ContMonad { run_cont: Rc::new( [INFO] [stdout] 12 | move |f: Rc Tr>| -> Tr { f(a.clone()) } [INFO] [stdout] | ----------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/cont.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 34 | f_ab: Rc Tb>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | ma: ContMonad [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> ContMonad { [INFO] [stdout] 37 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | let f_ab_clone: Rc Tb> = f_ab.clone(); [INFO] [stdout] 39 | | let f_ar: Rc Tr> = Rc::new(move |a: Ta| -> Tr { f_br(f_ab_clone(a)) } ); [INFO] [stdout] 40 | | (ma.run_cont)(f_ar) [INFO] [stdout] 41 | | } ) } [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/monads/cont.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 37 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let f_ab_clone: Rc Tb> = f_ab.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let f_ar: Rc Tr> = Rc::new(move |a: Ta| -> Tr { f_br(f_ab_clone(a)) } ); [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/cont.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 59 | mf: ContMonad Tb>>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | ma: ContMonad [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ) -> ContMonad { [INFO] [stdout] 62 | let f_abrr: Rc Tb>) -> Tr>) -> Tr> = mf.run_cont.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | [INFO] [stdout] 64 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 65 | | let f_arr: Rc Tr>) -> Tr> = ma.run_cont.clone(); [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } ) ) [INFO] [stdout] 74 | | } ) } [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/monads/cont.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 60 | ma: ContMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ) -> ContMonad { [INFO] [stdout] 62 | let f_abrr: Rc Tb>) -> Tr>) -> Tr> = mf.run_cont.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | [INFO] [stdout] 64 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let f_arr: Rc Tr>) -> Tr> = ma.run_cont.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] | ________________^ [INFO] [stdout] 68 | | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | f_arr(Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] 71 | | f_br_clone(f_ab(a)) [INFO] [stdout] 72 | | } ) ) [INFO] [stdout] 73 | | } ) ) [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/monads/cont.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 64 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let f_arr: Rc Tr>) -> Tr> = ma.run_cont.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | [INFO] [stdout] 70 | f_arr(Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | f_br_clone(f_ab(a)) [INFO] [stdout] 72 | | } ) ) [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/monads/cont.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 67 | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | [INFO] [stdout] 70 | f_arr(Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | f_br_clone(f_ab(a)) [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/monads/cont.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 93 | ma: ContMonad, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | k_ab: ContKleisli [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ) -> ContMonad { [INFO] [stdout] 96 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 97 | | let f_a_mbrr: Rc ContMonad> = (k_ab.kleisli).clone(); [INFO] [stdout] 98 | | [INFO] [stdout] 99 | | let f_ar: Rc Tr> = Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] ... | [INFO] [stdout] 103 | | (ma.run_cont)(f_ar) [INFO] [stdout] 104 | | } ) } [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/monads/cont.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 96 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let f_a_mbrr: Rc ContMonad> = (k_ab.kleisli).clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | [INFO] [stdout] 99 | let f_ar: Rc Tr> = Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | (f_a_mbrr(a).run_cont)(f_br_clone) [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 35 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monad_rs` (bin "monad_rs") due to 36 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/monads/reader.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | ReaderMonad { run_reader: Rc::new(move |cfg: Tcfg| -> Ta { a.clone() } ) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/monads/reader.rs:90:48 [INFO] [stdout] | [INFO] [stdout] 90 | ReaderMonad { run_reader: Rc::new(|cfg| 11) } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/monads/reader.rs:92:76 [INFO] [stdout] | [INFO] [stdout] 92 | let r1: ReaderMonad<&str, i64> = ReaderMonad{ run_reader: Rc::new(|cfg| 33) }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cfg` [INFO] [stdout] --> src/monads/reader.rs:111:78 [INFO] [stdout] | [INFO] [stdout] 111 | let r1: ReaderMonad<&str, i64> = ReaderMonad { run_reader: Rc::new( |cfg| 10 )}; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cfg` [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/monads/writer.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | / WriterKleisli { [INFO] [stdout] 91 | | kleisli: Rc::new( move |$v| { writer_do!($($rest)*) } ) [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:73:48 [INFO] [stdout] | [INFO] [stdout] 73 | let square_value = |ma: (i64, StringLog) | writer_do!( [INFO] [stdout] | ________________________________________________- [INFO] [stdout] 74 | | val <- ma, [INFO] [stdout] 75 | | val2 = val * val, [INFO] [stdout] 76 | | log(StringLog{ log: "squared the number".to_string() }), [INFO] [stdout] 77 | | writer_unit(val2) [INFO] [stdout] 78 | | ); [INFO] [stdout] | |_____- in this macro invocation [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] = note: this error originates in the macro `writer_do` (in Nightly builds, run with -Z macro-backtrace for more info) [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/monads/writer.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | / WriterKleisli { [INFO] [stdout] 100 | | kleisli: Rc::new( move |_| { writer_do!($($rest)*) } ) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | let add_values = |x: i64| writer_do!( [INFO] [stdout] | _______________________________- [INFO] [stdout] 83 | | log("adding numbers now!".to_string()), [INFO] [stdout] 84 | | val = (1..x).sum::(), [INFO] [stdout] 85 | | log("finished adding numbers!".to_string()), [INFO] [stdout] 86 | | writer_unit(val) [INFO] [stdout] 87 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `writer_do` (in Nightly builds, run with -Z macro-backtrace for more info) [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/monads/reader.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn reader_unit(a: Ta) -> ReaderMonad { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | ReaderMonad { run_reader: Rc::new(move |cfg: Tcfg| -> Ta { a.clone() } ) } [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/monads/reader.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 16 | f_ab: Rc Tb>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ma: ReaderMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> ReaderMonad { [INFO] [stdout] 19 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { f_ab((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:19:70 [INFO] [stdout] | [INFO] [stdout] 16 | f_ab: Rc Tb>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | ma: ReaderMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | ) -> ReaderMonad { [INFO] [stdout] 19 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { f_ab((ma.run_reader)(cfg)) } ) } [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/reader.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 25 | mf: ReaderMonad Tb>>, [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ma: ReaderMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> ReaderMonad { [INFO] [stdout] 28 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((mf.run_reader)(cfg))((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:28:65 [INFO] [stdout] | [INFO] [stdout] 25 | mf: ReaderMonad Tb>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ma: ReaderMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> ReaderMonad { [INFO] [stdout] 28 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((mf.run_reader)(cfg))((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:28:88 [INFO] [stdout] | [INFO] [stdout] 25 | mf: ReaderMonad Tb>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | ma: ReaderMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 27 | ) -> ReaderMonad { [INFO] [stdout] 28 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((mf.run_reader)(cfg))((ma.run_reader)(cfg)) } ) } [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/monads/reader.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 38 | ma: ReaderMonad, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | k_ab: ReaderKleisli [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> ReaderMonad { [INFO] [stdout] 41 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((k_ab.kleisli)((ma.run_reader)(cfg.clone())).run_reader)(cfg.clone()) } ) } [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/monads/reader.rs:41:65 [INFO] [stdout] | [INFO] [stdout] 38 | ma: ReaderMonad, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | k_ab: ReaderKleisli [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> ReaderMonad { [INFO] [stdout] 41 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((k_ab.kleisli)((ma.run_reader)(cfg.clone())).run_reader)(cfg.clone()) } ) } [INFO] [stdout] | --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/reader.rs:41:123 [INFO] [stdout] | [INFO] [stdout] 38 | ma: ReaderMonad, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | k_ab: ReaderKleisli [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | ) -> ReaderMonad { [INFO] [stdout] 41 | ReaderMonad { run_reader: Rc::new( move |cfg: Tcfg| -> Tb { ((k_ab.kleisli)((ma.run_reader)(cfg.clone())).run_reader)(cfg.clone()) } ) } [INFO] [stdout] | --------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/state.rs:9:69 [INFO] [stdout] | [INFO] [stdout] 9 | StateMonad { run_state: Rc::new( move |s: Ts| -> (Ta, Ts) { (a, s.clone()) } ) } [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/state.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 15 | f_ab: Rc Tb>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ma: StateMonad [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | / Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] 20 | | let a_s: (Ta, Ts) = (ma.run_state)(s); [INFO] [stdout] 21 | | (f_ab(a_s.0), a_s.1) [INFO] [stdout] 22 | | }) [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/monads/state.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 15 | f_ab: Rc Tb>, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 16 | ma: StateMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 19 | Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let a_s: (Ta, Ts) = (ma.run_state)(s); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | (f_ab(a_s.0), a_s.1) [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/monads/state.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | mf: StateMonad Tb>>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ma: StateMonad [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | / Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] 34 | | let f_s: (Rc Tb>, Ts) = (mf.run_state)(s); [INFO] [stdout] 35 | | let a_s: (Ta, Ts) = (ma.run_state)(f_s.1); [INFO] [stdout] 36 | | ((f_s.0)(a_s.0), a_s.1) [INFO] [stdout] 37 | | }) [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/monads/state.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 29 | mf: StateMonad Tb>>, [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ma: StateMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | let f_s: (Rc Tb>, Ts) = (mf.run_state)(s); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | let a_s: (Ta, Ts) = (ma.run_state)(f_s.1); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ((f_s.0)(a_s.0), a_s.1) [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/monads/state.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 48 | ma: StateMonad, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | k_ab: StateKleisli [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | / Rc::new( move |s: Ts| -> (Tb, Ts) { [INFO] [stdout] 53 | | let a_s: (Ta, Ts) = (ma.run_state)(s); [INFO] [stdout] 54 | | let mb: StateMonad = (k_ab.kleisli)(a_s.0); [INFO] [stdout] 55 | | (mb.run_state)(a_s.1) [INFO] [stdout] 56 | | }) [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/monads/state.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put(s: Ts) -> StateMonad { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | StateMonad { run_state: Rc::new( move |_: Ts| -> ((), Ts) { ((), s.clone()) } ) } [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/monads/state.rs:73:70 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn put(s: Ts) -> StateMonad { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | StateMonad { run_state: Rc::new( move |_: Ts| -> ((), Ts) { ((), s.clone()) } ) } [INFO] [stdout] | ----- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/writer.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 20 | ma: WriterMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | ) -> WriterMonad { [INFO] [stdout] 22 | (f_ab(ma.0), ma.1) [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/monads/writer.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 28 | mf: WriterMonad Tb, Tlog>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ma: WriterMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> WriterMonad { [INFO] [stdout] 31 | ((mf.0)(ma.0), mf.1.mappend(ma.1)) [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/monads/writer.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 28 | mf: WriterMonad Tb, Tlog>, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | ma: WriterMonad [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | ) -> WriterMonad { [INFO] [stdout] 31 | ((mf.0)(ma.0), mf.1.mappend(ma.1)) [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/monads/writer.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 42 | ma: WriterMonad, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | k_ab: WriterKleisli [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | ) -> WriterMonad { [INFO] [stdout] 45 | let b_log_ab: WriterMonad = (k_ab.kleisli)(ma.0); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 46 | (b_log_ab.0, ma.1.mappend(b_log_ab.1)) [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/monads/writer.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 65 | wab: WriterKleisli, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | wbc: WriterKleisli [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | kleisli: Rc::new(move |a: Ta| -> WriterMonad { [INFO] [stdout] | __________________^ [INFO] [stdout] 71 | | let b_log_ab: WriterMonad = (wab.kleisli)(a); [INFO] [stdout] 72 | | let c_log_bc: WriterMonad = (wbc.kleisli)(b_log_ab.0); [INFO] [stdout] 73 | | (c_log_bc.0, b_log_ab.1.mappend(c_log_bc.1)) [INFO] [stdout] 74 | | }) [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/monads/writer.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 65 | wab: WriterKleisli, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | wbc: WriterKleisli [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | kleisli: Rc::new(move |a: Ta| -> WriterMonad { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | let b_log_ab: WriterMonad = (wab.kleisli)(a); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | let c_log_bc: WriterMonad = (wbc.kleisli)(b_log_ab.0); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | (c_log_bc.0, b_log_ab.1.mappend(c_log_bc.1)) [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/monads/writer.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | / WriterKleisli { [INFO] [stdout] 100 | | kleisli: Rc::new( move |_| { writer_do!($($rest)*) } ) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 146 | let do_calculation = |x| writer_do!( [INFO] [stdout] | __________________________________- [INFO] [stdout] 147 | | log(format!("received number {}", x)), [INFO] [stdout] 148 | | x0 = x + 10, [INFO] [stdout] 149 | | log("added 10 to the number".to_string()), [INFO] [stdout] ... | [INFO] [stdout] 152 | | writer_unit(x1) [INFO] [stdout] 153 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `writer_do` (in Nightly builds, run with -Z macro-backtrace for more info) [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/monads/cont.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn cont_unit(a: Ta) -> ContMonad{ [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | ContMonad { run_cont: Rc::new( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 12 | | move |f: Rc Tr>| -> Tr { f(a.clone()) } [INFO] [stdout] 13 | | ) } [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/monads/cont.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn cont_unit(a: Ta) -> ContMonad{ [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | ContMonad { run_cont: Rc::new( [INFO] [stdout] 12 | move |f: Rc Tr>| -> Tr { f(a.clone()) } [INFO] [stdout] | ----------------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/cont.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 34 | f_ab: Rc Tb>, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | ma: ContMonad [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | ) -> ContMonad { [INFO] [stdout] 37 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 38 | | let f_ab_clone: Rc Tb> = f_ab.clone(); [INFO] [stdout] 39 | | let f_ar: Rc Tr> = Rc::new(move |a: Ta| -> Tr { f_br(f_ab_clone(a)) } ); [INFO] [stdout] 40 | | (ma.run_cont)(f_ar) [INFO] [stdout] 41 | | } ) } [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/monads/cont.rs:39:76 [INFO] [stdout] | [INFO] [stdout] 37 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let f_ab_clone: Rc Tb> = f_ab.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let f_ar: Rc Tr> = Rc::new(move |a: Ta| -> Tr { f_br(f_ab_clone(a)) } ); [INFO] [stdout] | ----- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/monads/cont.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 59 | mf: ContMonad Tb>>, [INFO] [stdout] | --------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | ma: ContMonad [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ) -> ContMonad { [INFO] [stdout] 62 | let f_abrr: Rc Tb>) -> Tr>) -> Tr> = mf.run_cont.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | [INFO] [stdout] 64 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 65 | | let f_arr: Rc Tr>) -> Tr> = ma.run_cont.clone(); [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] ... | [INFO] [stdout] 73 | | } ) ) [INFO] [stdout] 74 | | } ) } [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/monads/cont.rs:67:16 [INFO] [stdout] | [INFO] [stdout] 60 | ma: ContMonad [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | ) -> ContMonad { [INFO] [stdout] 62 | let f_abrr: Rc Tb>) -> Tr>) -> Tr> = mf.run_cont.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | [INFO] [stdout] 64 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let f_arr: Rc Tr>) -> Tr> = ma.run_cont.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] | ________________^ [INFO] [stdout] 68 | | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] 69 | | [INFO] [stdout] 70 | | f_arr(Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] 71 | | f_br_clone(f_ab(a)) [INFO] [stdout] 72 | | } ) ) [INFO] [stdout] 73 | | } ) ) [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/monads/cont.rs:70:19 [INFO] [stdout] | [INFO] [stdout] 64 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| -> Tr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | let f_arr: Rc Tr>) -> Tr> = ma.run_cont.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | [INFO] [stdout] 67 | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | [INFO] [stdout] 70 | f_arr(Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] | ___________________^ [INFO] [stdout] 71 | | f_br_clone(f_ab(a)) [INFO] [stdout] 72 | | } ) ) [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/monads/cont.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 67 | f_abrr(Rc::new(move |f_ab: Rc Tb>| -> Tr { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | [INFO] [stdout] 70 | f_arr(Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | f_br_clone(f_ab(a)) [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/monads/cont.rs:96:27 [INFO] [stdout] | [INFO] [stdout] 93 | ma: ContMonad, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | k_ab: ContKleisli [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | ) -> ContMonad { [INFO] [stdout] 96 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 97 | | let f_a_mbrr: Rc ContMonad> = (k_ab.kleisli).clone(); [INFO] [stdout] 98 | | [INFO] [stdout] 99 | | let f_ar: Rc Tr> = Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] ... | [INFO] [stdout] 103 | | (ma.run_cont)(f_ar) [INFO] [stdout] 104 | | } ) } [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/monads/cont.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 96 | ContMonad { run_cont: Rc::new( move |f_br: Rc Tr>| { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let f_a_mbrr: Rc ContMonad> = (k_ab.kleisli).clone(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | [INFO] [stdout] 99 | let f_ar: Rc Tr> = Rc::new( move |a: Ta| -> Tr { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | let f_br_clone: Rc Tr> = f_br.clone(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | (f_a_mbrr(a).run_cont)(f_br_clone) [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/monads/cont.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | / ContKleisli { [INFO] [stdout] 119 | | kleisli: Rc::new( move |$v| { cont_do!($($rest)*) } ) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 204 | let do_calc0 = |c| cont_do!( [INFO] [stdout] | _________________________-__- [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | | x0 <- c, [INFO] [stdout] 206 | | x1 <- cont_unit(10 * x0), [INFO] [stdout] 207 | | x2 <- cont_unit(x1 + 12), [INFO] [stdout] 208 | | cont_unit(x2) [INFO] [stdout] 209 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `cont_do` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monad_rs` (bin "monad_rs" test) due to 38 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d35ec796758fae265ed5b6fd054c019294b33784d020457ba5b4da9aaa0bc2ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d35ec796758fae265ed5b6fd054c019294b33784d020457ba5b4da9aaa0bc2ff", kill_on_drop: false }` [INFO] [stdout] d35ec796758fae265ed5b6fd054c019294b33784d020457ba5b4da9aaa0bc2ff