[INFO] cloning repository https://github.com/LionzGHG/CraftingInterpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LionzGHG/CraftingInterpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLionzGHG%2FCraftingInterpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLionzGHG%2FCraftingInterpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3e71bad0c82a98ef8fe7b5f7ab42e7facdca26ac [INFO] checking LionzGHG/CraftingInterpreters/3e71bad0c82a98ef8fe7b5f7ab42e7facdca26ac against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLionzGHG%2FCraftingInterpreters" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LionzGHG/CraftingInterpreters on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LionzGHG/CraftingInterpreters [INFO] finished tweaking git repo https://github.com/LionzGHG/CraftingInterpreters [INFO] tweaked toml for git repo https://github.com/LionzGHG/CraftingInterpreters written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LionzGHG/CraftingInterpreters already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd45b27962c35ee63a095e184b7f086663db1fb0d24295b77cb369d65b8e09ff [INFO] running `Command { std: "docker" "start" "-a" "fd45b27962c35ee63a095e184b7f086663db1fb0d24295b77cb369d65b8e09ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd45b27962c35ee63a095e184b7f086663db1fb0d24295b77cb369d65b8e09ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd45b27962c35ee63a095e184b7f086663db1fb0d24295b77cb369d65b8e09ff", kill_on_drop: false }` [INFO] [stdout] fd45b27962c35ee63a095e184b7f086663db1fb0d24295b77cb369d65b8e09ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f69553372a83e560e1e7dd995b2460b45ced184a6e8fcd58beef4f41020594a0 [INFO] running `Command { std: "docker" "start" "-a" "f69553372a83e560e1e7dd995b2460b45ced184a6e8fcd58beef4f41020594a0", kill_on_drop: false }` [INFO] [stderr] Checking rogue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use parser::{ast::{Expr, Stmt}, Parser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::FromVecWithNulError` [INFO] [stdout] --> src/parser/ast.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, ffi::FromVecWithNulError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeId`, `collections::HashMap`, `io`, and `type_name_of_val` [INFO] [stdout] --> src/interpreter/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{type_name_of_val, TypeId}, collections::HashMap, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/interpreter/mod.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{Value, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/interpreter/environment.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{lexer::tokens::Token, util::{error::Error, Value}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssertUnwindSafe` and `UnwindSafe` [INFO] [stdout] --> src/util/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, fmt::{Debug, Display}, panic::{AssertUnwindSafe, UnwindSafe}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util/error_formatter.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/util/error_formatter.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::lexer::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `util::Number` [INFO] [stdout] --> src/util/mod.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | impl Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | impl Object for T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | impl Clone for Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | impl Display for Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn downcast_obj(object: &dyn Object) -> Option<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn downcast_to_f64(obj: &dyn Object) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn downcast_to(obj: &dyn Object) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `util::downcast_obj` [INFO] [stdout] --> src/util/mod.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(value) = downcast_obj::(self).cloned() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Expr` [INFO] [stdout] --> src/main.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use parser::{ast::{Expr, Stmt}, Parser}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::FromVecWithNulError` [INFO] [stdout] --> src/parser/ast.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{any::Any, ffi::FromVecWithNulError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TypeId`, `collections::HashMap`, `io`, and `type_name_of_val` [INFO] [stdout] --> src/interpreter/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{type_name_of_val, TypeId}, collections::HashMap, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/interpreter/mod.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::util::{Value, error::Error}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/interpreter/environment.rs:4:42 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{lexer::tokens::Token, util::{error::Error, Value}}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AssertUnwindSafe` and `UnwindSafe` [INFO] [stdout] --> src/util/mod.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, fmt::{Debug, Display}, panic::{AssertUnwindSafe, UnwindSafe}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/util/error_formatter.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, File}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenType` [INFO] [stdout] --> src/util/error_formatter.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::lexer::tokens::{Token, TokenType}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `util::Number` [INFO] [stdout] --> src/util/mod.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | impl Number { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | impl Object for T [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | impl Clone for Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | impl Display for Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn downcast_obj(object: &dyn Object) -> Option<&T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn downcast_to_f64(obj: &dyn Object) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn downcast_to(obj: &dyn Object) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `util::Object` [INFO] [stdout] --> src/util/mod.rs:73:36 [INFO] [stdout] | [INFO] [stdout] 73 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `util::downcast_obj` [INFO] [stdout] --> src/util/mod.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | if let Some(value) = downcast_obj::(self).cloned() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `util::Number::0` [INFO] [stdout] --> src/util/mod.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | return self.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::clone_box` [INFO] [stdout] --> src/util/mod.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | self.as_ref().clone_box() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_string` [INFO] [stdout] --> src/util/mod.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}", self.as_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_any` [INFO] [stdout] --> src/util/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | object.as_any().downcast_ref::() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_any` [INFO] [stdout] --> src/util/mod.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | let opt_opt: Option> = obj.as_any().downcast_ref::>>().unwrap().clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_any` [INFO] [stdout] --> src/util/mod.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | let opt_opt: Option> = obj.as_any().downcast_ref::>>().expect("Expected Option>").clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initializer` is assigned to, but never used [INFO] [stdout] --> src/parser/mod.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let mut initializer: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_initializer` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | initializer = Some(Box::new(Var::inferred(true, self.peek(), None))); [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: use of deprecated field `util::Number::0` [INFO] [stdout] --> src/util/mod.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | return self.0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::clone_box` [INFO] [stdout] --> src/util/mod.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | self.as_ref().clone_box() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_string` [INFO] [stdout] --> src/util/mod.rs:101:30 [INFO] [stdout] | [INFO] [stdout] 101 | write!(f, "{}", self.as_string()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_any` [INFO] [stdout] --> src/util/mod.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | object.as_any().downcast_ref::() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_any` [INFO] [stdout] --> src/util/mod.rs:114:44 [INFO] [stdout] | [INFO] [stdout] 114 | let opt_opt: Option> = obj.as_any().downcast_ref::>>().unwrap().clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `util::Object::as_any` [INFO] [stdout] --> src/util/mod.rs:128:42 [INFO] [stdout] | [INFO] [stdout] 128 | let opt_opt: Option> = obj.as_any().downcast_ref::>>().expect("Expected Option>").clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/util/error_formatter.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | code: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `initializer` is assigned to, but never used [INFO] [stdout] --> src/parser/mod.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let mut initializer: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_initializer` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `initializer` is never read [INFO] [stdout] --> src/parser/mod.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | initializer = Some(Box::new(Var::inferred(true, self.peek(), None))); [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 `go_back` and `synchronize` are never used [INFO] [stdout] --> src/parser/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn go_back(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 122 | let mut initializer: Option> = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Box::new(Var::inferred(mutable, name, initializer)) [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/interpreter/environment.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn with_enclosing(enclosing: Environment) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | enclosing: Some(Box::new(enclosing)), [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 2 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/util/error_formatter.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | code: &str, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue` (bin "rogue") due to 3 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/util/error_formatter.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | let mut err_fmt: ErrorHandler = ErrorHandler; [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: methods `go_back` and `synchronize` are never used [INFO] [stdout] --> src/parser/mod.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn go_back(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 122 | let mut initializer: Option> = None; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | Box::new(Var::inferred(mutable, name, initializer)) [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/interpreter/environment.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn with_enclosing(enclosing: Environment) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 31 | enclosing: Some(Box::new(enclosing)), [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 2 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rogue` (bin "rogue" test) due to 3 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f69553372a83e560e1e7dd995b2460b45ced184a6e8fcd58beef4f41020594a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69553372a83e560e1e7dd995b2460b45ced184a6e8fcd58beef4f41020594a0", kill_on_drop: false }` [INFO] [stdout] f69553372a83e560e1e7dd995b2460b45ced184a6e8fcd58beef4f41020594a0