[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] 269e69fab71e2ac3d34d1b06f90afbb64c41483c [INFO] checking LionzGHG/CraftingInterpreters against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLionzGHG%2FCraftingInterpreters" "/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/LionzGHG/CraftingInterpreters 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/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-1-tc1/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" "+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] d991da01037fdbfb4638f40c97838458038a47070a365c29b4864d4da9bc4f80 [INFO] running `Command { std: "docker" "start" "-a" "d991da01037fdbfb4638f40c97838458038a47070a365c29b4864d4da9bc4f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d991da01037fdbfb4638f40c97838458038a47070a365c29b4864d4da9bc4f80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d991da01037fdbfb4638f40c97838458038a47070a365c29b4864d4da9bc4f80", kill_on_drop: false }` [INFO] [stdout] d991da01037fdbfb4638f40c97838458038a47070a365c29b4864d4da9bc4f80 [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] 92e0fbc7566405f84d3a38880fcdaaed60abd2720013322aafe74b5fcec00bdd [INFO] running `Command { std: "docker" "start" "-a" "92e0fbc7566405f84d3a38880fcdaaed60abd2720013322aafe74b5fcec00bdd", 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: `Token` [INFO] [stdout] --> src/interpreter/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{lexer::tokens::{Token, TokenType}, parser::ast::{Expr, Stmt, Visitor}, /*util::{downcast_obj, downcast_to, downcast_to_f64, N... [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: `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: use of deprecated struct `util::Number` [INFO] [stdout] --> src/util/mod.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | 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:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | 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:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | 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:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | 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:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | 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:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | 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:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | 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:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | 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:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | if let Some(value) = downcast_obj::(self).cloned() { [INFO] [stdout] | ^^^^^^^^^^^^ [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: `Token` [INFO] [stdout] --> src/interpreter/mod.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{lexer::tokens::{Token, TokenType}, parser::ast::{Expr, Stmt, Visitor}, /*util::{downcast_obj, downcast_to, downcast_to_f64, N... [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: use of deprecated struct `util::Number` [INFO] [stdout] --> src/util/mod.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | 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:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | 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:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | 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:97:26 [INFO] [stdout] | [INFO] [stdout] 97 | 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:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | 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:111:34 [INFO] [stdout] | [INFO] [stdout] 111 | 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:125:50 [INFO] [stdout] | [INFO] [stdout] 125 | 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:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | 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:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | 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:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 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:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | 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:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | 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:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | 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:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | 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:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | let opt_opt: Option> = obj.as_any().downcast_ref::>>().expect("Expected Option>").clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `util::Number::0` [INFO] [stdout] --> src/util/mod.rs:63:16 [INFO] [stdout] | [INFO] [stdout] 63 | 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:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | 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:99:30 [INFO] [stdout] | [INFO] [stdout] 99 | 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:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | 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:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | 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:126:42 [INFO] [stdout] | [INFO] [stdout] 126 | let opt_opt: Option> = obj.as_any().downcast_ref::>>().expect("Expected Option>").clone(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `go_back` and `synchronize` are never used [INFO] [stdout] --> src/parser/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn go_back(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `go_back` and `synchronize` are never used [INFO] [stdout] --> src/parser/mod.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | fn go_back(&mut self) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | fn synchronize(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "92e0fbc7566405f84d3a38880fcdaaed60abd2720013322aafe74b5fcec00bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e0fbc7566405f84d3a38880fcdaaed60abd2720013322aafe74b5fcec00bdd", kill_on_drop: false }` [INFO] [stdout] 92e0fbc7566405f84d3a38880fcdaaed60abd2720013322aafe74b5fcec00bdd