[INFO] cloning repository https://github.com/EliasPrescott/swish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EliasPrescott/swish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliasPrescott%2Fswish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEliasPrescott%2Fswish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 931751878c29f349dbea8d816daaaf51be4058ed [INFO] checking EliasPrescott/swish/931751878c29f349dbea8d816daaaf51be4058ed 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%2FEliasPrescott%2Fswish" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EliasPrescott/swish 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/EliasPrescott/swish [INFO] finished tweaking git repo https://github.com/EliasPrescott/swish [INFO] tweaked toml for git repo https://github.com/EliasPrescott/swish written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/EliasPrescott/swish 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dd975d8fd47a3d2495e9a3beaf616f7aef59040da65ad3f2b811d6f56880888 [INFO] running `Command { std: "docker" "start" "-a" "9dd975d8fd47a3d2495e9a3beaf616f7aef59040da65ad3f2b811d6f56880888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dd975d8fd47a3d2495e9a3beaf616f7aef59040da65ad3f2b811d6f56880888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd975d8fd47a3d2495e9a3beaf616f7aef59040da65ad3f2b811d6f56880888", kill_on_drop: false }` [INFO] [stdout] 9dd975d8fd47a3d2495e9a3beaf616f7aef59040da65ad3f2b811d6f56880888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee9cc24b1243d8eaa05a41eb7ee0883a89c1dfd2d5b7ac05bbe65935e3490fa8 [INFO] running `Command { std: "docker" "start" "-a" "ee9cc24b1243d8eaa05a41eb7ee0883a89c1dfd2d5b7ac05bbe65935e3490fa8", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.3.0 [INFO] [stderr] Checking nom v7.1.2 [INFO] [stderr] Checking swish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/ast_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multispace1` [INFO] [stdout] --> src/ast_type.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | character::complete::{alpha1, char, multispace0, multispace1}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::identifier_parser::identifier` [INFO] [stdout] --> src/ast_type.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::identifier_parser::identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/ast_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | collections::HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multispace1` [INFO] [stdout] --> src/ast_type.rs:9:54 [INFO] [stdout] | [INFO] [stdout] 9 | character::complete::{alpha1, char, multispace0, multispace1}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::identifier_parser::identifier` [INFO] [stdout] --> src/ast_type.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::identifier_parser::identifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg0` [INFO] [stdout] --> src/ast.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Builtin(arg0, arg1) => f.debug_tuple("Builtin").finish(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg1` [INFO] [stdout] --> src/ast.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Builtin(arg0, arg1) => f.debug_tuple("Builtin").finish(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l0` [INFO] [stdout] --> src/ast.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l1` [INFO] [stdout] --> src/ast.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/ast.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/ast.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ast.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | other => None, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_first_identifier_usage` is never used [INFO] [stdout] --> src/ast.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl AstNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_first_identifier_usage(&self, identifier: &str) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `float` is never used [INFO] [stdout] --> src/test_helpers.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn float(float: f64) -> AstNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `int` is never used [INFO] [stdout] --> src/test_helpers.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn int(int: i64) -> AstNode { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit` is never used [INFO] [stdout] --> src/test_helpers.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const unit: AstNode = AstNode::Unit; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident` is never used [INFO] [stdout] --> src/test_helpers.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn ident(text: &str, expected_type: AstType) -> AstNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func` is never used [INFO] [stdout] --> src/test_helpers.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn func(param: &str, expected_param_type: AstType, body: AstNode) -> AstNode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_call` is never used [INFO] [stdout] --> src/test_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn func_call(items: Vec) -> AstNode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_parse` is never used [INFO] [stdout] --> src/test_helpers.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn assert_parse(input: &str, comp: AstNode) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_type` is never used [INFO] [stdout] --> src/test_helpers.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn assert_type(input: &str, t: AstType) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_type` is never used [INFO] [stdout] --> src/test_helpers.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse_type(input: &str, t: AstType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `poly_type` is never used [INFO] [stdout] --> src/test_helpers.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn poly_type(name: &str) -> AstType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bounded_poly_type` is never used [INFO] [stdout] --> src/test_helpers.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn bounded_poly_type(name: &str, bounds: Vec) -> AstType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_type` is never used [INFO] [stdout] --> src/test_helpers.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn func_type(parameter_type: AstType, body_type: AstType) -> AstType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_type` is never used [INFO] [stdout] --> src/test_helpers.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const int_type: AstType = AstType::Mono(MonoType::Integer); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `float_type` is never used [INFO] [stdout] --> src/test_helpers.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub const float_type: AstType = AstType::Mono(MonoType::Float); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `string_type` is never used [INFO] [stdout] --> src/test_helpers.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const string_type: AstType = AstType::Mono(MonoType::String); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit_type` is never used [INFO] [stdout] --> src/test_helpers.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const unit_type: AstType = AstType::Mono(MonoType::Unit); [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/ast.rs:194:68 [INFO] [stdout] | [INFO] [stdout] 194 | .map(|x| x.replace_identifier_type(identifier, new_type.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] = 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/ast.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 240 | let (rem, (params, _)) = many_till( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | let (rem, body) = AstNode::parse(rem)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 258 | | rem, [INFO] [stdout] 259 | | params [INFO] [stdout] 260 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 274 | | }), [INFO] [stdout] 275 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/ast.rs:244:62 [INFO] [stdout] | [INFO] [stdout] 244 | map(parse_typed_identifier_raw, |(s, t)| (s, Some(t))), [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/ast.rs:245:52 [INFO] [stdout] | [INFO] [stdout] 245 | map(identifier, |s| (s.to_owned(), None)), [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/ast.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 262 | .fold(body, |prev_body, (next_ident, next_ident_type)| { [INFO] [stdout] | --------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | AstNode::Function(AstFunction { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 264 | | parameter: next_ident.to_owned(), [INFO] [stdout] 265 | | parameter_type: match next_ident_type { [INFO] [stdout] 266 | | Some(t) => t, [INFO] [stdout] ... | [INFO] [stdout] 272 | | body: AstFunctionBody::Ast(Box::new(prev_body)), [INFO] [stdout] 273 | | }) [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/ast.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 280 | let (rem, out) = map( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | Ok((rem, out)) [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/ast.rs:350:79 [INFO] [stdout] | [INFO] [stdout] 350 | |(_, _, ident, _, _, _, value)| AstNode::Assignment(ident.to_owned(), Box::new(value)), [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/ast_type.rs:130:72 [INFO] [stdout] | [INFO] [stdout] 130 | ... .map(|x| x.with_poly_as(poly_name.clone(), as_type.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/ast_type.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | map(tag("int"), |_| AstType::Mono(MonoType::Integer))(input) [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/ast_type.rs:210:41 [INFO] [stdout] | [INFO] [stdout] 210 | map(tag("float"), |_| AstType::Mono(MonoType::Float))(input) [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/ast_type.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | map(tag("()"), |_| AstType::Mono(MonoType::Unit))(input) [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/ast_type.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | map(tag("string"), |_| AstType::Mono(MonoType::String))(input) [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/ast_type.rs:245:27 [INFO] [stdout] | [INFO] [stdout] 244 | |(_, param, _, _, _, out, _)| { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | AstType::Mono(MonoType::Function(Box::new(param), Box::new(out))) [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] [stderr] error: could not compile `swish` (bin "swish") due to 20 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/string_parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | let parse_hex = take_while_m_n(1, 6, |c: char| c.is_ascii_hexdigit()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | [INFO] [stdout] 16 | let parse_delimited_hex = preceded( [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let parse_u32 = map_res(parse_delimited_hex, move |hex| u32::from_str_radix(hex, 16)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | map_opt(parse_u32, std::char::from_u32)(input) [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/string_parser.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | let not_quote_slash = is_not("\"\\"); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | verify(not_quote_slash, |s: &str| !s.is_empty())(input) [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/string_parser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 80 | let build_string = fold_many1( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | delimited(char('"'), build_string, char('"'))(input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const unit: AstNode = AstNode::Unit; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `UNIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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/test_helpers.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn func(param: &str, expected_param_type: AstType, body: AstNode) -> AstNode { [INFO] [stdout] | ---------------------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | AstNode::Function(AstFunction { [INFO] [stdout] | _______________________^ [INFO] [stdout] 23 | | parameter: param.to_owned(), [INFO] [stdout] 24 | | parameter_type: expected_param_type, [INFO] [stdout] 25 | | body: AstFunctionBody::Ast(Box::new(body)), [INFO] [stdout] 26 | | }) [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/test_helpers.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn bounded_poly_type(name: &str, bounds: Vec) -> AstType { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | AstType::Poly(PolyType { [INFO] [stdout] | ___________________^ [INFO] [stdout] 57 | | name: name.to_owned(), [INFO] [stdout] 58 | | bounds: bounds, [INFO] [stdout] 59 | | }) [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/test_helpers.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn func_type(parameter_type: AstType, body_type: AstType) -> AstType { [INFO] [stdout] | ----------------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | AstType::Mono(MonoType::Function( [INFO] [stdout] | ___________________^ [INFO] [stdout] 64 | | Box::new(parameter_type), [INFO] [stdout] 65 | | Box::new(body_type), [INFO] [stdout] 66 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const int_type: AstType = AstType::Mono(MonoType::Integer); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INT_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `float_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub const float_type: AstType = AstType::Mono(MonoType::Float); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `FLOAT_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `string_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const string_type: AstType = AstType::Mono(MonoType::String); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `STRING_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const unit_type: AstType = AstType::Mono(MonoType::Unit); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `UNIT_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg0` [INFO] [stdout] --> src/ast.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Builtin(arg0, arg1) => f.debug_tuple("Builtin").finish(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg1` [INFO] [stdout] --> src/ast.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | Self::Builtin(arg0, arg1) => f.debug_tuple("Builtin").finish(), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_arg1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l0` [INFO] [stdout] --> src/ast.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l1` [INFO] [stdout] --> src/ast.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_l1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r0` [INFO] [stdout] --> src/ast.rs:123:51 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> src/ast.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | (Self::Builtin(l0, l1), Self::Builtin(r0, r1)) => false, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/ast.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | other => None, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_first_identifier_usage` is never used [INFO] [stdout] --> src/ast.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 131 | impl AstNode { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn get_first_identifier_usage(&self, identifier: &str) -> Option<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ident` is never used [INFO] [stdout] --> src/test_helpers.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn ident(text: &str, expected_type: AstType) -> AstNode { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func` is never used [INFO] [stdout] --> src/test_helpers.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn func(param: &str, expected_param_type: AstType, body: AstNode) -> AstNode { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `func_call` is never used [INFO] [stdout] --> src/test_helpers.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn func_call(items: Vec) -> AstNode { [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/ast.rs:194:68 [INFO] [stdout] | [INFO] [stdout] 194 | .map(|x| x.replace_identifier_type(identifier, new_type.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] = 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/ast.rs:257:8 [INFO] [stdout] | [INFO] [stdout] 240 | let (rem, (params, _)) = many_till( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 254 | let (rem, body) = AstNode::parse(rem)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 258 | | rem, [INFO] [stdout] 259 | | params [INFO] [stdout] 260 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 274 | | }), [INFO] [stdout] 275 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/ast.rs:244:62 [INFO] [stdout] | [INFO] [stdout] 244 | map(parse_typed_identifier_raw, |(s, t)| (s, Some(t))), [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/ast.rs:245:52 [INFO] [stdout] | [INFO] [stdout] 245 | map(identifier, |s| (s.to_owned(), None)), [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/ast.rs:263:35 [INFO] [stdout] | [INFO] [stdout] 262 | .fold(body, |prev_body, (next_ident, next_ident_type)| { [INFO] [stdout] | --------- ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 263 | AstNode::Function(AstFunction { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 264 | | parameter: next_ident.to_owned(), [INFO] [stdout] 265 | | parameter_type: match next_ident_type { [INFO] [stdout] 266 | | Some(t) => t, [INFO] [stdout] ... | [INFO] [stdout] 272 | | body: AstFunctionBody::Ast(Box::new(prev_body)), [INFO] [stdout] 273 | | }) [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/ast.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 280 | let (rem, out) = map( [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 285 | Ok((rem, out)) [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/ast.rs:350:79 [INFO] [stdout] | [INFO] [stdout] 350 | |(_, _, ident, _, _, _, value)| AstNode::Assignment(ident.to_owned(), Box::new(value)), [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/ast_type.rs:130:72 [INFO] [stdout] | [INFO] [stdout] 130 | ... .map(|x| x.with_poly_as(poly_name.clone(), as_type.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/ast_type.rs:206:39 [INFO] [stdout] | [INFO] [stdout] 206 | map(tag("int"), |_| AstType::Mono(MonoType::Integer))(input) [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/ast_type.rs:210:41 [INFO] [stdout] | [INFO] [stdout] 210 | map(tag("float"), |_| AstType::Mono(MonoType::Float))(input) [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/ast_type.rs:214:38 [INFO] [stdout] | [INFO] [stdout] 214 | map(tag("()"), |_| AstType::Mono(MonoType::Unit))(input) [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/ast_type.rs:218:42 [INFO] [stdout] | [INFO] [stdout] 218 | map(tag("string"), |_| AstType::Mono(MonoType::String))(input) [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/ast_type.rs:245:27 [INFO] [stdout] | [INFO] [stdout] 244 | |(_, param, _, _, _, out, _)| { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 245 | AstType::Mono(MonoType::Function(Box::new(param), Box::new(out))) [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/string_parser.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 14 | let parse_hex = take_while_m_n(1, 6, |c: char| c.is_ascii_hexdigit()); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | [INFO] [stdout] 16 | let parse_delimited_hex = preceded( [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 21 | let parse_u32 = map_res(parse_delimited_hex, move |hex| u32::from_str_radix(hex, 16)); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | [INFO] [stdout] 23 | map_opt(parse_u32, std::char::from_u32)(input) [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/string_parser.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | let not_quote_slash = is_not("\"\\"); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | verify(not_quote_slash, |s: &str| !s.is_empty())(input) [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/string_parser.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 80 | let build_string = fold_many1( [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | delimited(char('"'), build_string, char('"'))(input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const unit: AstNode = AstNode::Unit; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `UNIT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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/test_helpers.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn func(param: &str, expected_param_type: AstType, body: AstNode) -> AstNode { [INFO] [stdout] | ---------------------------- ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 22 | AstNode::Function(AstFunction { [INFO] [stdout] | _______________________^ [INFO] [stdout] 23 | | parameter: param.to_owned(), [INFO] [stdout] 24 | | parameter_type: expected_param_type, [INFO] [stdout] 25 | | body: AstFunctionBody::Ast(Box::new(body)), [INFO] [stdout] 26 | | }) [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/test_helpers.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn bounded_poly_type(name: &str, bounds: Vec) -> AstType { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | AstType::Poly(PolyType { [INFO] [stdout] | ___________________^ [INFO] [stdout] 57 | | name: name.to_owned(), [INFO] [stdout] 58 | | bounds: bounds, [INFO] [stdout] 59 | | }) [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/test_helpers.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn func_type(parameter_type: AstType, body_type: AstType) -> AstType { [INFO] [stdout] | ----------------------- ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | AstType::Mono(MonoType::Function( [INFO] [stdout] | ___________________^ [INFO] [stdout] 64 | | Box::new(parameter_type), [INFO] [stdout] 65 | | Box::new(body_type), [INFO] [stdout] 66 | | )) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `int_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const int_type: AstType = AstType::Mono(MonoType::Integer); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `INT_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `float_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub const float_type: AstType = AstType::Mono(MonoType::Float); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `FLOAT_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `string_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:71:11 [INFO] [stdout] | [INFO] [stdout] 71 | pub const string_type: AstType = AstType::Mono(MonoType::String); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `STRING_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `unit_type` should have an upper case name [INFO] [stdout] --> src/test_helpers.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | pub const unit_type: AstType = AstType::Mono(MonoType::Unit); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper case: `UNIT_TYPE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swish` (bin "swish" test) due to 20 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee9cc24b1243d8eaa05a41eb7ee0883a89c1dfd2d5b7ac05bbe65935e3490fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee9cc24b1243d8eaa05a41eb7ee0883a89c1dfd2d5b7ac05bbe65935e3490fa8", kill_on_drop: false }` [INFO] [stdout] ee9cc24b1243d8eaa05a41eb7ee0883a89c1dfd2d5b7ac05bbe65935e3490fa8