[INFO] cloning repository https://github.com/Dangornushi/tuningfork [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dangornushi/tuningfork" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2Ftuningfork", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2Ftuningfork'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb6cdf050f28b7f126e66af333fe3cbf47c4d9ff [INFO] checking Dangornushi/tuningfork/fb6cdf050f28b7f126e66af333fe3cbf47c4d9ff 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%2FDangornushi%2Ftuningfork" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dangornushi/tuningfork 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/Dangornushi/tuningfork [INFO] finished tweaking git repo https://github.com/Dangornushi/tuningfork [INFO] tweaked toml for git repo https://github.com/Dangornushi/tuningfork written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dangornushi/tuningfork 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7706bbce6d418359b9f1a30ab1ee812a9117d127de1be31b63280a36fbc10f76 [INFO] running `Command { std: "docker" "start" "-a" "7706bbce6d418359b9f1a30ab1ee812a9117d127de1be31b63280a36fbc10f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7706bbce6d418359b9f1a30ab1ee812a9117d127de1be31b63280a36fbc10f76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7706bbce6d418359b9f1a30ab1ee812a9117d127de1be31b63280a36fbc10f76", kill_on_drop: false }` [INFO] [stdout] 7706bbce6d418359b9f1a30ab1ee812a9117d127de1be31b63280a36fbc10f76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c0962ef352d18649bc91c8f494c1ff48c17525f759e919fa5dd4ff2de230f67 [INFO] running `Command { std: "docker" "start" "-a" "2c0962ef352d18649bc91c8f494c1ff48c17525f759e919fa5dd4ff2de230f67", kill_on_drop: false }` [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking tuningfork v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `C_Generator` should have an upper camel case name [INFO] [stdout] --> src/c_generator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct C_Generator { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CGenerator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `C_Generator` should have an upper camel case name [INFO] [stdout] --> src/c_generator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct C_Generator { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CGenerator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{self, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/c_generator.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | NodeKind::Pass(word) => self.add_source_buf("pass".to_string()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elif_then` [INFO] [stdout] --> src/c_generator.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | elif_then, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `elif_then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_then` [INFO] [stdout] --> src/c_generator.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | else_then, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `else_then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_menber` [INFO] [stdout] --> src/c_generator.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | is_menber, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_menber: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boolean` [INFO] [stdout] --> src/parse.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | ... let boolean = self.boolean(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | let mut elif_then: Option>> = None; [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: unused variable: `language_type` [INFO] [stdout] --> src/parse.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let language_type = self.now_token.next(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_language_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_type` [INFO] [stdout] --> src/python_generator.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | v_type, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `v_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elif_then` [INFO] [stdout] --> src/python_generator.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | elif_then, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `elif_then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `language_type` [INFO] [stdout] --> src/python_generator.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | language_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `language_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONST_VARIABLE_RESERV` is never used [INFO] [stdout] --> src/c_generator.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CONST_VARIABLE_RESERV: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONST_FUNCTION_RESERV` is never used [INFO] [stdout] --> src/c_generator.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CONST_FUNCTION_RESERV: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_string` is never used [INFO] [stdout] --> src/c_generator.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn str_to_string(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `C_Generator` is never constructed [INFO] [stdout] --> src/c_generator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct C_Generator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_source_buf`, `exec_argument`, `get_identifier`, `get_indent`, and `generator` are never used [INFO] [stdout] --> src/c_generator.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl C_Generator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_source_buf(&mut self, data: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn exec_argument(&mut self, params: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_identifier(&mut self, type_data: Type) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_indent(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn generator(&mut self, node: Node) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAW_DATA_TYPE_C` is never used [INFO] [stdout] --> src/parse.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const RAW_DATA_TYPE_C: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAW_DATA_TYPE_CPP` is never used [INFO] [stdout] --> src/parse.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const RAW_DATA_TYPE_CPP: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAW_DATA_TYPE_RUST` is never used [INFO] [stdout] --> src/parse.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const RAW_DATA_TYPE_RUST: i32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VarRef`, `Assign`, and `Elif` are never constructed [INFO] [stdout] --> src/parse.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum NodeKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | VarRef(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Assign { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Elif { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node` and `function_argments` are never read [INFO] [stdout] --> src/parse.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Parser<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | pub node: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub function_argments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sheek_watch_token`, `safty_sheek_watch_token`, `safety_sheek_token`, `word`, and `err_message` are never used [INFO] [stdout] --> src/parse.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn sheek_watch_token(&mut self, index: i32) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn safty_sheek_watch_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn safety_sheek_token(&mut self, now_token: std::slice::Iter, index: i32) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn word(&mut self) -> Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn err_message(&mut self, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_content` and `token_type` are never read [INFO] [stdout] --> src/token.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | token_content: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | token_type: Type, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/token.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | tokens: Vec, [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/parse.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 333 | let lhs = self.reserv(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let rhs = self.boolean(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | kind: Some(NodeKind::Compare { [INFO] [stdout] | ___________________^ [INFO] [stdout] 348 | | lhs: Box::new(lhs), [INFO] [stdout] 349 | | op: Box::new(op.unwrap().clone()), [INFO] [stdout] 350 | | rhs: Box::new(rhs), [INFO] [stdout] 351 | | }), [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/parse.rs:497:19 [INFO] [stdout] | [INFO] [stdout] 492 | let reserv = self.reserv(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | kind: Some(NodeKind::Expr { [INFO] [stdout] | ___________________^ [INFO] [stdout] 498 | | reserv: Box::new(reserv), [INFO] [stdout] 499 | | }), [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/parse.rs:523:19 [INFO] [stdout] | [INFO] [stdout] 505 | let mut vec_node = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | kind: Some(NodeKind::Block(vec_node)), [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/parse.rs:581:19 [INFO] [stdout] | [INFO] [stdout] 564 | let argument; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 581 | kind: Some(NodeKind::Function { [INFO] [stdout] | ___________________^ [INFO] [stdout] 582 | | params: argument, [INFO] [stdout] 583 | | body: Box::new(self.body()), [INFO] [stdout] 584 | | function_type, [INFO] [stdout] 585 | | function_name, [INFO] [stdout] 586 | | is_menber: now_function_is_menber, [INFO] [stdout] 587 | | }), [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/parse.rs:626:19 [INFO] [stdout] | [INFO] [stdout] 607 | let mut menber_s = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 626 | kind: Some(NodeKind::Class { [INFO] [stdout] | ___________________^ [INFO] [stdout] 627 | | class_name, [INFO] [stdout] 628 | | menbers: menber_s, [INFO] [stdout] 629 | | }), [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/parse.rs:724:19 [INFO] [stdout] | [INFO] [stdout] 698 | let mut function_define_s = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 724 | kind: Some(NodeKind::Root { function_define_s }), [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 6 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/c_generator.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | NodeKind::Pass(word) => self.add_source_buf("pass".to_string()), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elif_then` [INFO] [stdout] --> src/c_generator.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 152 | elif_then, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `elif_then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_then` [INFO] [stdout] --> src/c_generator.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | else_then, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `else_then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_menber` [INFO] [stdout] --> src/c_generator.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | is_menber, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `is_menber: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuningfork` (bin "tuningfork" test) due to 7 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `boolean` [INFO] [stdout] --> src/parse.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 439 | ... let boolean = self.boolean(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boolean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parse.rs:425:25 [INFO] [stdout] | [INFO] [stdout] 425 | let mut elif_then: Option>> = None; [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: unused variable: `language_type` [INFO] [stdout] --> src/parse.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let language_type = self.now_token.next(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_language_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_type` [INFO] [stdout] --> src/python_generator.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | v_type, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `v_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `elif_then` [INFO] [stdout] --> src/python_generator.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | elif_then, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `elif_then: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `language_type` [INFO] [stdout] --> src/python_generator.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | language_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `language_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONST_VARIABLE_RESERV` is never used [INFO] [stdout] --> src/c_generator.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CONST_VARIABLE_RESERV: i32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONST_FUNCTION_RESERV` is never used [INFO] [stdout] --> src/c_generator.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CONST_FUNCTION_RESERV: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `str_to_string` is never used [INFO] [stdout] --> src/c_generator.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn str_to_string(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `C_Generator` is never constructed [INFO] [stdout] --> src/c_generator.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct C_Generator { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_source_buf`, `exec_argument`, `get_identifier`, `get_indent`, and `generator` are never used [INFO] [stdout] --> src/c_generator.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl C_Generator { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn add_source_buf(&mut self, data: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn exec_argument(&mut self, params: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn get_identifier(&mut self, type_data: Type) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get_indent(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn generator(&mut self, node: Node) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAW_DATA_TYPE_C` is never used [INFO] [stdout] --> src/parse.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const RAW_DATA_TYPE_C: i32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAW_DATA_TYPE_CPP` is never used [INFO] [stdout] --> src/parse.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const RAW_DATA_TYPE_CPP: i32 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RAW_DATA_TYPE_RUST` is never used [INFO] [stdout] --> src/parse.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const RAW_DATA_TYPE_RUST: i32 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `VarRef`, `Assign`, and `Elif` are never constructed [INFO] [stdout] --> src/parse.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum NodeKind { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 21 | VarRef(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | Assign { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Elif { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeKind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node` and `function_argments` are never read [INFO] [stdout] --> src/parse.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Parser<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 101 | pub node: Node, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub function_argments: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sheek_watch_token`, `safty_sheek_watch_token`, `safety_sheek_token`, `word`, and `err_message` are never used [INFO] [stdout] --> src/parse.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl<'a> Parser<'a> { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn sheek_watch_token(&mut self, index: i32) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn safty_sheek_watch_token( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | pub fn safety_sheek_token(&mut self, now_token: std::slice::Iter, index: i32) -> Type { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | fn word(&mut self) -> Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | fn err_message(&mut self, msg: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token_content` and `token_type` are never read [INFO] [stdout] --> src/token.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 33 | token_content: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | token_type: Type, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tokens` is never read [INFO] [stdout] --> src/token.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Lexer { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | tokens: Vec, [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/parse.rs:347:19 [INFO] [stdout] | [INFO] [stdout] 333 | let lhs = self.reserv(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 344 | let rhs = self.boolean(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 347 | kind: Some(NodeKind::Compare { [INFO] [stdout] | ___________________^ [INFO] [stdout] 348 | | lhs: Box::new(lhs), [INFO] [stdout] 349 | | op: Box::new(op.unwrap().clone()), [INFO] [stdout] 350 | | rhs: Box::new(rhs), [INFO] [stdout] 351 | | }), [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/parse.rs:497:19 [INFO] [stdout] | [INFO] [stdout] 492 | let reserv = self.reserv(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 497 | kind: Some(NodeKind::Expr { [INFO] [stdout] | ___________________^ [INFO] [stdout] 498 | | reserv: Box::new(reserv), [INFO] [stdout] 499 | | }), [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/parse.rs:523:19 [INFO] [stdout] | [INFO] [stdout] 505 | let mut vec_node = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 523 | kind: Some(NodeKind::Block(vec_node)), [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/parse.rs:581:19 [INFO] [stdout] | [INFO] [stdout] 564 | let argument; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 581 | kind: Some(NodeKind::Function { [INFO] [stdout] | ___________________^ [INFO] [stdout] 582 | | params: argument, [INFO] [stdout] 583 | | body: Box::new(self.body()), [INFO] [stdout] 584 | | function_type, [INFO] [stdout] 585 | | function_name, [INFO] [stdout] 586 | | is_menber: now_function_is_menber, [INFO] [stdout] 587 | | }), [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/parse.rs:626:19 [INFO] [stdout] | [INFO] [stdout] 607 | let mut menber_s = Vec::new(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 626 | kind: Some(NodeKind::Class { [INFO] [stdout] | ___________________^ [INFO] [stdout] 627 | | class_name, [INFO] [stdout] 628 | | menbers: menber_s, [INFO] [stdout] 629 | | }), [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/parse.rs:724:19 [INFO] [stdout] | [INFO] [stdout] 698 | let mut function_define_s = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 724 | kind: Some(NodeKind::Root { function_define_s }), [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 6 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tuningfork` (bin "tuningfork") due to 7 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2c0962ef352d18649bc91c8f494c1ff48c17525f759e919fa5dd4ff2de230f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c0962ef352d18649bc91c8f494c1ff48c17525f759e919fa5dd4ff2de230f67", kill_on_drop: false }` [INFO] [stdout] 2c0962ef352d18649bc91c8f494c1ff48c17525f759e919fa5dd4ff2de230f67