[INFO] cloning repository https://github.com/novoru/simia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/novoru/simia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnovoru%2Fsimia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnovoru%2Fsimia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df2ac25c4b33f70f6c0e99003fe583f7e5654fb4 [INFO] checking novoru/simia against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnovoru%2Fsimia" "/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/novoru/simia 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/novoru/simia [INFO] finished tweaking git repo https://github.com/novoru/simia [INFO] tweaked toml for git repo https://github.com/novoru/simia written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/novoru/simia 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] 0c7426bdba4cdca41f489f480f67476a9b5ec14df3909832fd57d7dfde0ae977 [INFO] running `Command { std: "docker" "start" "-a" "0c7426bdba4cdca41f489f480f67476a9b5ec14df3909832fd57d7dfde0ae977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c7426bdba4cdca41f489f480f67476a9b5ec14df3909832fd57d7dfde0ae977", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7426bdba4cdca41f489f480f67476a9b5ec14df3909832fd57d7dfde0ae977", kill_on_drop: false }` [INFO] [stdout] 0c7426bdba4cdca41f489f480f67476a9b5ec14df3909832fd57d7dfde0ae977 [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] a37756e21e08cd7fcdd28bddd54ddc945478afe750ed639593b5bac5cfd1fb2b [INFO] running `Command { std: "docker" "start" "-a" "a37756e21e08cd7fcdd28bddd54ddc945478afe750ed639593b5bac5cfd1fb2b", kill_on_drop: false }` [INFO] [stderr] Checking simia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | '0' ... '9' => return Token {kind: TokenKind::Integer, literal: self.read_integer()}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/repl.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast:: { Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/repl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexier` [INFO] [stdout] --> src/eval.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexier::{ Lexier }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/eval.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::{ Parser }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/eval.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/eval.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] 459 + Object::Array { ref elements } => &elements.len() - 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/builtins.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{ Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | '0' ... '9' => return Token {kind: TokenKind::Integer, literal: self.read_integer()}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/repl.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast:: { Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/repl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenKind` and `Token` [INFO] [stdout] --> src/parser.rs:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | use crate::token:: { TokenKind, Token}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexier` [INFO] [stdout] --> src/eval.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexier::{ Lexier }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/eval.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::{ Parser }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/eval.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/eval.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] 459 + Object::Array { ref elements } => &elements.len() - 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/builtins.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{ Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/lexier.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let position = self.position + 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut value = match self.parse_expression(Precedence::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: value assigned to `left_exp` is never read [INFO] [stdout] --> src/parser.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut left_exp = Ast::Expression { [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: unreachable pattern [INFO] [stdout] --> src/parser.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 461 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ast` [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut statement = match self.parse_statement() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/lexier.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let position = self.position + 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | Object::Array { elements } => {let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/eval.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | Ast::ArrayLiteral { elements, token } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut value = match self.parse_expression(Precedence::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: unused variable: `function` [INFO] [stdout] --> src/eval.rs:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | if let Object::Builtin { function } = builtins(value.clone()) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `left_exp` is never read [INFO] [stdout] --> src/parser.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut left_exp = Ast::Expression { [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: unreachable pattern [INFO] [stdout] --> src/parser.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 461 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ast` [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut statement = match self.parse_statement() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_call_arguments` and `parse_error` are never used [INFO] [stdout] --> src/parser.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 555 | fn parse_call_arguments(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | fn parse_error(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_statements` is never used [INFO] [stdout] --> src/eval.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn eval_statements(statements: Vec>, env: &mut Env) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ast` should have a snake case name [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/eval.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | if idx < 0 || idx > max { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/parser.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 991 | Type::INT(value) => test_integer_literal(exp, value), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 992 | Type::STRING(value) => test_identifier(exp, value), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 993 | Type::Boolean(value) => test_boolean_literal(exp, value), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 994 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:1089:42 [INFO] [stdout] | [INFO] [stdout] 1089 | Ast::IfExpression { ref token, ref condition, ref consequence, ref alternative } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alternative` [INFO] [stdout] --> src/parser.rs:1089:85 [INFO] [stdout] | [INFO] [stdout] 1089 | Ast::IfExpression { ref token, ref condition, ref consequence, ref alternative } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `alternative: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:1129:42 [INFO] [stdout] | [INFO] [stdout] 1129 | Ast::IfExpression { ref token, ref condition, ref consequence, ref alternative } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | Object::Array { elements } => {let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/eval.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | Ast::ArrayLiteral { elements, token } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/eval.rs:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | if let Object::Builtin { function } = builtins(value.clone()) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/eval_test.rs:339:6 [INFO] [stdout] | [INFO] [stdout] 339 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_call_arguments` and `parse_error` are never used [INFO] [stdout] --> src/parser.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 555 | fn parse_call_arguments(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | fn parse_error(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_statements` is never used [INFO] [stdout] --> src/eval.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn eval_statements(statements: Vec>, env: &mut Env) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ast` should have a snake case name [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/eval.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | if idx < 0 || idx > max { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> tests/eval_test.rs:379:38 [INFO] [stdout] | [INFO] [stdout] 379 | Object::String { value } => (), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "a37756e21e08cd7fcdd28bddd54ddc945478afe750ed639593b5bac5cfd1fb2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37756e21e08cd7fcdd28bddd54ddc945478afe750ed639593b5bac5cfd1fb2b", kill_on_drop: false }` [INFO] [stdout] a37756e21e08cd7fcdd28bddd54ddc945478afe750ed639593b5bac5cfd1fb2b [INFO] checking novoru/simia 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%2Fnovoru%2Fsimia" "/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/novoru/simia 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/novoru/simia [INFO] finished tweaking git repo https://github.com/novoru/simia [INFO] tweaked toml for git repo https://github.com/novoru/simia written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/novoru/simia 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] a606356aabbfdfe7b10c1ddcbb17071895ecfe875dbd5d11e772244d0340b27f [INFO] running `Command { std: "docker" "start" "-a" "a606356aabbfdfe7b10c1ddcbb17071895ecfe875dbd5d11e772244d0340b27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a606356aabbfdfe7b10c1ddcbb17071895ecfe875dbd5d11e772244d0340b27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a606356aabbfdfe7b10c1ddcbb17071895ecfe875dbd5d11e772244d0340b27f", kill_on_drop: false }` [INFO] [stdout] a606356aabbfdfe7b10c1ddcbb17071895ecfe875dbd5d11e772244d0340b27f [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] dff656b63d6d80363b513fafc40fcb472a7ac7421e8a911c2605a77d888b18c3 [INFO] running `Command { std: "docker" "start" "-a" "dff656b63d6d80363b513fafc40fcb472a7ac7421e8a911c2605a77d888b18c3", kill_on_drop: false }` [INFO] [stderr] Checking simia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | '0' ... '9' => return Token {kind: TokenKind::Integer, literal: self.read_integer()}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/repl.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast:: { Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/repl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexier` [INFO] [stdout] --> src/eval.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexier::{ Lexier }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/eval.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::{ Parser }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/eval.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/eval.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] 459 + Object::Array { ref elements } => &elements.len() - 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/builtins.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{ Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 63 | 'a'...'z' | 'A' ... 'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexier.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | '0' ... '9' => return Token {kind: TokenKind::Integer, literal: self.read_integer()}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/repl.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast:: { Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/repl.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenKind` and `Token` [INFO] [stdout] --> src/parser.rs:901:26 [INFO] [stdout] | [INFO] [stdout] 901 | use crate::token:: { TokenKind, Token}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Lexier` [INFO] [stdout] --> src/eval.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexier::{ Lexier }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> src/eval.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::parser::{ Parser }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenKind` [INFO] [stdout] --> src/eval.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::token::{ TokenKind }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/eval.rs:459:43 [INFO] [stdout] | [INFO] [stdout] 459 | Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 459 - Object::Array { ref elements } => (&elements.len() - 1), [INFO] [stdout] 459 + Object::Array { ref elements } => &elements.len() - 1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ast` [INFO] [stdout] --> src/builtins.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ast::{ Ast }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/lexier.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let position = self.position + 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut value = match self.parse_expression(Precedence::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: value assigned to `left_exp` is never read [INFO] [stdout] --> src/parser.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut left_exp = Ast::Expression { [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: unreachable pattern [INFO] [stdout] --> src/parser.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 461 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ast` [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut statement = match self.parse_statement() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/lexier.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let position = self.position + 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | Object::Array { elements } => {let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/eval.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | Ast::ArrayLiteral { elements, token } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/eval.rs:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | if let Object::Builtin { function } = builtins(value.clone()) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let mut value = match self.parse_expression(Precedence::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: value assigned to `left_exp` is never read [INFO] [stdout] --> src/parser.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut left_exp = Ast::Expression { [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: methods `parse_call_arguments` and `parse_error` are never used [INFO] [stdout] --> src/parser.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 555 | fn parse_call_arguments(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | fn parse_error(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_statements` is never used [INFO] [stdout] --> src/eval.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn eval_statements(statements: Vec>, env: &mut Env) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 117 | let ident = Box::new(Ast::Identifier { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut value = match self.parse_expression(Precedence::Lowest) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Some( Ast::LetStatement { [INFO] [stdout] | _______________^ [INFO] [stdout] 138 | | token: token, [INFO] [stdout] 139 | | ident: ident, [INFO] [stdout] 140 | | value: value, [INFO] [stdout] 141 | | }) [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:158:15 [INFO] [stdout] | [INFO] [stdout] 149 | let return_value = match self.parse_expression(Precedence::Lowest) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Some( Ast::ReturnStatement { [INFO] [stdout] | _______________^ [INFO] [stdout] 159 | | token: token, [INFO] [stdout] 160 | | return_value: return_value, [INFO] [stdout] 161 | | }) [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:322:14 [INFO] [stdout] | [INFO] [stdout] 317 | let right = match self.parse_expression(Precedence::Prefix) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Some(Ast::PrefixExpression { [INFO] [stdout] | ______________^ [INFO] [stdout] 323 | | token: token, [INFO] [stdout] 324 | | operator: operator, [INFO] [stdout] 325 | | right: right, [INFO] [stdout] 326 | | }) [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: variable `Ast` should have a snake case name [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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:598:14 [INFO] [stdout] | [INFO] [stdout] 596 | let elements = self.parse_expression_list(TokenKind::Rbracket); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | [INFO] [stdout] 598 | Some(Ast::ArrayLiteral { token: token, elements: elements}) [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:642:14 [INFO] [stdout] | [INFO] [stdout] 629 | fn parse_index_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] 633 | let index = match self.parse_expression(Precedence::Lowest) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 634 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 642 | Some(Ast::IndexExpression {token: token, left: left, index: index}) [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/eval.rs:423:10 [INFO] [stdout] | [INFO] [stdout] 412 | let val = env.get(value.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 423 | Some(new_error(format!("identifier not found: {}", value))) [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/eval.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 445 | fn eval_index_expression(left: Object, index: Object) -> Option { [INFO] [stdout] | ------------ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | Some(new_error(format!("index operator not supported: {}", left.kind()))) [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: comparison is useless due to type limits [INFO] [stdout] --> src/eval.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | if idx < 0 || idx > max { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:461:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 461 | _ => return None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Ast` [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Ast` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | let mut statement = match self.parse_statement() { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simia` (lib) due to 8 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 994 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/parser.rs:994:13 [INFO] [stdout] | [INFO] [stdout] 991 | Type::INT(value) => test_integer_literal(exp, value), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 992 | Type::STRING(value) => test_identifier(exp, value), [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 993 | Type::Boolean(value) => test_boolean_literal(exp, value), [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 994 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:1089:42 [INFO] [stdout] | [INFO] [stdout] 1089 | Ast::IfExpression { ref token, ref condition, ref consequence, ref alternative } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alternative` [INFO] [stdout] --> src/parser.rs:1089:85 [INFO] [stdout] | [INFO] [stdout] 1089 | Ast::IfExpression { ref token, ref condition, ref consequence, ref alternative } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try ignoring the field: `alternative: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/parser.rs:1129:42 [INFO] [stdout] | [INFO] [stdout] 1129 | Ast::IfExpression { ref token, ref condition, ref consequence, ref alternative } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `string` is never read [INFO] [stdout] --> src/object.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | Object::Array { elements } => {let mut string = String::new(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/eval.rs:113:39 [INFO] [stdout] | [INFO] [stdout] 113 | Ast::ArrayLiteral { elements, token } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `token: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `function` [INFO] [stdout] --> src/eval.rs:419:30 [INFO] [stdout] | [INFO] [stdout] 419 | if let Object::Builtin { function } = builtins(value.clone()) { [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `function: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `parse_call_arguments` and `parse_error` are never used [INFO] [stdout] --> src/parser.rs:555:8 [INFO] [stdout] | [INFO] [stdout] 42 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 555 | fn parse_call_arguments(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | fn parse_error(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eval_statements` is never used [INFO] [stdout] --> src/eval.rs:146:4 [INFO] [stdout] | [INFO] [stdout] 146 | fn eval_statements(statements: Vec>, env: &mut Env) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 117 | let ident = Box::new(Ast::Identifier { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | let mut value = match self.parse_expression(Precedence::Lowest) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 129 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | Some( Ast::LetStatement { [INFO] [stdout] | _______________^ [INFO] [stdout] 138 | | token: token, [INFO] [stdout] 139 | | ident: ident, [INFO] [stdout] 140 | | value: value, [INFO] [stdout] 141 | | }) [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:158:15 [INFO] [stdout] | [INFO] [stdout] 149 | let return_value = match self.parse_expression(Precedence::Lowest) { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 158 | Some( Ast::ReturnStatement { [INFO] [stdout] | _______________^ [INFO] [stdout] 159 | | token: token, [INFO] [stdout] 160 | | return_value: return_value, [INFO] [stdout] 161 | | }) [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:322:14 [INFO] [stdout] | [INFO] [stdout] 317 | let right = match self.parse_expression(Precedence::Prefix) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 318 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | Some(Ast::PrefixExpression { [INFO] [stdout] | ______________^ [INFO] [stdout] 323 | | token: token, [INFO] [stdout] 324 | | operator: operator, [INFO] [stdout] 325 | | right: right, [INFO] [stdout] 326 | | }) [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: variable `Ast` should have a snake case name [INFO] [stdout] --> src/parser.rs:456:17 [INFO] [stdout] | [INFO] [stdout] 456 | Ast => { [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ast` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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:598:14 [INFO] [stdout] | [INFO] [stdout] 596 | let elements = self.parse_expression_list(TokenKind::Rbracket); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 597 | [INFO] [stdout] 598 | Some(Ast::ArrayLiteral { token: token, elements: elements}) [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:642:14 [INFO] [stdout] | [INFO] [stdout] 629 | fn parse_index_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] 633 | let index = match self.parse_expression(Precedence::Lowest) { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 634 | Some(value) => Box::new(value), [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 642 | Some(Ast::IndexExpression {token: token, left: left, index: index}) [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:1238:15 [INFO] [stdout] | [INFO] [stdout] 1227 | let program = parser.parse_program(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1230 | let statement = match program { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1231 | Some(value) => match value { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1232 | Ast::Program { statements } => statements[0].clone(), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1238 | match *statement.clone() { [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:1268:15 [INFO] [stdout] | [INFO] [stdout] 1257 | let program = parser.parse_program(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1260 | let statement = match program { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1261 | Some(value) => match value { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1262 | Ast::Program { statements } => statements[0].clone(), [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1268 | match *statement.clone() { [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/eval.rs:423:10 [INFO] [stdout] | [INFO] [stdout] 412 | let val = env.get(value.clone()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 423 | Some(new_error(format!("identifier not found: {}", value))) [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/eval.rs:449:10 [INFO] [stdout] | [INFO] [stdout] 445 | fn eval_index_expression(left: Object, index: Object) -> Option { [INFO] [stdout] | ------------ ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 449 | Some(new_error(format!("index operator not supported: {}", left.kind()))) [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: comparison is useless due to type limits [INFO] [stdout] --> src/eval.rs:463:8 [INFO] [stdout] | [INFO] [stdout] 463 | if idx < 0 || idx > max { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simia` (lib test) due to 10 previous errors; 29 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dff656b63d6d80363b513fafc40fcb472a7ac7421e8a911c2605a77d888b18c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dff656b63d6d80363b513fafc40fcb472a7ac7421e8a911c2605a77d888b18c3", kill_on_drop: false }` [INFO] [stdout] dff656b63d6d80363b513fafc40fcb472a7ac7421e8a911c2605a77d888b18c3