[INFO] cloning repository https://github.com/besok/rusty_wren [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/besok/rusty_wren" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesok%2Frusty_wren", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbesok%2Frusty_wren'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35bf3ba8b8832650a866959815862b420d1b7f04 [INFO] checking besok/rusty_wren/35bf3ba8b8832650a866959815862b420d1b7f04 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%2Fbesok%2Frusty_wren" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/besok/rusty_wren 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/besok/rusty_wren [INFO] finished tweaking git repo https://github.com/besok/rusty_wren [INFO] tweaked toml for git repo https://github.com/besok/rusty_wren written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/besok/rusty_wren already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 108f204c22c1cfd7923b8d907aa0f19052d3da1e6751f684e73175eb911116ca [INFO] running `Command { std: "docker" "start" "-a" "108f204c22c1cfd7923b8d907aa0f19052d3da1e6751f684e73175eb911116ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "108f204c22c1cfd7923b8d907aa0f19052d3da1e6751f684e73175eb911116ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "108f204c22c1cfd7923b8d907aa0f19052d3da1e6751f684e73175eb911116ca", kill_on_drop: false }` [INFO] [stdout] 108f204c22c1cfd7923b8d907aa0f19052d3da1e6751f684e73175eb911116ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 832f985b22985e30b2505caf17338151cc19b39a683336431ee9f6924eebf892 [INFO] running `Command { std: "docker" "start" "-a" "832f985b22985e30b2505caf17338151cc19b39a683336431ee9f6924eebf892", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Checking logos v0.12.1 [INFO] [stderr] Checking rusty_wren v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::parser::lexer::Token::Class` [INFO] [stdout] --> src/parser/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::lexer::Token::Class; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/parser/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/parser/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/parser/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/parser/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/parser/lexer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::lexer::Token` [INFO] [stdout] --> src/parser/result.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::lexer::Token::Class` [INFO] [stdout] --> src/parser/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::parser::lexer::Token::Class; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/parser/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser/parser.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/parser/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/parser/ast.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/parser/ast.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> src/parser/lexer.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num::ParseIntError` [INFO] [stdout] --> src/parser/lexer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::num::ParseIntError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::lexer::Token` [INFO] [stdout] --> src/parser/result.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::lexer::Token; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser/parser.rs:639:23 [INFO] [stdout] | [INFO] [stdout] 639 | .map(|r| ClassBodyType::ForeignStatic) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser/parser.rs:644:31 [INFO] [stdout] | [INFO] [stdout] 644 | .map(|r| ClassBodyType::ForeignStatic) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/parser/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BadToken`, `FailedOnValidation`, `ReachedEOF`, and `UnreachedEOF` are never constructed [INFO] [stdout] --> src/parser/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ParseError<'a> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | BadToken(&'a str, Range), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 14 | FailedOnValidation(&'a str, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | FinishedOnFail, [INFO] [stdout] 16 | ReachedEOF(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | UnreachedEOF(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CypherParser` is never constructed [INFO] [stdout] --> src/parser/parser.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct CypherParser<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `token`, `one_or_more`, `zero_or_more`, and `validate_eof` are never used [INFO] [stdout] --> src/parser/parser.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> CypherParser<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(src: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn token(&self, pos: usize) -> Result<(&Token<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn one_or_more(&self, pos: usize, then: Then) -> ParseResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn zero_or_more(&self, pos: usize, then: Then) -> ParseResult<'a, Vec> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn validate_eof(&self, res: ParseResult<'a, T>) -> ParseResult<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parser/parser.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'a> CypherParser<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 55 | pub fn id(&self, pos: usize) -> ParseResult<'a, Id<'a>> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn number(&self, pos: usize) -> ParseResult<'a, Number> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn null(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn bool(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn char(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn string(&self, pos: usize) -> ParseResult<'a, &'a str> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn number_expr(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn map_init(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn list_init(&self, pos: usize) -> ParseResult<'a, Enumeration<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn elvis(&self, pos: usize) -> ParseResult<'a, Elvis<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn expression(&self, pos: usize) -> ParseResult<'a, Expression<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn enumeration(&self, pos: usize) -> ParseResult<'a, Enumeration<'a>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn statement(&self, pos: usize) -> ParseResult<'a, Statement<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn file_unit(&self, pos: usize) -> ParseResult<'a, Unit<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn script(&self, pos: usize) -> ParseResult<'a, Script<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn assignment(&self, pos: usize) -> ParseResult<'a, Assignment<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn assignment_null(&self, pos: usize) -> ParseResult<'a, AssignmentNull<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn if_statement(&self, pos: usize) -> ParseResult<'a, If<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn block(&self, pos: usize) -> ParseResult<'a, Block<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn params(&self, pos: usize) -> ParseResult<'a, Params<'a>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn call(&self, pos: usize) -> ParseResult<'a, Call<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub fn collection_elem(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn import_variable(&self, pos: usize) -> ParseResult<'a, ImportVariable<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 342 | pub fn import_module(&self, pos: usize) -> ParseResult<'a, ImportModule<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn range(&self, pos: usize) -> ParseResult<'a, Range<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | pub fn atom(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn function(&self, pos: usize) -> ParseResult<'a, Function<'a>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn logic_atom(&self, pos: usize) -> ParseResult<'a, Logic<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn compound_expr(&self, pos: usize) -> ParseResult<'a, CompoundExpression<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 467 | pub fn logic(&self, pos: usize) -> ParseResult<'a, Logic<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn arith(&self, pos: usize) -> ParseResult<'a, Arithmetic<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 549 | pub fn class_statement(&self, pos: usize) -> ParseResult<'a, ClassStatement<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 632 | pub fn class_body(&self, pos: usize) -> ParseResult<'a, ClassUnit<'a>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | pub fn attribute(&self, pos: usize) -> ParseResult<'a, Attribute<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | pub fn one_arg(&self, pos: usize) -> ParseResult<'a, Id<'a>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 706 | pub fn while_statement(&self, pos: usize) -> ParseResult<'a, While<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 723 | pub fn for_statement(&self, pos: usize) -> ParseResult<'a, For<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | pub fn class_def(&self, pos: usize) -> ParseResult<'a, ClassDefinition<'a>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum AtomExpression<'a> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 17 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | CharLit(&'a str), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | StringLit(&'a str), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | Number(Number), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | MapInit(Vec<(Expression<'a>, Expression<'a>)>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | ListInit(Enumeration<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | Call(Call<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | Range(Range<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Break, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 27 | Continue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | CollectionElem(Call<'a>, Enumeration<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 29 | ImportModule(ImportModule<'a>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | Sub(Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AtomExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `string_or_default` is never used [INFO] [stdout] --> src/parser/ast.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> AtomExpression<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 34 | pub fn string_or_default(&self, default: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/parser/ast.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a> Enumeration<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 64 | pub fn new(values: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `Compound`, `Not`, and `E` are never constructed [INFO] [stdout] --> src/parser/ast.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Expression<'a> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 71 | Atom(AtomExpression<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 72 | Compound(Box>,Box>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 73 | Not(Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 74 | E [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Logic`, `Arith`, `Tail`, `Is`, and `Elvis` are never constructed [INFO] [stdout] --> src/parser/ast.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 78 | pub enum CompoundExpression<'a>{ [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 79 | Logic(Logic<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 80 | Arith(Arithmetic<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 81 | Tail(Call<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 82 | Is(Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 83 | Elvis(Elvis<'a>) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CompoundExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub enum Statement<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 88 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 89 | Assignment(Assignment<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 90 | AssignmentNull(AssignmentNull<'a>), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 91 | If(Box>), [INFO] [stdout] | ^^ [INFO] [stdout] 92 | While(Box>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 93 | For(Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 94 | Block(Block<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 95 | Return(Expression<'a>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Statement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `just_id` is never used [INFO] [stdout] --> src/parser/ast.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 111 | impl<'a> Call<'a> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 112 | pub fn just_id(id: &'a str) -> Call<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Block`, `Enum`, and `None` are never constructed [INFO] [stdout] --> src/parser/ast.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum BlockOrEnum<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 123 | Block(Block<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 124 | Enum(Enumeration<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 125 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockOrEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Call` and `Num` are never constructed [INFO] [stdout] --> src/parser/ast.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub enum RangeExpression<'a> { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 148 | Call(Call<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | Num(Number), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RangeExpression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub enum LogicOp { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 160 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 161 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 162 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 163 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] 164 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] 165 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 166 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 167 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogicOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Atom`, `And`, and `Or` are never constructed [INFO] [stdout] --> src/parser/ast.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 177 | pub enum Logic<'a> { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 178 | Atom(LogicOp, Expression<'a>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | And(Box>, Vec<(Expression<'a>, Box>)>), [INFO] [stdout] | ^^^ [INFO] [stdout] 180 | Or(Box>, Vec<(Expression<'a>, Box>)>), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Logic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expression`, `Mul`, `Add`, `Range`, `Shift`, and `Bit` are never constructed [INFO] [stdout] --> src/parser/ast.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub enum Arithmetic<'a> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 184 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 185 | Mul(MulSign, Expression<'a>), [INFO] [stdout] | ^^^ [INFO] [stdout] 186 | Add(bool, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] 187 | Range(bool, Box>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 188 | Shift(bool, Box>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 189 | Bit(BitSign, Box>), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arithmetic` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Mul`, `Div`, and `Mod` are never constructed [INFO] [stdout] --> src/parser/ast.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub enum MulSign { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 194 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 195 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 196 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MulSign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And`, `Or`, and `Xor` are never constructed [INFO] [stdout] --> src/parser/ast.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | pub enum BitSign { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 200 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 201 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 202 | Xor, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitSign` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 206 | pub enum ClassStatement<'a> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 207 | Fn(Function<'a>), [INFO] [stdout] | ^^ [INFO] [stdout] 208 | OpGetter(GetterLabel<'a>, Option>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 209 | Setter(Id<'a>, Id<'a>, Block<'a>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 210 | OpSetter(SetterLabel, Id<'a>, Block<'a>), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 211 | SubscriptGet(Enumeration<'a>, Block<'a>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 212 | SubscriptSet(Enumeration<'a>, Id<'a>, Block<'a>), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 213 | Constructor(Id<'a>, Params<'a>, Block<'a>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassStatement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Id`, `Sub`, `Tilde`, and `Bang` are never constructed [INFO] [stdout] --> src/parser/ast.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 217 | pub enum GetterLabel<'a> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 218 | Id(Id<'a>), [INFO] [stdout] | ^^ [INFO] [stdout] 219 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 220 | Tilde, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | Bang, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GetterLabel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub enum SetterLabel { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 225 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 226 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 227 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 228 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 229 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 230 | EllipsisIn, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 231 | EllipsisOut, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 232 | LShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 233 | RShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 234 | BitAnd, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 235 | BitOr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 236 | BitXor, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 237 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 238 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 239 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 240 | Le, [INFO] [stdout] | ^^ [INFO] [stdout] 241 | Ge, [INFO] [stdout] | ^^ [INFO] [stdout] 242 | NotEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 243 | Is, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetterLabel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Simple` and `Group` are never constructed [INFO] [stdout] --> src/parser/ast.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub enum Attribute<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 247 | Simple(bool, AttributeValue<'a>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 248 | Group(bool, Id<'a>, Vec>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Foreign`, `Static`, and `ForeignStatic` are never constructed [INFO] [stdout] --> src/parser/ast.rs:258:5 [INFO] [stdout] | [INFO] [stdout] 257 | pub enum ClassBodyType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 258 | Foreign, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 259 | Static, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 260 | ForeignStatic, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClassBodyType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/ast.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 286 | pub enum AssignOp { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 287 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 288 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 289 | Sub, [INFO] [stdout] | ^^^ [INFO] [stdout] 290 | Mul, [INFO] [stdout] | ^^^ [INFO] [stdout] 291 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 292 | And, [INFO] [stdout] | ^^^ [INFO] [stdout] 293 | Or, [INFO] [stdout] | ^^ [INFO] [stdout] 294 | Xor, [INFO] [stdout] | ^^^ [INFO] [stdout] 295 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] 296 | LShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 297 | RShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 298 | URShift, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expression`, `Assignment`, and `Assignments` are never constructed [INFO] [stdout] --> src/parser/ast.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 314 | pub enum Rhs<'a> { [INFO] [stdout] | --- variants in this enum [INFO] [stdout] 315 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 316 | Assignment(Assignment<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 317 | Assignments(Vec>), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Rhs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Expression` and `Assignment` are never constructed [INFO] [stdout] --> src/parser/ast.rs:334:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub enum WhileCond<'a> { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 334 | Expression(Expression<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 335 | Assignment(Assignment<'a>), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WhileCond` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Class`, `Fn`, `Import`, `Statement`, and `Block` are never constructed [INFO] [stdout] --> src/parser/ast.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub enum Unit<'a> { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 350 | Class(ClassDefinition<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 351 | Fn(Function<'a>), [INFO] [stdout] | ^^ [INFO] [stdout] 352 | Import(ImportModule<'a>), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 353 | Statement(Statement<'a>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 354 | Block(Block<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Unit` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CypherLexer` is never constructed [INFO] [stdout] --> src/parser/lexer.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CypherLexer<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CypherLexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `token`, and `len` are never used [INFO] [stdout] --> src/parser/lexer.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> CypherLexer<'a> { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(source: &'a str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn token(&self, pos: usize) -> Result<(&Token<'a>, usize), ParseError<'a>> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Success`, `Fail`, and `Error` are never constructed [INFO] [stdout] --> src/parser/result.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ParseResult<'a, T> { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 13 | Success(T, usize), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Fail(usize), [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | Error(ParseError<'a>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `take_left` and `take_right` are never used [INFO] [stdout] --> src/parser/result.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a, L, R> ParseResult<'a, (L, R)> { [INFO] [stdout] | -------------------------------------- methods in this implementation [INFO] [stdout] 19 | pub fn take_left(self) -> ParseResult<'a, L> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn take_right(self) -> ParseResult<'a, R> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/parser/result.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl<'a, L> ParseResult<'a, (L, Vec)> { [INFO] [stdout] | ---------------------------------------- method in this implementation [INFO] [stdout] 28 | pub fn merge(self) -> ParseResult<'a, Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/parser/result.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a, L> ParseResult<'a, (Option, Vec)> { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] 36 | pub fn merge(self) -> ParseResult<'a, Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_map` is never used [INFO] [stdout] --> src/parser/result.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl<'a, L: Eq + Hash, R> ParseResult<'a, Vec<(L, R)>> { [INFO] [stdout] | ------------------------------------------------------ method in this implementation [INFO] [stdout] 48 | pub fn to_map(self) -> ParseResult<'a, HashMap> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parser/result.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl<'a, T> ParseResult<'a, T> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 54 | pub fn then_zip(self, then: Then) -> ParseResult<'a, (T, Res)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn then_or_val_zip(self, then: Then, default: Res) -> ParseResult<'a, (T, Res)> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn then_or_none_zip(self, then: Then) -> ParseResult<'a, (T, Option)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn then_or_default_zip(self, then: Then) -> ParseResult<'a, (T, Rhs)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn then_combine( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn then_multi_combine( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn then_multi_zip(self, then: Then) -> ParseResult<'a, (T, Vec)> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn then_or_val_combine( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn then_or_none_combine( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn then(self, then: Then) -> ParseResult<'a, Rhs> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn then_or_val(self, then: Then, default: Rhs) -> ParseResult<'a, Rhs> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn then_or_default(self, then: Then) -> ParseResult<'a, Rhs> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn then_or_none(self, then: Then) -> ParseResult<'a, Option> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug1_show_last` and `debug_show_last` are never used [INFO] [stdout] --> src/parser/result.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'a, Rhs: Debug, Lhs: Debug> ParseResult<'a, (Lhs, Rhs)> { [INFO] [stdout] | ------------------------------------------------------------ methods in this implementation [INFO] [stdout] 201 | pub fn debug1_show_last(self, prefix: &'a str) -> ParseResult<'a, (Lhs, Rhs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn debug_show_last(self) -> ParseResult<'a, (Lhs, Rhs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug`, `debug_show`, `debug1`, and `debug1_show` are never used [INFO] [stdout] --> src/parser/result.rs:209:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl<'a, T: Debug> ParseResult<'a, T> { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] 209 | pub fn debug(self) -> ParseResult<'a, T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn debug_show(self, show: Show) -> ParseResult<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn debug1(self, prefix: &'a str) -> ParseResult<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn debug1_show(self, prefix: &'a str, show: Show) -> ParseResult<'a, T> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ok`, `map`, `combine`, and `validate` are never used [INFO] [stdout] --> src/parser/result.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl<'a, T> ParseResult<'a, T> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 268 | pub fn ok(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn map(self, mapper: Map) -> ParseResult<'a, Rhs> [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn combine( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn validate(self, validate: Validation) -> ParseResult<'a, T> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `or_val`, `or_none`, `or`, and `or_from` are never used [INFO] [stdout] --> src/parser/result.rs:311:12 [INFO] [stdout] | [INFO] [stdout] 310 | impl<'a, T> ParseResult<'a, T> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 311 | pub fn or_val(self, default: T) -> ParseResult<'a, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | pub fn or_none(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn or(self, next: Alt) -> ParseResult<'a, T> [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 332 | pub fn or_from(self, pos: usize) -> Alt<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `init_pos` is never read [INFO] [stdout] --> src/parser/result.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 340 | pub struct Alt<'a, T> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 341 | init_pos: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next` and `or` are never used [INFO] [stdout] --> src/parser/result.rs:346:8 [INFO] [stdout] | [INFO] [stdout] 345 | impl<'a, T> Alt<'a, T> { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 346 | fn next(self, next: Next) -> Alt<'a, T> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | pub fn or(self, next: Next) -> Alt<'a, T> [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let atom = |p| self.atom(p).map(Expression::Atom); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 143 | let atom_or_not: ParseResult = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | atom(p).or_from(p).or(not).or(wrapped).into(); [INFO] [stdout] 145 | / atom_or_not [INFO] [stdout] 146 | | .then_zip(|p| self.compound_expr(p)) [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:147:53 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|(e, ce)| Expression::Compound(Box::new(e), Box::new(ce))) [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:147:66 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|(e, ce)| Expression::Compound(Box::new(e), Box::new(ce))) [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | .or(|p| self.block(p).map(Statement::Block)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | .or(|p| self.expression(p).map(Statement::Expression)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | .or(|p| self.if_statement(p).map(Box::new).map(Statement::If)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | .or(|p| self.while_statement(p).map(Box::new).map(Statement::While)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | .or(|p| self.for_statement(p).map(Box::new).map(Statement::For)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | .or(|p| self.function(p).map(Unit::Fn)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | .or(|p| self.statement(p).map(Unit::Statement)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | .or(|p| self.block(p).map(Unit::Block)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 239 | .map(|(((var, e), op), rhs)| Assignment { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | rhs: Box::new(rhs), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | let block_or_enum = |p| self.block(p).map(BlockOrEnum::Block).or(enumeration); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 320 | .map(|((id, middle), tail)| Call { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | id, [INFO] [stdout] 322 | tail: tail.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] --> src/parser/parser.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | .or(|p| self.range(p).map(AtomExpression::Range)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | .or(|p| self.list_init(p).map(AtomExpression::ListInit)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | .or(|p| self.call(p).map(AtomExpression::Call)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:422:35 [INFO] [stdout] | [INFO] [stdout] 422 | .then_or_none_zip(|p| self.block(p).or_none()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 454 | let logic = self.logic(pos).map(CompoundExpression::Logic); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | / logic [INFO] [stdout] 459 | | .or_from(pos) [INFO] [stdout] 460 | | .or(arithmetic) [INFO] [stdout] 461 | | .or(elvis) [INFO] [stdout] 462 | | .or(tail) [INFO] [stdout] 463 | | .or(is) [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | let arithmetic = |p| self.arith(p).map(CompoundExpression::Arith); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | let elvis = |p| self.elvis(p).map(CompoundExpression::Elvis); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:474:43 [INFO] [stdout] | [INFO] [stdout] 474 | .map(|(e, l)| (e, Box::new(l))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:489:39 [INFO] [stdout] | [INFO] [stdout] 489 | .map(|(e, l)| (e, Box::new(l))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | .then_zip(|p| mul(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:514:41 [INFO] [stdout] | [INFO] [stdout] 514 | .then_zip(|p| mul(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:515:46 [INFO] [stdout] | [INFO] [stdout] 515 | .map(|(s, e)| Arithmetic::Add(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | .then_zip(|p| add(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:522:41 [INFO] [stdout] | [INFO] [stdout] 522 | .then_zip(|p| add(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:523:48 [INFO] [stdout] | [INFO] [stdout] 523 | .map(|(s, e)| Arithmetic::Range(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 530 | .then_zip(|p| range(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:530:43 [INFO] [stdout] | [INFO] [stdout] 530 | .then_zip(|p| range(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:531:48 [INFO] [stdout] | [INFO] [stdout] 531 | .map(|(s, e)| Arithmetic::Shift(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | .then_zip(|p| shift(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | .then_zip(|p| shift(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:540:46 [INFO] [stdout] | [INFO] [stdout] 540 | .map(|(s, e)| Arithmetic::Bit(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:556:35 [INFO] [stdout] | [INFO] [stdout] 556 | .then_or_none_zip(|p| self.block(p).or_none()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:711:25 [INFO] [stdout] | [INFO] [stdout] 711 | .or(|p| self.assignment(p).map(WhileCond::Assignment)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | self.map(|r| r.into_iter().collect::>()) [INFO] [stdout] | - ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn then_or_default_zip(self, then: Then) -> ParseResult<'a, (T, Rhs)> [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | self.then_or_val_zip(then, Rhs::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 157 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | then: Then, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | combine: Combine, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | self.then_or_val_combine(then, None, combine) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn then_or_none(self, then: Then) -> ParseResult<'a, Option> [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | self.then_or_val(then, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 282 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | other: ParseResult<'a, Rhs>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | comb: Combine, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | match (self, other) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn or_none(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | self.map(|x| Some(x)).or_val(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:319:38 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn or_none(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | self.map(|x| Some(x)).or_val(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn next(self, next: Next) -> Alt<'a, T> [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | current: next(self.init_pos), [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 46 previous errors; 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_wren` (bin "rusty_wren") due to 47 previous errors; 53 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser/parser.rs:639:23 [INFO] [stdout] | [INFO] [stdout] 639 | .map(|r| ClassBodyType::ForeignStatic) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/parser/parser.rs:644:31 [INFO] [stdout] | [INFO] [stdout] 644 | .map(|r| ClassBodyType::ForeignStatic) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/parser/tests/parser/mod.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | ParseResult::Success(v, pos) => assert_eq!(pos, expect), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/parser/mod.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | BadToken(&'a str, Range), [INFO] [stdout] | -------- ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are 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] 13 | BadToken((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FailedOnValidation` and `UnreachedEOF` are never constructed [INFO] [stdout] --> src/parser/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum ParseError<'a> { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 13 | BadToken(&'a str, Range), [INFO] [stdout] 14 | FailedOnValidation(&'a str, usize), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | UnreachedEOF(usize), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_eof` is never used [INFO] [stdout] --> src/parser/parser.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> CypherParser<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn validate_eof(&self, res: ParseResult<'a, T>) -> ParseResult<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `number_expr` is never used [INFO] [stdout] --> src/parser/parser.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl<'a> CypherParser<'a> { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn number_expr(&self, pos: usize) -> ParseResult<'a, AtomExpression<'a>> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `string_or_default` is never used [INFO] [stdout] --> src/parser/ast.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl<'a> AtomExpression<'a> { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 34 | pub fn string_or_default(&self, default: &'a str) -> &'a str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `E` is never constructed [INFO] [stdout] --> src/parser/ast.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum Expression<'a> { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 74 | E [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Expression` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RShift` is never constructed [INFO] [stdout] --> src/parser/ast.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 224 | pub enum SetterLabel { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 233 | RShift, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetterLabel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/parser/lexer.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CypherLexer<'a> { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | pub(crate) source: &'a str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CypherLexer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/parser/lexer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> CypherLexer<'a> { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_right` is never used [INFO] [stdout] --> src/parser/result.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a, L, R> ParseResult<'a, (L, R)> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn take_right(self) -> ParseResult<'a, R> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/parser/result.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a, L> ParseResult<'a, (Option, Vec)> { [INFO] [stdout] | ------------------------------------------------ method in this implementation [INFO] [stdout] 36 | pub fn merge(self) -> ParseResult<'a, Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_map` is never used [INFO] [stdout] --> src/parser/result.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl<'a, L: Eq + Hash, R> ParseResult<'a, Vec<(L, R)>> { [INFO] [stdout] | ------------------------------------------------------ method in this implementation [INFO] [stdout] 48 | pub fn to_map(self) -> ParseResult<'a, HashMap> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug1_show_last` and `debug_show_last` are never used [INFO] [stdout] --> src/parser/result.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 200 | impl<'a, Rhs: Debug, Lhs: Debug> ParseResult<'a, (Lhs, Rhs)> { [INFO] [stdout] | ------------------------------------------------------------ methods in this implementation [INFO] [stdout] 201 | pub fn debug1_show_last(self, prefix: &'a str) -> ParseResult<'a, (Lhs, Rhs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn debug_show_last(self) -> ParseResult<'a, (Lhs, Rhs)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `debug_show` and `debug1_show` are never used [INFO] [stdout] --> src/parser/result.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 208 | impl<'a, T: Debug> ParseResult<'a, T> { [INFO] [stdout] | ------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn debug_show(self, show: Show) -> ParseResult<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn debug1_show(self, prefix: &'a str, show: Show) -> ParseResult<'a, T> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ok`, `combine`, and `validate` are never used [INFO] [stdout] --> src/parser/result.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 267 | impl<'a, T> ParseResult<'a, T> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 268 | pub fn ok(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 281 | pub fn combine( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 296 | pub fn validate(self, validate: Validation) -> ParseResult<'a, T> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expect_failed` is never used [INFO] [stdout] --> src/parser/tests/lexer.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn expect_failed(src: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:140:24 [INFO] [stdout] | [INFO] [stdout] 140 | let atom = |p| self.atom(p).map(Expression::Atom); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 143 | let atom_or_not: ParseResult = [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | atom(p).or_from(p).or(not).or(wrapped).into(); [INFO] [stdout] 145 | / atom_or_not [INFO] [stdout] 146 | | .then_zip(|p| self.compound_expr(p)) [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:147:53 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|(e, ce)| Expression::Compound(Box::new(e), Box::new(ce))) [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:147:66 [INFO] [stdout] | [INFO] [stdout] 147 | .map(|(e, ce)| Expression::Compound(Box::new(e), Box::new(ce))) [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | .or(|p| self.block(p).map(Statement::Block)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:178:21 [INFO] [stdout] | [INFO] [stdout] 178 | .or(|p| self.expression(p).map(Statement::Expression)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | .or(|p| self.if_statement(p).map(Box::new).map(Statement::If)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | .or(|p| self.while_statement(p).map(Box::new).map(Statement::While)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | .or(|p| self.for_statement(p).map(Box::new).map(Statement::For)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | .or(|p| self.function(p).map(Unit::Fn)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | .or(|p| self.statement(p).map(Unit::Statement)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:192:21 [INFO] [stdout] | [INFO] [stdout] 192 | .or(|p| self.block(p).map(Unit::Block)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:243:22 [INFO] [stdout] | [INFO] [stdout] 239 | .map(|(((var, e), op), rhs)| Assignment { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 243 | rhs: Box::new(rhs), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:309:33 [INFO] [stdout] | [INFO] [stdout] 309 | let block_or_enum = |p| self.block(p).map(BlockOrEnum::Block).or(enumeration); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:322:23 [INFO] [stdout] | [INFO] [stdout] 320 | .map(|((id, middle), tail)| Call { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 321 | id, [INFO] [stdout] 322 | tail: tail.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] --> src/parser/parser.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | .or(|p| self.range(p).map(AtomExpression::Range)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:397:21 [INFO] [stdout] | [INFO] [stdout] 397 | .or(|p| self.list_init(p).map(AtomExpression::ListInit)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:400:21 [INFO] [stdout] | [INFO] [stdout] 400 | .or(|p| self.call(p).map(AtomExpression::Call)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:422:35 [INFO] [stdout] | [INFO] [stdout] 422 | .then_or_none_zip(|p| self.block(p).or_none()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:458:9 [INFO] [stdout] | [INFO] [stdout] 454 | let logic = self.logic(pos).map(CompoundExpression::Logic); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 458 | / logic [INFO] [stdout] 459 | | .or_from(pos) [INFO] [stdout] 460 | | .or(arithmetic) [INFO] [stdout] 461 | | .or(elvis) [INFO] [stdout] 462 | | .or(tail) [INFO] [stdout] 463 | | .or(is) [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | let arithmetic = |p| self.arith(p).map(CompoundExpression::Arith); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:456:25 [INFO] [stdout] | [INFO] [stdout] 456 | let elvis = |p| self.elvis(p).map(CompoundExpression::Elvis); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:474:43 [INFO] [stdout] | [INFO] [stdout] 474 | .map(|(e, l)| (e, Box::new(l))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:489:39 [INFO] [stdout] | [INFO] [stdout] 489 | .map(|(e, l)| (e, Box::new(l))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:514:27 [INFO] [stdout] | [INFO] [stdout] 514 | .then_zip(|p| mul(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:514:41 [INFO] [stdout] | [INFO] [stdout] 514 | .then_zip(|p| mul(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:515:46 [INFO] [stdout] | [INFO] [stdout] 515 | .map(|(s, e)| Arithmetic::Add(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | .then_zip(|p| add(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:522:41 [INFO] [stdout] | [INFO] [stdout] 522 | .then_zip(|p| add(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:523:48 [INFO] [stdout] | [INFO] [stdout] 523 | .map(|(s, e)| Arithmetic::Range(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 530 | .then_zip(|p| range(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:530:43 [INFO] [stdout] | [INFO] [stdout] 530 | .then_zip(|p| range(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:531:48 [INFO] [stdout] | [INFO] [stdout] 531 | .map(|(s, e)| Arithmetic::Shift(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:539:27 [INFO] [stdout] | [INFO] [stdout] 539 | .then_zip(|p| shift(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | .then_zip(|p| shift(p).or(|p| self.expression(p).map(Arithmetic::Expression))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:540:46 [INFO] [stdout] | [INFO] [stdout] 540 | .map(|(s, e)| Arithmetic::Bit(s, Box::new(e))) [INFO] [stdout] | ------ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:556:35 [INFO] [stdout] | [INFO] [stdout] 556 | .then_or_none_zip(|p| self.block(p).or_none()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/parser.rs:711:25 [INFO] [stdout] | [INFO] [stdout] 711 | .or(|p| self.assignment(p).map(WhileCond::Assignment)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | self.map(|r| r.into_iter().collect::>()) [INFO] [stdout] | - ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn then_or_default_zip(self, then: Then) -> ParseResult<'a, (T, Rhs)> [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 77 | self.then_or_val_zip(then, Rhs::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 157 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | then: Then, [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 159 | combine: Combine, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 165 | self.then_or_val_combine(then, None, combine) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:197:32 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn then_or_none(self, then: Then) -> ParseResult<'a, Option> [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 197 | self.then_or_val(then, None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 282 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | other: ParseResult<'a, Rhs>, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 284 | comb: Combine, [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | match (self, other) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn or_none(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | self.map(|x| Some(x)).or_val(None) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:319:38 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn or_none(self) -> ParseResult<'a, Option> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 319 | self.map(|x| Some(x)).or_val(None) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/result.rs:352:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn next(self, next: Next) -> Alt<'a, T> [INFO] [stdout] | ---- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 352 | current: next(self.init_pos), [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 46 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_wren` (bin "rusty_wren" test) due to 47 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "832f985b22985e30b2505caf17338151cc19b39a683336431ee9f6924eebf892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "832f985b22985e30b2505caf17338151cc19b39a683336431ee9f6924eebf892", kill_on_drop: false }` [INFO] [stdout] 832f985b22985e30b2505caf17338151cc19b39a683336431ee9f6924eebf892