[INFO] cloning repository https://github.com/homsterius/rust-craftinginterpreters [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/homsterius/rust-craftinginterpreters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomsterius%2Frust-craftinginterpreters", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomsterius%2Frust-craftinginterpreters'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a5bf598927ffdee06624feefb95adc9035890f3 [INFO] checking homsterius/rust-craftinginterpreters against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhomsterius%2Frust-craftinginterpreters" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/homsterius/rust-craftinginterpreters on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/homsterius/rust-craftinginterpreters [INFO] finished tweaking git repo https://github.com/homsterius/rust-craftinginterpreters [INFO] tweaked toml for git repo https://github.com/homsterius/rust-craftinginterpreters written to /workspace/builds/worker-40/source/Cargo.toml [INFO] crate git repo https://github.com/homsterius/rust-craftinginterpreters already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f029f76e7776d5760a7fa6f3836bdd56bc903429bf69fd9fd265e02af31c2c0d [INFO] running `Command { std: "docker" "start" "-a" "f029f76e7776d5760a7fa6f3836bdd56bc903429bf69fd9fd265e02af31c2c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f029f76e7776d5760a7fa6f3836bdd56bc903429bf69fd9fd265e02af31c2c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f029f76e7776d5760a7fa6f3836bdd56bc903429bf69fd9fd265e02af31c2c0d", kill_on_drop: false }` [INFO] [stdout] f029f76e7776d5760a7fa6f3836bdd56bc903429bf69fd9fd265e02af31c2c0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1397896ecb652ed76308cf37b521f724d8a53bc9947d5b32cf52474d36291703 [INFO] running `Command { std: "docker" "start" "-a" "1397896ecb652ed76308cf37b521f724d8a53bc9947d5b32cf52474d36291703", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ExprRef<'a, T> = Rc + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn accept(&self, visitor: &Visitor<'a, T>) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/ast_printer.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn print(&self, expr: &Expr<'a, String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, String>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/ast_printer.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parenthesize(&self, name: &'a str, expr: &[&Expr<'a, String>]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, String>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/parser.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let mut expr: Rc> = self.addition()?; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/parser.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let right: Rc> = self.addition()?; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/parser.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let expr: Rc> = self.expression()?; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | pub type ExprRef<'a, T> = Rc + 'a>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T> + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | fn accept(&self, visitor: &Visitor<'a, T>) -> T; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:70:32 [INFO] [stdout] | [INFO] [stdout] 70 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/expr.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | fn accept(&self, visitor: &Visitor<'a, T>) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/ast_printer.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn print(&self, expr: &Expr<'a, String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, String>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/ast_printer.rs:11:56 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parenthesize(&self, name: &'a str, expr: &[&Expr<'a, String>]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, String>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/parser.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let mut expr: Rc> = self.addition()?; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/parser.rs:50:27 [INFO] [stdout] | [INFO] [stdout] 50 | let right: Rc> = self.addition()?; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lox/parser.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | let expr: Rc> = self.expression()?; [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Expr<'a, T>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Keywords` should have an upper case name [INFO] [stdout] --> src/lox/scanner.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | static ref Keywords: HashMap<&'static str, TokenType> = { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KEYWORDS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `Keywords` should have an upper case name [INFO] [stdout] --> src/lox/scanner.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | static ref Keywords: HashMap<&'static str, TokenType> = { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KEYWORDS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "1397896ecb652ed76308cf37b521f724d8a53bc9947d5b32cf52474d36291703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1397896ecb652ed76308cf37b521f724d8a53bc9947d5b32cf52474d36291703", kill_on_drop: false }` [INFO] [stdout] 1397896ecb652ed76308cf37b521f724d8a53bc9947d5b32cf52474d36291703