[INFO] fetching crate jabberwock 0.1.0... [INFO] checking jabberwock-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate jabberwock 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate jabberwock 0.1.0 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 jabberwock 0.1.0 [INFO] finished tweaking crates.io crate jabberwock 0.1.0 [INFO] tweaked toml for crates.io crate jabberwock 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 18 packages to latest compatible versions [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 3d9a1799a781a854e3ed5969e35248836d0fed552a1d0c442ea28fdc639894ed [INFO] running `Command { std: "docker" "start" "-a" "3d9a1799a781a854e3ed5969e35248836d0fed552a1d0c442ea28fdc639894ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d9a1799a781a854e3ed5969e35248836d0fed552a1d0c442ea28fdc639894ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9a1799a781a854e3ed5969e35248836d0fed552a1d0c442ea28fdc639894ed", kill_on_drop: false }` [INFO] [stdout] 3d9a1799a781a854e3ed5969e35248836d0fed552a1d0c442ea28fdc639894ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1bd888959d62a134f4938e8e3c9e2314b7df20f3a24957a12e24c9bb2fc19464 [INFO] running `Command { std: "docker" "start" "-a" "1bd888959d62a134f4938e8e3c9e2314b7df20f3a24957a12e24c9bb2fc19464", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking pipeline v0.5.0 [INFO] [stderr] Checking hatter v0.1.4 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking markdown v0.3.0 [INFO] [stderr] Checking jabberwock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | raw: fs::read(path_ref) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn source(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let path_ref = path.as_ref(); [INFO] [stdout] 69 | Ok(Generator { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | env: Env::new(), [INFO] [stdout] 71 | | data: glob::glob(path_ref [INFO] [stdout] 72 | | .join("**") [INFO] [stdout] ... | [INFO] [stdout] 80 | | source: path_ref.into(), [INFO] [stdout] 81 | | }) [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/builtin/content.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn content(args: Args) -> hatter::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | / markdown::file_to_html(&Path::new(macros::require_env_string!(MARKDOWN_DIR_VAR, args.env)?.to_str()) [INFO] [stdout] 38 | | .join(args.need_string(0)?) [INFO] [stdout] 39 | | .with_extension("md")) [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/macros/mod.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | .map_or_else(|| Err(Error::new(ErrorKind::RuntimeError, format!("Missing variable in env: {}", $var), 0, 0)), Ok)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/content.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | markdown::file_to_html(&Path::new(macros::require_env_string!(MARKDOWN_DIR_VAR, args.env)?.to_str()) [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 `macros::require_env_string` (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/macros/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / { [INFO] [stdout] 5 | | use hatter::Error; [INFO] [stdout] 6 | | use hatter::ErrorKind; [INFO] [stdout] 7 | | Error::new(ErrorKind::$kind, $details.into(), 0, 0) [INFO] [stdout] 8 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/content.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | ...lse(|error| Err(macros::error!(RuntimeError, format!("Error parsing Markdown file to HTML: {}", error))), |markdown| Ok(Value::String(... [INFO] [stdout] | ----- --------------------------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `macros::error` (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/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn read(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | raw: fs::read(path_ref) [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/builtin/content.rs:40:138 [INFO] [stdout] | [INFO] [stdout] 40 | ...Markdown file to HTML: {}", error))), |markdown| Ok(Value::String(markdown.into()))) [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/macros/mod.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | .map_or_else(|| Err(Error::new(ErrorKind::RuntimeError, format!("Missing variable in env: {}", $var), 0, 0)), Ok)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/include.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | let hat = fs::read_to_string(Path::new(macros::require_env_string!(TEMPLATES_DIR_VAR, args.env)?.to_str()) [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 `macros::require_env_string` (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/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn source(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 68 | let path_ref = path.as_ref(); [INFO] [stdout] 69 | Ok(Generator { [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | env: Env::new(), [INFO] [stdout] 71 | | data: glob::glob(path_ref [INFO] [stdout] 72 | | .join("**") [INFO] [stdout] ... | [INFO] [stdout] 80 | | source: path_ref.into(), [INFO] [stdout] 81 | | }) [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/builtin/load.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn load(args: Args) -> hatter::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Ok(Value::Map(Map::new(fs::read_to_string(Path::new(macros::require_env_string!(VARIABLES_DIR_VAR, args.env)?.to_str()) [INFO] [stdout] | ________^ [INFO] [stdout] 43 | | .join(args.need_string(0)?) [INFO] [stdout] 44 | | .with_extension("toml"))? [INFO] [stdout] 45 | | .parse::() [INFO] [stdout] ... | [INFO] [stdout] 53 | | map [INFO] [stdout] 54 | | })))) [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/macros/mod.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | .map_or_else(|| Err(Error::new(ErrorKind::RuntimeError, format!("Missing variable in env: {}", $var), 0, 0)), Ok)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/load.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(Value::Map(Map::new(fs::read_to_string(Path::new(macros::require_env_string!(VARIABLES_DIR_VAR, args.env)?.to_str()) [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 `macros::require_env_string` (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/macros/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | Error::new(ErrorKind::$kind, $details.into(), 0, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/load.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | .map_err(|error| macros::error!(RuntimeError, error.to_string()))? [INFO] [stdout] | ----- ----------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `macros::error` (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/builtin/content.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | fn content(args: Args) -> hatter::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | / markdown::file_to_html(&Path::new(macros::require_env_string!(MARKDOWN_DIR_VAR, args.env)?.to_str()) [INFO] [stdout] 38 | | .join(args.need_string(0)?) [INFO] [stdout] 39 | | .with_extension("md")) [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/builtin/load.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|(key, val)| (key, toml_to_value(val))) [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/macros/mod.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | .map_or_else(|| Err(Error::new(ErrorKind::RuntimeError, format!("Missing variable in env: {}", $var), 0, 0)), Ok)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/content.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | markdown::file_to_html(&Path::new(macros::require_env_string!(MARKDOWN_DIR_VAR, args.env)?.to_str()) [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 `macros::require_env_string` (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/macros/mod.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | / { [INFO] [stdout] 5 | | use hatter::Error; [INFO] [stdout] 6 | | use hatter::ErrorKind; [INFO] [stdout] 7 | | Error::new(ErrorKind::$kind, $details.into(), 0, 0) [INFO] [stdout] 8 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/content.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | ...lse(|error| Err(macros::error!(RuntimeError, format!("Error parsing Markdown file to HTML: {}", error))), |markdown| Ok(Value::String(... [INFO] [stdout] | ----- --------------------------------------------------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `macros::error` (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/builtin/content.rs:40:138 [INFO] [stdout] | [INFO] [stdout] 40 | ...Markdown file to HTML: {}", error))), |markdown| Ok(Value::String(markdown.into()))) [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/macros/mod.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | .map_or_else(|| Err(Error::new(ErrorKind::RuntimeError, format!("Missing variable in env: {}", $var), 0, 0)), Ok)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/include.rs:37:44 [INFO] [stdout] | [INFO] [stdout] 37 | let hat = fs::read_to_string(Path::new(macros::require_env_string!(TEMPLATES_DIR_VAR, args.env)?.to_str()) [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 `macros::require_env_string` (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/builtin/load.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn load(args: Args) -> hatter::Result { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | Ok(Value::Map(Map::new(fs::read_to_string(Path::new(macros::require_env_string!(VARIABLES_DIR_VAR, args.env)?.to_str()) [INFO] [stdout] | ________^ [INFO] [stdout] 43 | | .join(args.need_string(0)?) [INFO] [stdout] 44 | | .with_extension("toml"))? [INFO] [stdout] 45 | | .parse::() [INFO] [stdout] ... | [INFO] [stdout] 53 | | map [INFO] [stdout] 54 | | })))) [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/macros/mod.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | .map_or_else(|| Err(Error::new(ErrorKind::RuntimeError, format!("Missing variable in env: {}", $var), 0, 0)), Ok)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/load.rs:42:57 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(Value::Map(Map::new(fs::read_to_string(Path::new(macros::require_env_string!(VARIABLES_DIR_VAR, args.env)?.to_str()) [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 `macros::require_env_string` (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/macros/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | Error::new(ErrorKind::$kind, $details.into(), 0, 0) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/builtin/load.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | .map_err(|error| macros::error!(RuntimeError, error.to_string()))? [INFO] [stdout] | ----- ----------------------------------------------- in this macro invocation [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] = note: this error originates in the macro `macros::error` (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/builtin/load.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | .map(|(key, val)| (key, toml_to_value(val))) [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 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jabberwock` (lib test) due to 12 previous errors [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `jabberwock` (lib) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "1bd888959d62a134f4938e8e3c9e2314b7df20f3a24957a12e24c9bb2fc19464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd888959d62a134f4938e8e3c9e2314b7df20f3a24957a12e24c9bb2fc19464", kill_on_drop: false }` [INFO] [stdout] 1bd888959d62a134f4938e8e3c9e2314b7df20f3a24957a12e24c9bb2fc19464