[INFO] cloning repository https://github.com/Davidflogar/phpl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Davidflogar/phpl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidflogar%2Fphpl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidflogar%2Fphpl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 838bd1a8d8dc57b1e2d30d4cc28ca544ca55cb73 [INFO] checking Davidflogar/phpl/838bd1a8d8dc57b1e2d30d4cc28ca544ca55cb73 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%2FDavidflogar%2Fphpl" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Davidflogar/phpl 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/Davidflogar/phpl [INFO] finished tweaking git repo https://github.com/Davidflogar/phpl [INFO] tweaked toml for git repo https://github.com/Davidflogar/phpl written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Davidflogar/phpl 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-6-tc2/source/php-parser/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 92814e91de497926847288c6ac6dedb5d154c7f7b87b92e1dd6eaff9fce3655c [INFO] running `Command { std: "docker" "start" "-a" "92814e91de497926847288c6ac6dedb5d154c7f7b87b92e1dd6eaff9fce3655c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92814e91de497926847288c6ac6dedb5d154c7f7b87b92e1dd6eaff9fce3655c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92814e91de497926847288c6ac6dedb5d154c7f7b87b92e1dd6eaff9fce3655c", kill_on_drop: false }` [INFO] [stdout] 92814e91de497926847288c6ac6dedb5d154c7f7b87b92e1dd6eaff9fce3655c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] b29ff653a52e86b474e71ff544b2bef4f2f77183a83e9f892705060869fb5d65 [INFO] running `Command { std: "docker" "start" "-a" "b29ff653a52e86b474e71ff544b2bef4f2f77183a83e9f892705060869fb5d65", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/php-parser/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling schemars v0.8.15 [INFO] [stderr] Checking dyn-clone v1.0.16 [INFO] [stderr] Checking ariadne v0.1.5 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling schemars_derive v0.8.15 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking php-parser-rs v0.1.3 (/opt/rustwide/workdir/php-parser) [INFO] [stdout] warning: fields `2` and `3` are never read [INFO] [stdout] --> php-parser/src/lexer/state/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | DocString( [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 23 | DocStringIndentationKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | DocStringIndentationAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 ~ (), [INFO] [stdout] 24 ~ (), [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] --> php-parser/src/parser/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 73 | let mut state = State::new(&mut stream); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | let mut program = Program::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(program.to_vec()) [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] --> php-parser/src/parser/expressions.rs:1236:8 [INFO] [stdout] | [INFO] [stdout] 1235 | fn postfix(state: &mut State, lhs: Expression, op: &TokenKind) -> ParseResult { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1236 | Ok(match op { [INFO] [stdout] | ________^ [INFO] [stdout] 1237 | | TokenKind::DoubleQuestion => { [INFO] [stdout] 1238 | | let double_question = state.stream.current().span; [INFO] [stdout] 1239 | | state.stream.next(); [INFO] [stdout] ... | [INFO] [stdout] 1514 | | _ => todo!("postfix: {:?}", op), [INFO] [stdout] 1515 | | }) [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] --> php-parser/src/parser/internal/arrays.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 157 | let mut value = expressions::create(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok(ArrayItem::Value { value }) [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] --> php-parser/src/parser/internal/blocks.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 11 | let (left_brace, statements, right_brace) = utils::braced(state, &|state: &mut State| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | Ok(Statement::Block(BlockStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 16 | | left_brace, [INFO] [stdout] 17 | | statements, [INFO] [stdout] 18 | | right_brace, [INFO] [stdout] 19 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/classes.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 30 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let body = ClassBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok(Statement::Class(ClassStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | class, [INFO] [stdout] 85 | | name, [INFO] [stdout] 86 | | modifiers, [INFO] [stdout] ... | [INFO] [stdout] 90 | | body, [INFO] [stdout] 91 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/classes.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 102 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let arguments = if state.stream.current().kind == TokenKind::LeftParen { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | let body = AnonymousClassBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(Expression::New(NewExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 155 | | target: Box::new(Expression::AnonymousClass(AnonymousClassExpression { [INFO] [stdout] 156 | | class, [INFO] [stdout] 157 | | extends, [INFO] [stdout] ... | [INFO] [stdout] 163 | | arguments, [INFO] [stdout] 164 | | })) [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] --> php-parser/src/parser/internal/constants.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 16 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(ConstantStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | comments, [INFO] [stdout] 40 | | r#const: start, [INFO] [stdout] 41 | | entries, [INFO] [stdout] 42 | | semicolon: end, [INFO] [stdout] 43 | | }) [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] --> php-parser/src/parser/internal/constants.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 50 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(ClassishConstant { [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | comments, [INFO] [stdout] 79 | | attributes, [INFO] [stdout] 80 | | modifiers, [INFO] [stdout] ... | [INFO] [stdout] 83 | | semicolon: end, [INFO] [stdout] 84 | | }) [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] --> php-parser/src/parser/internal/control_flow.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 28 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let mut default: Option> = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut arms = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Expression::Match(MatchExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 100 | | keyword, [INFO] [stdout] 101 | | left_parenthesis, [INFO] [stdout] 102 | | condition, [INFO] [stdout] ... | [INFO] [stdout] 107 | | right_brace, [INFO] [stdout] 108 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/control_flow.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 114 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let mut cases = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | Ok(Statement::Switch(SwitchStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 183 | | switch, [INFO] [stdout] 184 | | left_parenthesis, [INFO] [stdout] 185 | | condition, [INFO] [stdout] 186 | | right_parenthesis, [INFO] [stdout] 187 | | cases, [INFO] [stdout] 188 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/control_flow.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 194 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | Ok(Statement::If(IfStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 198 | | r#if, [INFO] [stdout] 199 | | left_parenthesis, [INFO] [stdout] 200 | | condition, [INFO] [stdout] ... | [INFO] [stdout] 206 | | }, [INFO] [stdout] 207 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/control_flow.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 211 | let statement = parser::statement(state).map(Box::new)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | [INFO] [stdout] 213 | let mut elseifs: Vec = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let r#else = if current.kind == TokenKind::Else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | Ok(IfStatementBody::Statement { [INFO] [stdout] | ________^ [INFO] [stdout] 244 | | statement, [INFO] [stdout] 245 | | elseifs, [INFO] [stdout] 246 | | r#else, [INFO] [stdout] 247 | | }) [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] --> php-parser/src/parser/internal/control_flow.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 252 | let statements = blocks::multiple_statements_until_any( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let mut elseifs: Vec = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let r#else = if current.kind == TokenKind::Else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(IfStatementBody::Block { [INFO] [stdout] | ________^ [INFO] [stdout] 293 | | colon, [INFO] [stdout] 294 | | statements, [INFO] [stdout] 295 | | elseifs, [INFO] [stdout] ... | [INFO] [stdout] 298 | | ending: utils::skip_ending(state)?, [INFO] [stdout] 299 | | }) [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] --> php-parser/src/parser/internal/data_type.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 199 | let ty = simple_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | Ok(Type::Nullable(current.span, Box::new(ty))) [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] --> php-parser/src/parser/internal/data_type.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn union(state: &mut State, other: Type, within_dnf: bool) -> ParseResult { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let mut types = vec![other]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | Ok(Type::Union(types)) [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] --> php-parser/src/parser/internal/data_type.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn intersection(state: &mut State, other: Type, within_dnf: bool) -> ParseResult { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | let mut types = vec![other]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | Ok(Type::Intersection(types)) [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] --> php-parser/src/parser/internal/functions.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 43 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let parameters = parameters::function_parameter_list(state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let return_type = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let body = FunctionBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Expression::Closure(ClosureExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 120 | | comments, [INFO] [stdout] 121 | | function, [INFO] [stdout] 122 | | attributes, [INFO] [stdout] ... | [INFO] [stdout] 128 | | ampersand, [INFO] [stdout] 129 | | })) [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] | |______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] --> php-parser/src/parser/internal/functions.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 154 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let parameters = parameters::function_parameter_list(state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let return_type = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | let body = Box::new(expressions::create(state)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | [INFO] [stdout] 169 | Ok(Expression::ArrowFunction(ArrowFunctionExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 170 | | comments, [INFO] [stdout] 171 | | attributes, [INFO] [stdout] 172 | | r#static, [INFO] [stdout] ... | [INFO] [stdout] 178 | | body, [INFO] [stdout] 179 | | })) [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] | |______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] --> php-parser/src/parser/internal/functions.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 200 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | [INFO] [stdout] 202 | let parameters = parameters::function_parameter_list(state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let return_type = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | let body = FunctionBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | Ok(Statement::Function(FunctionStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 220 | | comments, [INFO] [stdout] 221 | | function, [INFO] [stdout] 222 | | name, [INFO] [stdout] ... | [INFO] [stdout] 227 | | ampersand, [INFO] [stdout] 228 | | })) [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] | |______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] --> php-parser/src/parser/internal/interfaces.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 43 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | let body = InterfaceBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(Statement::Interface(InterfaceStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | interface: span, [INFO] [stdout] 60 | | name, [INFO] [stdout] 61 | | attributes, [INFO] [stdout] 62 | | extends, [INFO] [stdout] 63 | | body, [INFO] [stdout] 64 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/loops.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 27 | let (left_parenthesis, iterator, right_parenthesis) = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let body = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | Ok(Statement::Foreach(ForeachStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 92 | | foreach, [INFO] [stdout] 93 | | left_parenthesis, [INFO] [stdout] 94 | | iterator, [INFO] [stdout] 95 | | right_parenthesis, [INFO] [stdout] 96 | | body, [INFO] [stdout] 97 | | })) [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] | |______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] --> php-parser/src/parser/internal/loops.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 103 | let (left_parenthesis, iterator, right_parenthesis) = utils::parenthesized(state, &|state| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let body = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(Statement::For(ForStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 144 | | r#for, [INFO] [stdout] 145 | | left_parenthesis, [INFO] [stdout] 146 | | iterator, [INFO] [stdout] 147 | | right_parenthesis, [INFO] [stdout] 148 | | body, [INFO] [stdout] 149 | | })) [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] | |______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] --> php-parser/src/parser/internal/loops.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 104 | let (initializations_semicolon, initializations) = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let (conditions_semicolon, conditions) = utils::semicolon_terminated(state, &|state| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Ok(ForStatementIterator { [INFO] [stdout] | ____________^ [INFO] [stdout] 118 | | initializations, [INFO] [stdout] 119 | | initializations_semicolon, [INFO] [stdout] 120 | | conditions, [INFO] [stdout] ... | [INFO] [stdout] 126 | | )?, [INFO] [stdout] 127 | | }) [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] --> php-parser/src/parser/internal/loops.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 155 | let body = parser::statement(state).map(Box::new)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let (semicolon, (left_parenthesis, condition, right_parenthesis)) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | Ok(Statement::DoWhile(DoWhileStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 165 | | r#do, [INFO] [stdout] 166 | | body, [INFO] [stdout] 167 | | r#while, [INFO] [stdout] ... | [INFO] [stdout] 171 | | semicolon, [INFO] [stdout] 172 | | })) [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] --> php-parser/src/parser/internal/loops.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 178 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let body = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(Statement::While(WhileStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 195 | | r#while, [INFO] [stdout] 196 | | left_parenthesis, [INFO] [stdout] 197 | | condition, [INFO] [stdout] 198 | | right_parenthesis, [INFO] [stdout] 199 | | body, [INFO] [stdout] 200 | | })) [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] | |______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] --> php-parser/src/parser/internal/loops.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 246 | let (left_parenthesis, level, right_parenthesis) = [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | Ok(Level::Parenthesized { [INFO] [stdout] | ________^ [INFO] [stdout] 250 | | left_parenthesis, [INFO] [stdout] 251 | | level, [INFO] [stdout] 252 | | right_parenthesis, [INFO] [stdout] 253 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/loops.rs:247:46 [INFO] [stdout] | [INFO] [stdout] 247 | utils::parenthesized(state, &|state| loop_level(state).map(Box::new))?; [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] --> php-parser/src/parser/internal/namespaces.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 56 | let statements = scoped!(state, Scope::Namespace(name.clone()), { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let mut statements = Block::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(Statement::Namespace(NamespaceStatement::Unbraced( [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | UnbracedNamespace { [INFO] [stdout] 70 | | start, [INFO] [stdout] 71 | | end, [INFO] [stdout] ... | [INFO] [stdout] 74 | | }, [INFO] [stdout] 75 | | ))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: php-parser/src/parser/macros.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let result = $block; [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] --> php-parser/src/parser/internal/namespaces.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 83 | let body = scoped!(state, Scope::BracedNamespace(name.clone()), { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let mut statements = Block::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(Statement::Namespace(NamespaceStatement::Braced( [INFO] [stdout] | ________^ [INFO] [stdout] 101 | | BracedNamespace { [INFO] [stdout] 102 | | namespace: span, [INFO] [stdout] 103 | | name, [INFO] [stdout] 104 | | body, [INFO] [stdout] 105 | | }, [INFO] [stdout] 106 | | ))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: php-parser/src/parser/macros.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let result = $block; [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] --> php-parser/src/parser/internal/parameters.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 24 | let parameters = utils::comma_separated( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(FunctionParameterList { [INFO] [stdout] | ________^ [INFO] [stdout] 73 | | comments, [INFO] [stdout] 74 | | left_parenthesis, [INFO] [stdout] 75 | | parameters, [INFO] [stdout] 76 | | right_parenthesis, [INFO] [stdout] 77 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/parameters.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 29 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let mut default = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(FunctionParameter { [INFO] [stdout] | ________________^ [INFO] [stdout] 58 | | comments: state.stream.comments(), [INFO] [stdout] 59 | | name: var, [INFO] [stdout] 60 | | attributes: state.get_attributes(), [INFO] [stdout] ... | [INFO] [stdout] 64 | | ampersand, [INFO] [stdout] 65 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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] --> php-parser/src/parser/internal/parameters.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 87 | let parameters = utils::comma_separated::( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(ConstructorParameterList { [INFO] [stdout] | ________^ [INFO] [stdout] 175 | | comments, [INFO] [stdout] 176 | | left_parenthesis, [INFO] [stdout] 177 | | parameters, [INFO] [stdout] 178 | | right_parenthesis, [INFO] [stdout] 179 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/parameters.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 94 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let mut default = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Ok(ConstructorParameter { [INFO] [stdout] | ________________^ [INFO] [stdout] 159 | | comments: state.stream.comments(), [INFO] [stdout] 160 | | name: var, [INFO] [stdout] 161 | | attributes: state.get_attributes(), [INFO] [stdout] ... | [INFO] [stdout] 166 | | ampersand, [INFO] [stdout] 167 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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] --> php-parser/src/parser/internal/parameters.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 186 | let mut arguments = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | Ok(ArgumentList { [INFO] [stdout] | ________^ [INFO] [stdout] 233 | | comments, [INFO] [stdout] 234 | | left_parenthesis: start, [INFO] [stdout] 235 | | right_parenthesis: end, [INFO] [stdout] 236 | | arguments, [INFO] [stdout] 237 | | }) [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] --> php-parser/src/parser/internal/parameters.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 251 | let mut first_argument = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | Some(Ok(SinglePositionalArgument { [INFO] [stdout] | __________^ [INFO] [stdout] 297 | | comments, [INFO] [stdout] 298 | | left_parenthesis: start, [INFO] [stdout] 299 | | right_parenthesis: end, [INFO] [stdout] 300 | | argument: first_argument.unwrap(), [INFO] [stdout] 301 | | })) [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] --> php-parser/src/parser/internal/parameters.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 336 | let value = expressions::create(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | [INFO] [stdout] 338 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 339 | | false, [INFO] [stdout] 340 | | ellipsis, [INFO] [stdout] 341 | | Argument::Positional(PositionalArgument { [INFO] [stdout] ... | [INFO] [stdout] 345 | | }), [INFO] [stdout] 346 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/properties.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 20 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(Property { [INFO] [stdout] | ________^ [INFO] [stdout] 105 | | r#type: ty, [INFO] [stdout] 106 | | modifiers, [INFO] [stdout] 107 | | attributes: state.get_attributes(), [INFO] [stdout] 108 | | entries, [INFO] [stdout] 109 | | end, [INFO] [stdout] 110 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/properties.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 119 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | [INFO] [stdout] 121 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(VariableProperty { [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | r#type: ty, [INFO] [stdout] 169 | | attributes: state.get_attributes(), [INFO] [stdout] 170 | | entries, [INFO] [stdout] 171 | | end, [INFO] [stdout] 172 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/strings.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 30 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Expression::InterpolatedString( [INFO] [stdout] | ________^ [INFO] [stdout] 41 | | InterpolatedStringExpression { parts }, [INFO] [stdout] 42 | | )) [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] --> php-parser/src/parser/internal/strings.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 49 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(Expression::ShellExec(ShellExecExpression { parts })) [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] --> php-parser/src/parser/internal/strings.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(Expression::Heredoc(HeredocExpression { label, parts })) [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] --> php-parser/src/parser/internal/traits.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 165 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | [INFO] [stdout] 167 | let body = TraitBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(Statement::Trait(TraitStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | r#trait: span, [INFO] [stdout] 181 | | name, [INFO] [stdout] 182 | | attributes, [INFO] [stdout] 183 | | body, [INFO] [stdout] 184 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/try_block.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 47 | let catch_body = blocks::multiple_statements_until(state, &TokenKind::RightBrace)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | catches.push(CatchBlock { [INFO] [stdout] | ______________________^ [INFO] [stdout] 54 | | start: catch_start, [INFO] [stdout] 55 | | end: catch_end, [INFO] [stdout] 56 | | types, [INFO] [stdout] 57 | | var, [INFO] [stdout] 58 | | body: catch_body, [INFO] [stdout] 59 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> php-parser/src/parser/internal/try_block.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 22 | let body = blocks::multiple_statements_until(state, &TokenKind::RightBrace)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let mut catches = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut finally = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(Statement::Try(TryStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 87 | | start, [INFO] [stdout] 88 | | end, [INFO] [stdout] 89 | | body, [INFO] [stdout] 90 | | catches, [INFO] [stdout] 91 | | finally, [INFO] [stdout] 92 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/utils.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 113 | let inner = func(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok((left_parenthesis, inner, right_parenthesis)) [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] --> php-parser/src/parser/internal/utils.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 128 | let inner = func(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok((left_brace, inner, right_brace)) [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] --> php-parser/src/parser/internal/utils.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 138 | let inner = func(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let semicolon = skip_semicolon(state)?; [INFO] [stdout] 140 | Ok((semicolon, inner)) [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] --> php-parser/src/parser/internal/utils.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 149 | let mut inner: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | Ok(CommaSeparated { inner, commas }) [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] --> php-parser/src/parser/internal/utils.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 177 | let mut inner: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(CommaSeparated { inner, commas }) [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] --> php-parser/src/parser/internal/utils.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 210 | let mut inner: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(CommaSeparated { inner, commas }) [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 50 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `2` and `3` are never read [INFO] [stdout] --> php-parser/src/lexer/state/mod.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | DocString( [INFO] [stdout] | --------- fields in this variant [INFO] [stdout] ... [INFO] [stdout] 23 | DocStringIndentationKind, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | DocStringIndentationAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackFrame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 ~ (), [INFO] [stdout] 24 ~ (), [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] --> php-parser/src/parser/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 73 | let mut state = State::new(&mut stream); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | let mut program = Program::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | Ok(program.to_vec()) [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] [stderr] error: could not compile `php-parser-rs` (lib test) due to 51 previous errors; 1 warning 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] --> php-parser/src/parser/expressions.rs:1236:8 [INFO] [stdout] | [INFO] [stdout] 1235 | fn postfix(state: &mut State, lhs: Expression, op: &TokenKind) -> ParseResult { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1236 | Ok(match op { [INFO] [stdout] | ________^ [INFO] [stdout] 1237 | | TokenKind::DoubleQuestion => { [INFO] [stdout] 1238 | | let double_question = state.stream.current().span; [INFO] [stdout] 1239 | | state.stream.next(); [INFO] [stdout] ... | [INFO] [stdout] 1514 | | _ => todo!("postfix: {:?}", op), [INFO] [stdout] 1515 | | }) [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] --> php-parser/src/parser/internal/arrays.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 157 | let mut value = expressions::create(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 213 | Ok(ArrayItem::Value { value }) [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] --> php-parser/src/parser/internal/blocks.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 11 | let (left_brace, statements, right_brace) = utils::braced(state, &|state: &mut State| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | Ok(Statement::Block(BlockStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 16 | | left_brace, [INFO] [stdout] 17 | | statements, [INFO] [stdout] 18 | | right_brace, [INFO] [stdout] 19 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/classes.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 30 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let body = ClassBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | Ok(Statement::Class(ClassStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 84 | | class, [INFO] [stdout] 85 | | name, [INFO] [stdout] 86 | | modifiers, [INFO] [stdout] ... | [INFO] [stdout] 90 | | body, [INFO] [stdout] 91 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/classes.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 102 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let arguments = if state.stream.current().kind == TokenKind::LeftParen { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | let body = AnonymousClassBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 154 | Ok(Expression::New(NewExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 155 | | target: Box::new(Expression::AnonymousClass(AnonymousClassExpression { [INFO] [stdout] 156 | | class, [INFO] [stdout] 157 | | extends, [INFO] [stdout] ... | [INFO] [stdout] 163 | | arguments, [INFO] [stdout] 164 | | })) [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] --> php-parser/src/parser/internal/constants.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 16 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(ConstantStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 39 | | comments, [INFO] [stdout] 40 | | r#const: start, [INFO] [stdout] 41 | | entries, [INFO] [stdout] 42 | | semicolon: end, [INFO] [stdout] 43 | | }) [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] --> php-parser/src/parser/internal/constants.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 50 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 55 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | Ok(ClassishConstant { [INFO] [stdout] | ________^ [INFO] [stdout] 78 | | comments, [INFO] [stdout] 79 | | attributes, [INFO] [stdout] 80 | | modifiers, [INFO] [stdout] ... | [INFO] [stdout] 83 | | semicolon: end, [INFO] [stdout] 84 | | }) [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] --> php-parser/src/parser/internal/control_flow.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 28 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let mut default: Option> = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let mut arms = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Ok(Expression::Match(MatchExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 100 | | keyword, [INFO] [stdout] 101 | | left_parenthesis, [INFO] [stdout] 102 | | condition, [INFO] [stdout] ... | [INFO] [stdout] 107 | | right_brace, [INFO] [stdout] 108 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/control_flow.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 114 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let mut cases = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 182 | Ok(Statement::Switch(SwitchStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 183 | | switch, [INFO] [stdout] 184 | | left_parenthesis, [INFO] [stdout] 185 | | condition, [INFO] [stdout] 186 | | right_parenthesis, [INFO] [stdout] 187 | | cases, [INFO] [stdout] 188 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/control_flow.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 194 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | Ok(Statement::If(IfStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 198 | | r#if, [INFO] [stdout] 199 | | left_parenthesis, [INFO] [stdout] 200 | | condition, [INFO] [stdout] ... | [INFO] [stdout] 206 | | }, [INFO] [stdout] 207 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/control_flow.rs:243:8 [INFO] [stdout] | [INFO] [stdout] 211 | let statement = parser::statement(state).map(Box::new)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 212 | [INFO] [stdout] 213 | let mut elseifs: Vec = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | let r#else = if current.kind == TokenKind::Else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | Ok(IfStatementBody::Statement { [INFO] [stdout] | ________^ [INFO] [stdout] 244 | | statement, [INFO] [stdout] 245 | | elseifs, [INFO] [stdout] 246 | | r#else, [INFO] [stdout] 247 | | }) [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] --> php-parser/src/parser/internal/control_flow.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 252 | let statements = blocks::multiple_statements_until_any( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 257 | let mut elseifs: Vec = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let r#else = if current.kind == TokenKind::Else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(IfStatementBody::Block { [INFO] [stdout] | ________^ [INFO] [stdout] 293 | | colon, [INFO] [stdout] 294 | | statements, [INFO] [stdout] 295 | | elseifs, [INFO] [stdout] ... | [INFO] [stdout] 298 | | ending: utils::skip_ending(state)?, [INFO] [stdout] 299 | | }) [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] --> php-parser/src/parser/internal/data_type.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 199 | let ty = simple_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 205 | Ok(Type::Nullable(current.span, Box::new(ty))) [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] --> php-parser/src/parser/internal/data_type.rs:266:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn union(state: &mut State, other: Type, within_dnf: bool) -> ParseResult { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 216 | let mut types = vec![other]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 266 | Ok(Type::Union(types)) [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] --> php-parser/src/parser/internal/data_type.rs:335:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn intersection(state: &mut State, other: Type, within_dnf: bool) -> ParseResult { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 277 | let mut types = vec![other]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 335 | Ok(Type::Intersection(types)) [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] --> php-parser/src/parser/internal/functions.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 43 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 64 | let parameters = parameters::function_parameter_list(state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | let return_type = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let body = FunctionBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(Expression::Closure(ClosureExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 120 | | comments, [INFO] [stdout] 121 | | function, [INFO] [stdout] 122 | | attributes, [INFO] [stdout] ... | [INFO] [stdout] 128 | | ampersand, [INFO] [stdout] 129 | | })) [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] | |______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] --> php-parser/src/parser/internal/functions.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 154 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | let parameters = parameters::function_parameter_list(state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 156 | let return_type = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | let body = Box::new(expressions::create(state)?); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 168 | [INFO] [stdout] 169 | Ok(Expression::ArrowFunction(ArrowFunctionExpression { [INFO] [stdout] | ________^ [INFO] [stdout] 170 | | comments, [INFO] [stdout] 171 | | attributes, [INFO] [stdout] 172 | | r#static, [INFO] [stdout] ... | [INFO] [stdout] 178 | | body, [INFO] [stdout] 179 | | })) [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] | |______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] --> php-parser/src/parser/internal/functions.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 200 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 201 | [INFO] [stdout] 202 | let parameters = parameters::function_parameter_list(state)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 203 | let return_type = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 212 | let body = FunctionBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 219 | Ok(Statement::Function(FunctionStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 220 | | comments, [INFO] [stdout] 221 | | function, [INFO] [stdout] 222 | | name, [INFO] [stdout] ... | [INFO] [stdout] 227 | | ampersand, [INFO] [stdout] 228 | | })) [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] | |______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] --> php-parser/src/parser/internal/interfaces.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 43 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | [INFO] [stdout] 45 | let body = InterfaceBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | Ok(Statement::Interface(InterfaceStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 59 | | interface: span, [INFO] [stdout] 60 | | name, [INFO] [stdout] 61 | | attributes, [INFO] [stdout] 62 | | extends, [INFO] [stdout] 63 | | body, [INFO] [stdout] 64 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/loops.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 27 | let (left_parenthesis, iterator, right_parenthesis) = [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let body = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | Ok(Statement::Foreach(ForeachStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 92 | | foreach, [INFO] [stdout] 93 | | left_parenthesis, [INFO] [stdout] 94 | | iterator, [INFO] [stdout] 95 | | right_parenthesis, [INFO] [stdout] 96 | | body, [INFO] [stdout] 97 | | })) [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] | |______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] --> php-parser/src/parser/internal/loops.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 103 | let (left_parenthesis, iterator, right_parenthesis) = utils::parenthesized(state, &|state| { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 130 | let body = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | Ok(Statement::For(ForStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 144 | | r#for, [INFO] [stdout] 145 | | left_parenthesis, [INFO] [stdout] 146 | | iterator, [INFO] [stdout] 147 | | right_parenthesis, [INFO] [stdout] 148 | | body, [INFO] [stdout] 149 | | })) [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] | |______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] --> php-parser/src/parser/internal/loops.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 104 | let (initializations_semicolon, initializations) = [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | let (conditions_semicolon, conditions) = utils::semicolon_terminated(state, &|state| { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | Ok(ForStatementIterator { [INFO] [stdout] | ____________^ [INFO] [stdout] 118 | | initializations, [INFO] [stdout] 119 | | initializations_semicolon, [INFO] [stdout] 120 | | conditions, [INFO] [stdout] ... | [INFO] [stdout] 126 | | )?, [INFO] [stdout] 127 | | }) [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] --> php-parser/src/parser/internal/loops.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 155 | let body = parser::statement(state).map(Box::new)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 159 | let (semicolon, (left_parenthesis, condition, right_parenthesis)) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | Ok(Statement::DoWhile(DoWhileStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 165 | | r#do, [INFO] [stdout] 166 | | body, [INFO] [stdout] 167 | | r#while, [INFO] [stdout] ... | [INFO] [stdout] 171 | | semicolon, [INFO] [stdout] 172 | | })) [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] --> php-parser/src/parser/internal/loops.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 178 | let (left_parenthesis, condition, right_parenthesis) = [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | let body = if state.stream.current().kind == TokenKind::Colon { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | Ok(Statement::While(WhileStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 195 | | r#while, [INFO] [stdout] 196 | | left_parenthesis, [INFO] [stdout] 197 | | condition, [INFO] [stdout] 198 | | right_parenthesis, [INFO] [stdout] 199 | | body, [INFO] [stdout] 200 | | })) [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] | |______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] --> php-parser/src/parser/internal/loops.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 246 | let (left_parenthesis, level, right_parenthesis) = [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 249 | Ok(Level::Parenthesized { [INFO] [stdout] | ________^ [INFO] [stdout] 250 | | left_parenthesis, [INFO] [stdout] 251 | | level, [INFO] [stdout] 252 | | right_parenthesis, [INFO] [stdout] 253 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/loops.rs:247:46 [INFO] [stdout] | [INFO] [stdout] 247 | utils::parenthesized(state, &|state| loop_level(state).map(Box::new))?; [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] --> php-parser/src/parser/internal/namespaces.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 56 | let statements = scoped!(state, Scope::Namespace(name.clone()), { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let mut statements = Block::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | Ok(Statement::Namespace(NamespaceStatement::Unbraced( [INFO] [stdout] | ________^ [INFO] [stdout] 69 | | UnbracedNamespace { [INFO] [stdout] 70 | | start, [INFO] [stdout] 71 | | end, [INFO] [stdout] ... | [INFO] [stdout] 74 | | }, [INFO] [stdout] 75 | | ))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: php-parser/src/parser/macros.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let result = $block; [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] --> php-parser/src/parser/internal/namespaces.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 83 | let body = scoped!(state, Scope::BracedNamespace(name.clone()), { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | let mut statements = Block::new(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(Statement::Namespace(NamespaceStatement::Braced( [INFO] [stdout] | ________^ [INFO] [stdout] 101 | | BracedNamespace { [INFO] [stdout] 102 | | namespace: span, [INFO] [stdout] 103 | | name, [INFO] [stdout] 104 | | body, [INFO] [stdout] 105 | | }, [INFO] [stdout] 106 | | ))) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] ::: php-parser/src/parser/macros.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let result = $block; [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] --> php-parser/src/parser/internal/parameters.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 24 | let parameters = utils::comma_separated( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(FunctionParameterList { [INFO] [stdout] | ________^ [INFO] [stdout] 73 | | comments, [INFO] [stdout] 74 | | left_parenthesis, [INFO] [stdout] 75 | | parameters, [INFO] [stdout] 76 | | right_parenthesis, [INFO] [stdout] 77 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/parameters.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 29 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let mut default = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | Ok(FunctionParameter { [INFO] [stdout] | ________________^ [INFO] [stdout] 58 | | comments: state.stream.comments(), [INFO] [stdout] 59 | | name: var, [INFO] [stdout] 60 | | attributes: state.get_attributes(), [INFO] [stdout] ... | [INFO] [stdout] 64 | | ampersand, [INFO] [stdout] 65 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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] --> php-parser/src/parser/internal/parameters.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 87 | let parameters = utils::comma_separated::( [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | Ok(ConstructorParameterList { [INFO] [stdout] | ________^ [INFO] [stdout] 175 | | comments, [INFO] [stdout] 176 | | left_parenthesis, [INFO] [stdout] 177 | | parameters, [INFO] [stdout] 178 | | right_parenthesis, [INFO] [stdout] 179 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/parameters.rs:158:16 [INFO] [stdout] | [INFO] [stdout] 94 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | let mut default = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Ok(ConstructorParameter { [INFO] [stdout] | ________________^ [INFO] [stdout] 159 | | comments: state.stream.comments(), [INFO] [stdout] 160 | | name: var, [INFO] [stdout] 161 | | attributes: state.get_attributes(), [INFO] [stdout] ... | [INFO] [stdout] 166 | | ampersand, [INFO] [stdout] 167 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________| [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] --> php-parser/src/parser/internal/parameters.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 186 | let mut arguments = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 232 | Ok(ArgumentList { [INFO] [stdout] | ________^ [INFO] [stdout] 233 | | comments, [INFO] [stdout] 234 | | left_parenthesis: start, [INFO] [stdout] 235 | | right_parenthesis: end, [INFO] [stdout] 236 | | arguments, [INFO] [stdout] 237 | | }) [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] --> php-parser/src/parser/internal/parameters.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 251 | let mut first_argument = None; [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 296 | Some(Ok(SinglePositionalArgument { [INFO] [stdout] | __________^ [INFO] [stdout] 297 | | comments, [INFO] [stdout] 298 | | left_parenthesis: start, [INFO] [stdout] 299 | | right_parenthesis: end, [INFO] [stdout] 300 | | argument: first_argument.unwrap(), [INFO] [stdout] 301 | | })) [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] --> php-parser/src/parser/internal/parameters.rs:338:8 [INFO] [stdout] | [INFO] [stdout] 336 | let value = expressions::create(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 337 | [INFO] [stdout] 338 | Ok(( [INFO] [stdout] | ________^ [INFO] [stdout] 339 | | false, [INFO] [stdout] 340 | | ellipsis, [INFO] [stdout] 341 | | Argument::Positional(PositionalArgument { [INFO] [stdout] ... | [INFO] [stdout] 345 | | }), [INFO] [stdout] 346 | | )) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/properties.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 20 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | Ok(Property { [INFO] [stdout] | ________^ [INFO] [stdout] 105 | | r#type: ty, [INFO] [stdout] 106 | | modifiers, [INFO] [stdout] 107 | | attributes: state.get_attributes(), [INFO] [stdout] 108 | | entries, [INFO] [stdout] 109 | | end, [INFO] [stdout] 110 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/properties.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 119 | let ty = data_type::optional_data_type(state)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | [INFO] [stdout] 121 | let mut entries = vec![]; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 167 | Ok(VariableProperty { [INFO] [stdout] | ________^ [INFO] [stdout] 168 | | r#type: ty, [INFO] [stdout] 169 | | attributes: state.get_attributes(), [INFO] [stdout] 170 | | entries, [INFO] [stdout] 171 | | end, [INFO] [stdout] 172 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] --> php-parser/src/parser/internal/strings.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 30 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 40 | Ok(Expression::InterpolatedString( [INFO] [stdout] | ________^ [INFO] [stdout] 41 | | InterpolatedStringExpression { parts }, [INFO] [stdout] 42 | | )) [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] --> php-parser/src/parser/internal/strings.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 49 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | Ok(Expression::ShellExec(ShellExecExpression { parts })) [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] --> php-parser/src/parser/internal/strings.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 68 | let mut parts = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(Expression::Heredoc(HeredocExpression { label, parts })) [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] --> php-parser/src/parser/internal/traits.rs:179:8 [INFO] [stdout] | [INFO] [stdout] 165 | let attributes = state.get_attributes(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 166 | [INFO] [stdout] 167 | let body = TraitBody { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut members = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(Statement::Trait(TraitStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 180 | | r#trait: span, [INFO] [stdout] 181 | | name, [INFO] [stdout] 182 | | attributes, [INFO] [stdout] 183 | | body, [INFO] [stdout] 184 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/try_block.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 47 | let catch_body = blocks::multiple_statements_until(state, &TokenKind::RightBrace)?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 53 | catches.push(CatchBlock { [INFO] [stdout] | ______________________^ [INFO] [stdout] 54 | | start: catch_start, [INFO] [stdout] 55 | | end: catch_end, [INFO] [stdout] 56 | | types, [INFO] [stdout] 57 | | var, [INFO] [stdout] 58 | | body: catch_body, [INFO] [stdout] 59 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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] --> php-parser/src/parser/internal/try_block.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 22 | let body = blocks::multiple_statements_until(state, &TokenKind::RightBrace)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let mut catches = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | let mut finally = None; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | Ok(Statement::Try(TryStatement { [INFO] [stdout] | ________^ [INFO] [stdout] 87 | | start, [INFO] [stdout] 88 | | end, [INFO] [stdout] 89 | | body, [INFO] [stdout] 90 | | catches, [INFO] [stdout] 91 | | finally, [INFO] [stdout] 92 | | })) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |______| [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] --> php-parser/src/parser/internal/utils.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 113 | let inner = func(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | Ok((left_parenthesis, inner, right_parenthesis)) [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] --> php-parser/src/parser/internal/utils.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 128 | let inner = func(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Ok((left_brace, inner, right_brace)) [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] --> php-parser/src/parser/internal/utils.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 138 | let inner = func(state)?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let semicolon = skip_semicolon(state)?; [INFO] [stdout] 140 | Ok((semicolon, inner)) [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] --> php-parser/src/parser/internal/utils.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 149 | let mut inner: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | Ok(CommaSeparated { inner, commas }) [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] --> php-parser/src/parser/internal/utils.rs:202:8 [INFO] [stdout] | [INFO] [stdout] 177 | let mut inner: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 202 | Ok(CommaSeparated { inner, commas }) [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] --> php-parser/src/parser/internal/utils.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 210 | let mut inner: Vec = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 226 | Ok(CommaSeparated { inner, commas }) [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 50 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `php-parser-rs` (lib) due to 51 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b29ff653a52e86b474e71ff544b2bef4f2f77183a83e9f892705060869fb5d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b29ff653a52e86b474e71ff544b2bef4f2f77183a83e9f892705060869fb5d65", kill_on_drop: false }` [INFO] [stdout] b29ff653a52e86b474e71ff544b2bef4f2f77183a83e9f892705060869fb5d65