[INFO] cloning repository https://github.com/vladsaratovskyi/kekar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vladsaratovskyi/kekar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladsaratovskyi%2Fkekar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladsaratovskyi%2Fkekar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 75fdba4e6b1f0eab50aa9552e4999faa84419d36 [INFO] checking vladsaratovskyi/kekar against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladsaratovskyi%2Fkekar" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vladsaratovskyi/kekar on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vladsaratovskyi/kekar [INFO] finished tweaking git repo https://github.com/vladsaratovskyi/kekar [INFO] tweaked toml for git repo https://github.com/vladsaratovskyi/kekar written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vladsaratovskyi/kekar 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94bcfda019fd4ca2ac2625943e582901d9d6d099dfa7e40e4274d5a8955df71f [INFO] running `Command { std: "docker" "start" "-a" "94bcfda019fd4ca2ac2625943e582901d9d6d099dfa7e40e4274d5a8955df71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94bcfda019fd4ca2ac2625943e582901d9d6d099dfa7e40e4274d5a8955df71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94bcfda019fd4ca2ac2625943e582901d9d6d099dfa7e40e4274d5a8955df71f", kill_on_drop: false }` [INFO] [stdout] 94bcfda019fd4ca2ac2625943e582901d9d6d099dfa7e40e4274d5a8955df71f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 427ca12d40f36204a4fdda796230ec6a92fb90d711d47034ed617a15800be025 [INFO] running `Command { std: "docker" "start" "-a" "427ca12d40f36204a4fdda796230ec6a92fb90d711d47034ed617a15800be025", kill_on_drop: false }` [INFO] [stderr] Checking kekar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayExpr`, `Binding`, `BlockStmt`, `CallExpr`, `ClassStmt`, `ComputedExpr`, `ExprStmt`, `Expr`, `ForStmt`, `FunStmt`, `IfStmt`, `ImportStmt`, `Literal`, `MemberExpr`, `Param`, `Parser`, `ReturnStmt`, `Stmt`, `Type`, `VarStmt`, and `lexer::Token` [INFO] [stdout] --> src/parser.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | ArrayExpr, BlockStmt, CallExpr, ClassStmt, ComputedExpr, Expr, ExprStmt, ForStmt, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] 517 | FunStmt, IfStmt, ImportStmt, Literal, MemberExpr, Param, ReturnStmt, Stmt, Type, [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 518 | VarStmt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 519 | }, [INFO] [stdout] 520 | lexer::Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 521 | parser::{Binding, Parser}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `from` is never read [INFO] [stdout] --> src/parser.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut from = "".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `from` is never read [INFO] [stdout] --> src/parser.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut from = "".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Unary(Token, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Assignment(Box, Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Call(CallExpr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Mebmer(MemberExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | ComputedExpr(ComputedExpr), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | Array(ArrayExpr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Empty [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Unary(Token, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Binary(Box, Token, Box), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | Assignment(Box, Box), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | Call(CallExpr), [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | Mebmer(MemberExpr), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | ComputedExpr(ComputedExpr), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 12 | Array(ArrayExpr), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Empty [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: multiple variants are never constructed [INFO] [stdout] --> src/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 18 | Block(BlockStmt), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Expr(ExprStmt), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Var(VarStmt), [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | If(IfStmt), [INFO] [stdout] | ^^ [INFO] [stdout] 22 | For(ForStmt), [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | Fun(FunStmt), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Class(ClassStmt), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Return(ReturnStmt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Import(ImportStmt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | Empty [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `String`, `Num`, `Bool`, `Identifier`, and `This` are never constructed [INFO] [stdout] --> src/ast.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 113 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | Num(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 115 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 117 | This [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Stmt { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 18 | Block(BlockStmt), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Expr(ExprStmt), [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | Var(VarStmt), [INFO] [stdout] | ^^^ [INFO] [stdout] 21 | If(IfStmt), [INFO] [stdout] | ^^ [INFO] [stdout] 22 | For(ForStmt), [INFO] [stdout] | ^^^ [INFO] [stdout] 23 | Fun(FunStmt), [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Class(ClassStmt), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Return(ReturnStmt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Import(ImportStmt), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | Empty [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` 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 `Num`, `String`, `Bool`, `Identifier`, `Array`, and `None` are never constructed [INFO] [stdout] --> src/ast.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 128 | Num, [INFO] [stdout] | ^^^ [INFO] [stdout] 129 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 131 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | Array(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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 `String`, `Num`, `Bool`, `Identifier`, and `This` are never constructed [INFO] [stdout] --> src/ast.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub enum Literal { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 113 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 114 | Num(f64), [INFO] [stdout] | ^^^ [INFO] [stdout] 115 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 116 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 117 | This [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Literal` 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 `Num`, `String`, `Bool`, `Identifier`, `Array`, and `None` are never constructed [INFO] [stdout] --> src/ast.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub enum Type { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 128 | Num, [INFO] [stdout] | ^^^ [INFO] [stdout] 129 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 130 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 131 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | Array(Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | None [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` 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/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | // Single-character tokens. [INFO] [stdout] 7 | LeftParen, RightParen, LeftBracket, RightBracket, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 8 | Coma, Dot, Minus, Plus, Semicolon, Slash, Star, [INFO] [stdout] | ^^^^ ^^^ ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 9 | Percent, PlusEqual, MinusEqual, Colon, LeftBrace, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Not, NotEqual, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] 14 | Equal, EqualEqual, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 15 | Greater, GreaterEqual, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 16 | Less, LessEqual, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Identifier(String), String(String), Number(f64), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | And, Class, Else, False, Fun, For, If, In, None, Or, [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^^^ ^^^ ^^^ ^^ ^^ ^^^^ ^^ [INFO] [stdout] 23 | Print, Return, Super, This, True, Var, While, Import, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 24 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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/lexer.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | // Single-character tokens. [INFO] [stdout] 7 | LeftParen, RightParen, LeftBracket, RightBracket, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 8 | Coma, Dot, Minus, Plus, Semicolon, Slash, Star, [INFO] [stdout] | ^^^^ ^^^ ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] 9 | Percent, PlusEqual, MinusEqual, Colon, LeftBrace, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] 10 | RightBrace, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Not, NotEqual, [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] 14 | Equal, EqualEqual, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 15 | Greater, GreaterEqual, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 16 | Less, LessEqual, [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | Identifier(String), String(String), Number(f64), [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | And, Class, Else, False, Fun, For, If, In, None, Or, [INFO] [stdout] | ^^^ ^^^^^ ^^^^ ^^^^^ ^^^ ^^^ ^^ ^^ ^^^^ ^^ [INFO] [stdout] 23 | Print, Return, Super, This, True, Var, While, Import, [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^ ^^^ ^^^^^ ^^^^^^ [INFO] [stdout] 24 | From, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | [INFO] [stdout] 26 | Eof [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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: function `get_keyword` is never used [INFO] [stdout] --> src/lexer.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_keyword(key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_keyword` is never used [INFO] [stdout] --> src/lexer.rs:35:4 [INFO] [stdout] | [INFO] [stdout] 35 | fn get_keyword(key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_num` is never used [INFO] [stdout] --> src/lexer.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_num(char: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_num` is never used [INFO] [stdout] --> src/lexer.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn is_num(char: char) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_letter` is never used [INFO] [stdout] --> src/lexer.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn is_letter(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_letter` is never used [INFO] [stdout] --> src/lexer.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn is_letter(char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Lexer { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lexer.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(path_to_file: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn check_second_char(&mut self, char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn peek_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn peek_next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn move_next(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn is_end(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn get_value(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn get_num_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn parse_string(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn parse_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn parse_word(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn scan_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn lex_file(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lexer.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 81 | impl Lexer { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(path_to_file: &String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn check_second_char(&mut self, char: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn peek_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn peek_next_char(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn move_next(&mut self) -> char { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | fn is_end(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn get_value(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn get_num_value(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn parse_string(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn parse_number(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn parse_word(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn scan_token(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn lex_file(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "427ca12d40f36204a4fdda796230ec6a92fb90d711d47034ed617a15800be025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427ca12d40f36204a4fdda796230ec6a92fb90d711d47034ed617a15800be025", kill_on_drop: false }` [INFO] [stdout] 427ca12d40f36204a4fdda796230ec6a92fb90d711d47034ed617a15800be025 [INFO] checking vladsaratovskyi/kekar against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladsaratovskyi%2Fkekar" "/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/vladsaratovskyi/kekar on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vladsaratovskyi/kekar [INFO] finished tweaking git repo https://github.com/vladsaratovskyi/kekar [INFO] tweaked toml for git repo https://github.com/vladsaratovskyi/kekar written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vladsaratovskyi/kekar 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4193a4c0caa8a3d0d240766cf5f4432e01e3bd66182f287a4f10702229f2e5b2 [INFO] running `Command { std: "docker" "start" "-a" "4193a4c0caa8a3d0d240766cf5f4432e01e3bd66182f287a4f10702229f2e5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4193a4c0caa8a3d0d240766cf5f4432e01e3bd66182f287a4f10702229f2e5b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4193a4c0caa8a3d0d240766cf5f4432e01e3bd66182f287a4f10702229f2e5b2", kill_on_drop: false }` [INFO] [stdout] 4193a4c0caa8a3d0d240766cf5f4432e01e3bd66182f287a4f10702229f2e5b2 [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 504d618e2de90921f24a09b5fd8c7a39d22ced67b001cafe342cff313156630f [INFO] running `Command { std: "docker" "start" "-a" "504d618e2de90921f24a09b5fd8c7a39d22ced67b001cafe342cff313156630f", kill_on_drop: false }` [INFO] [stderr] Checking kekar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ArrayExpr`, `Binding`, `BlockStmt`, `CallExpr`, `ClassStmt`, `ComputedExpr`, `ExprStmt`, `Expr`, `ForStmt`, `FunStmt`, `IfStmt`, `ImportStmt`, `Literal`, `MemberExpr`, `Param`, `Parser`, `ReturnStmt`, `Stmt`, `Type`, `VarStmt`, and `lexer::Token` [INFO] [stdout] --> src/parser.rs:516:13 [INFO] [stdout] | [INFO] [stdout] 516 | ArrayExpr, BlockStmt, CallExpr, ClassStmt, ComputedExpr, Expr, ExprStmt, ForStmt, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^^^ [INFO] [stdout] 517 | FunStmt, IfStmt, ImportStmt, Literal, MemberExpr, Param, ReturnStmt, Stmt, Type, [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^ ^^^^ [INFO] [stdout] 518 | VarStmt, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 519 | }, [INFO] [stdout] 520 | lexer::Token, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 521 | parser::{Binding, Parser}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `from` is never read [INFO] [stdout] --> src/parser.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut from = "".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 93 | let expr = self.parse_expr(Binding::Def); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Stmt::Expr(ExprStmt { expr }) [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.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 114 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Stmt::Block(BlockStmt { stmts: body }) [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.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_binary_expr(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Expr::Binary(Box::new(left), operator, Box::new(self.parse_expr(binding))) [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.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_binary_expr(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Expr::Binary(Box::new(left), operator, Box::new(self.parse_expr(binding))) [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.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 163 | let mut field_type = Type::None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut assignment = Expr::Empty; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Stmt::Var(VarStmt { [INFO] [stdout] | ___________________^ [INFO] [stdout] 179 | | name, [INFO] [stdout] 180 | | assignment, [INFO] [stdout] 181 | | var_type: field_type, [INFO] [stdout] 182 | | }) [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.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 185 | fn parse_assignment_exrp(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let right = self.parse_expr(binding); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | [INFO] [stdout] 191 | Expr::Assignment(Box::new(left), Box::new(right)) [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.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 185 | fn parse_assignment_exrp(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let right = self.parse_expr(binding); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | [INFO] [stdout] 191 | Expr::Assignment(Box::new(left), Box::new(right)) [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.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 196 | let condition = self.parse_expr(Binding::Assign); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let main = self.parse_block_stmt(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | [INFO] [stdout] 199 | let mut alter = Stmt::Empty; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Stmt::If(IfStmt { [INFO] [stdout] | __________________^ [INFO] [stdout] 211 | | condition, [INFO] [stdout] 212 | | main: Box::new(main), [INFO] [stdout] 213 | | alter: Box::new(alter), [INFO] [stdout] 214 | | }) [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.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 246 | let mut fun_type = Type::None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | [INFO] [stdout] 248 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | [INFO] [stdout] 274 | Stmt::Fun(FunStmt { [INFO] [stdout] | ___________________^ [INFO] [stdout] 275 | | name: fun_name, [INFO] [stdout] 276 | | return_type: fun_type, [INFO] [stdout] 277 | | params, [INFO] [stdout] 278 | | block: Box::new(block), [INFO] [stdout] 279 | | }) [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.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 282 | fn parse_fun_call_expr(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | self.get_token_and_move(); [INFO] [stdout] 284 | let mut arguments = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | Expr::Call(CallExpr { [INFO] [stdout] | ____________________^ [INFO] [stdout] 302 | | method_name: name, [INFO] [stdout] 303 | | arguments, [INFO] [stdout] 304 | | }) [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.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_member_exrp(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | Expr::Mebmer(MemberExpr { [INFO] [stdout] | ______________________^ [INFO] [stdout] 320 | | member: Box::new(left), [INFO] [stdout] 321 | | property: self.expect_identifier_get_name(), [INFO] [stdout] 322 | | }) [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.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 328 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | [INFO] [stdout] 330 | Stmt::Class(ClassStmt { [INFO] [stdout] | _____________________^ [INFO] [stdout] 331 | | name: class_name, [INFO] [stdout] 332 | | block: Box::new(block), [INFO] [stdout] 333 | | }) [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.rs:371:22 [INFO] [stdout] | [INFO] [stdout] 367 | let expr = self.parse_expr(Binding::Def); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | Stmt::Return(ReturnStmt { return_expr: expr }) [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.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 376 | let mut array = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Expr::Array(ArrayExpr { array }) [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 14 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kekar` (lib) due to 15 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `from` is never read [INFO] [stdout] --> src/parser.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | let mut from = "".to_string(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 93 | let expr = self.parse_expr(Binding::Def); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 96 | Stmt::Expr(ExprStmt { expr }) [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.rs:131:21 [INFO] [stdout] | [INFO] [stdout] 114 | let mut body = Vec::new(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | Stmt::Block(BlockStmt { stmts: body }) [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.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_binary_expr(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Expr::Binary(Box::new(left), operator, Box::new(self.parse_expr(binding))) [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.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_binary_expr(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Expr::Binary(Box::new(left), operator, Box::new(self.parse_expr(binding))) [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.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 163 | let mut field_type = Type::None; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 170 | let mut assignment = Expr::Empty; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 178 | Stmt::Var(VarStmt { [INFO] [stdout] | ___________________^ [INFO] [stdout] 179 | | name, [INFO] [stdout] 180 | | assignment, [INFO] [stdout] 181 | | var_type: field_type, [INFO] [stdout] 182 | | }) [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.rs:191:26 [INFO] [stdout] | [INFO] [stdout] 185 | fn parse_assignment_exrp(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let right = self.parse_expr(binding); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | [INFO] [stdout] 191 | Expr::Assignment(Box::new(left), Box::new(right)) [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.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 185 | fn parse_assignment_exrp(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 189 | let right = self.parse_expr(binding); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | [INFO] [stdout] 191 | Expr::Assignment(Box::new(left), Box::new(right)) [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.rs:210:18 [INFO] [stdout] | [INFO] [stdout] 196 | let condition = self.parse_expr(Binding::Assign); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 197 | let main = self.parse_block_stmt(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 198 | [INFO] [stdout] 199 | let mut alter = Stmt::Empty; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 210 | Stmt::If(IfStmt { [INFO] [stdout] | __________________^ [INFO] [stdout] 211 | | condition, [INFO] [stdout] 212 | | main: Box::new(main), [INFO] [stdout] 213 | | alter: Box::new(alter), [INFO] [stdout] 214 | | }) [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.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 246 | let mut fun_type = Type::None; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | [INFO] [stdout] 248 | let mut params = Vec::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 272 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | [INFO] [stdout] 274 | Stmt::Fun(FunStmt { [INFO] [stdout] | ___________________^ [INFO] [stdout] 275 | | name: fun_name, [INFO] [stdout] 276 | | return_type: fun_type, [INFO] [stdout] 277 | | params, [INFO] [stdout] 278 | | block: Box::new(block), [INFO] [stdout] 279 | | }) [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.rs:301:20 [INFO] [stdout] | [INFO] [stdout] 282 | fn parse_fun_call_expr(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 283 | self.get_token_and_move(); [INFO] [stdout] 284 | let mut arguments = Vec::new(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | Expr::Call(CallExpr { [INFO] [stdout] | ____________________^ [INFO] [stdout] 302 | | method_name: name, [INFO] [stdout] 303 | | arguments, [INFO] [stdout] 304 | | }) [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.rs:319:22 [INFO] [stdout] | [INFO] [stdout] 307 | fn parse_member_exrp(&mut self, left: Expr) -> Expr { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 319 | Expr::Mebmer(MemberExpr { [INFO] [stdout] | ______________________^ [INFO] [stdout] 320 | | member: Box::new(left), [INFO] [stdout] 321 | | property: self.expect_identifier_get_name(), [INFO] [stdout] 322 | | }) [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.rs:330:21 [INFO] [stdout] | [INFO] [stdout] 328 | let block = self.parse_block_stmt(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 329 | [INFO] [stdout] 330 | Stmt::Class(ClassStmt { [INFO] [stdout] | _____________________^ [INFO] [stdout] 331 | | name: class_name, [INFO] [stdout] 332 | | block: Box::new(block), [INFO] [stdout] 333 | | }) [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.rs:371:22 [INFO] [stdout] | [INFO] [stdout] 367 | let expr = self.parse_expr(Binding::Def); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 371 | Stmt::Return(ReturnStmt { return_expr: expr }) [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.rs:388:21 [INFO] [stdout] | [INFO] [stdout] 376 | let mut array = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 388 | Expr::Array(ArrayExpr { array }) [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 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kekar` (lib test) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "504d618e2de90921f24a09b5fd8c7a39d22ced67b001cafe342cff313156630f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504d618e2de90921f24a09b5fd8c7a39d22ced67b001cafe342cff313156630f", kill_on_drop: false }` [INFO] [stdout] 504d618e2de90921f24a09b5fd8c7a39d22ced67b001cafe342cff313156630f