[INFO] cloning repository https://github.com/GabrielRosalesAzurdia/cherry-lenguaje [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/GabrielRosalesAzurdia/cherry-lenguaje" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabrielRosalesAzurdia%2Fcherry-lenguaje", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGabrielRosalesAzurdia%2Fcherry-lenguaje'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d81df525ebb21a74eb1ca2084f6253fc951c421 [INFO] checking GabrielRosalesAzurdia/cherry-lenguaje/2d81df525ebb21a74eb1ca2084f6253fc951c421 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%2FGabrielRosalesAzurdia%2Fcherry-lenguaje" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/GabrielRosalesAzurdia/cherry-lenguaje 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/GabrielRosalesAzurdia/cherry-lenguaje [INFO] finished tweaking git repo https://github.com/GabrielRosalesAzurdia/cherry-lenguaje [INFO] tweaked toml for git repo https://github.com/GabrielRosalesAzurdia/cherry-lenguaje written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/GabrielRosalesAzurdia/cherry-lenguaje 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 2246a6fb95f1206737aa345109d7ec0ad4b2e241c443574bab47cc6a2382f8f4 [INFO] running `Command { std: "docker" "start" "-a" "2246a6fb95f1206737aa345109d7ec0ad4b2e241c443574bab47cc6a2382f8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2246a6fb95f1206737aa345109d7ec0ad4b2e241c443574bab47cc6a2382f8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2246a6fb95f1206737aa345109d7ec0ad4b2e241c443574bab47cc6a2382f8f4", kill_on_drop: false }` [INFO] [stdout] 2246a6fb95f1206737aa345109d7ec0ad4b2e241c443574bab47cc6a2382f8f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d5017ca416753a9089cf9d35139935303cbd7a6e47852ba801ac089a9802622e [INFO] running `Command { std: "docker" "start" "-a" "d5017ca416753a9089cf9d35139935303cbd7a6e47852ba801ac089a9802622e", kill_on_drop: false }` [INFO] [stderr] Checking cherry v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::ab_st_tr::ast::ExpressionStatement` [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ab_st_tr::ast::ExpressionStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/mod.rs:1098:7 [INFO] [stdout] | [INFO] [stdout] 1098 | };; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `let_statement` should have an upper camel case name [INFO] [stdout] --> src/ab_st_tr/ast.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct let_statement { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LetStatement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::types` [INFO] [stdout] --> src/parser/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ab_st_tr::ast::ExpressionStatement` [INFO] [stdout] --> src/parser/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::ab_st_tr::ast::ExpressionStatement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/mod.rs:1098:7 [INFO] [stdout] | [INFO] [stdout] 1098 | };; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `let_statement` should have an upper camel case name [INFO] [stdout] --> src/ab_st_tr/ast.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct let_statement { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LetStatement` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ast::Node` [INFO] [stdout] --> src/ab_st_tr/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ast::Node; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::types` [INFO] [stdout] --> src/ab_st_tr/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::types; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ab_st_tr::ast::Statement` [INFO] [stdout] --> src/parser/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ab_st_tr::ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ab_st_tr::ast::Expression` [INFO] [stdout] --> src/parser/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ab_st_tr::ast::Expression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ab_st_tr::ast::Statement` [INFO] [stdout] --> src/parser/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ab_st_tr::ast::Statement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ab_st_tr::ast::Expression` [INFO] [stdout] --> src/parser/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::ab_st_tr::ast::Expression; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let mut stmt = match self.parse_expression(LOWEST){ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:628:17 [INFO] [stdout] | [INFO] [stdout] 628 | let mut stmt = self.parse_statement(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | let mut stmt = match self.parse_expression(LOWEST){ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser/parser.rs:628:17 [INFO] [stdout] | [INFO] [stdout] 628 | let mut stmt = self.parse_statement(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Character` is never constructed [INFO] [stdout] --> src/lexer/mod.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Character{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EI` is never constructed [INFO] [stdout] --> src/parser/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct EI { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrefixTest` is never constructed [INFO] [stdout] --> src/parser/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct PrefixTest{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LetTest` is never constructed [INFO] [stdout] --> src/parser/mod.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct LetTest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReturnTest` is never constructed [INFO] [stdout] --> src/parser/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct ReturnTest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PrefixTest2` is never constructed [INFO] [stdout] --> src/parser/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct PrefixTest2 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfixTest` is never constructed [INFO] [stdout] --> src/parser/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct InfixTest{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfixTest2` is never constructed [INFO] [stdout] --> src/parser/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct InfixTest2 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OperationPresedence` is never constructed [INFO] [stdout] --> src/parser/mod.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | struct OperationPresedence{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BooleanTest` is never constructed [INFO] [stdout] --> src/parser/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | struct BooleanTest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input` and `expect_params` are never read [INFO] [stdout] --> src/parser/mod.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct FunctionParameterParsigTest{ [INFO] [stdout] | --------------------------- fields in this struct [INFO] [stdout] 78 | input : String , [INFO] [stdout] | ^^^^^ [INFO] [stdout] 79 | expect_params : Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input`, `expected_ident`, and `expected_args` are never read [INFO] [stdout] --> src/parser/mod.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct TestCallExpressionParameterParsing{ [INFO] [stdout] | ---------------------------------- fields in this struct [INFO] [stdout] 84 | input : String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 85 | expected_ident : String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 86 | expected_args : Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_let_statement_internal` is never used [INFO] [stdout] --> src/parser/mod.rs:1089:4 [INFO] [stdout] | [INFO] [stdout] 1089 | fn test_let_statement_internal(s : &Box, name:String ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_parser_errors` is never used [INFO] [stdout] --> src/parser/mod.rs:1114:4 [INFO] [stdout] | [INFO] [stdout] 1114 | fn check_parser_errors(p: &parser::Parser){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prefixParseFns` should have a snake case name [INFO] [stdout] --> src/parser/parser.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | prefixParseFns : HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prefix_parse_fns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `infixParseFns` should have a snake case name [INFO] [stdout] --> src/parser/parser.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | infixParseFns : HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `infix_parse_fns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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:261:13 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn parse_infix_expression(&mut self, left: Box) -> Option> { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let left_var = left; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | / Box::new( [INFO] [stdout] 262 | | ast::InfixExpression{ [INFO] [stdout] 263 | | token: token_var, [INFO] [stdout] 264 | | operator: operator_var, [INFO] [stdout] ... | [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | ) [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:303:14 [INFO] [stdout] | [INFO] [stdout] 297 | let expresion = ast::PrefixExpression{ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | Some(Box::new(expresion)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_Infix` should have a snake case name [INFO] [stdout] --> src/parser/parser.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn register_Infix(&mut self, t:TokenType, f:FUNCIONES){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `register_infix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Statements` should have a snake case name [INFO] [stdout] --> src/ab_st_tr/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub Statements : Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cherry` (lib) due to 3 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `EI` is never constructed [INFO] [stdout] --> src/parser/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct EI { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operator` is never read [INFO] [stdout] --> src/parser/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct InfixTest2 { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | operator : String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/parser/mod.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/parser/mod.rs:348:62 [INFO] [stdout] | [INFO] [stdout] 348 | panic!("consequence no tiene 1 statement tiene, got: {}"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 348 | panic!("consequence no tiene 1 statement tiene, got: {}", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 348 | panic!("{}", "consequence no tiene 1 statement tiene, got: {}"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/parser/mod.rs:422:62 [INFO] [stdout] | [INFO] [stdout] 422 | panic!("consequence no tiene 1 statement tiene, got: {}"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 422 | panic!("consequence no tiene 1 statement tiene, got: {}", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 422 | panic!("{}", "consequence no tiene 1 statement tiene, got: {}"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `prefixParseFns` should have a snake case name [INFO] [stdout] --> src/parser/parser.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | prefixParseFns : HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `prefix_parse_fns` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `infixParseFns` should have a snake case name [INFO] [stdout] --> src/parser/parser.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | infixParseFns : HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `infix_parse_fns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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:261:13 [INFO] [stdout] | [INFO] [stdout] 250 | pub fn parse_infix_expression(&mut self, left: Box) -> Option> { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | let left_var = left; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 261 | / Box::new( [INFO] [stdout] 262 | | ast::InfixExpression{ [INFO] [stdout] 263 | | token: token_var, [INFO] [stdout] 264 | | operator: operator_var, [INFO] [stdout] ... | [INFO] [stdout] 267 | | } [INFO] [stdout] 268 | | ) [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:303:14 [INFO] [stdout] | [INFO] [stdout] 297 | let expresion = ast::PrefixExpression{ [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 303 | Some(Box::new(expresion)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `register_Infix` should have a snake case name [INFO] [stdout] --> src/parser/parser.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn register_Infix(&mut self, t:TokenType, f:FUNCIONES){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `register_infix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Statements` should have a snake case name [INFO] [stdout] --> src/ab_st_tr/ast.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub Statements : Vec>, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `statements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cherry` (lib test) due to 3 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d5017ca416753a9089cf9d35139935303cbd7a6e47852ba801ac089a9802622e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5017ca416753a9089cf9d35139935303cbd7a6e47852ba801ac089a9802622e", kill_on_drop: false }` [INFO] [stdout] d5017ca416753a9089cf9d35139935303cbd7a6e47852ba801ac089a9802622e