[INFO] cloning repository https://github.com/mzumi/writing-an-interpreter-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mzumi/writing-an-interpreter-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzumi%2Fwriting-an-interpreter-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzumi%2Fwriting-an-interpreter-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b5d30edd90e7dfb45d75ed744c330db355fa562 [INFO] testing mzumi/writing-an-interpreter-in-rust against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmzumi%2Fwriting-an-interpreter-in-rust" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mzumi/writing-an-interpreter-in-rust on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mzumi/writing-an-interpreter-in-rust [INFO] finished tweaking git repo https://github.com/mzumi/writing-an-interpreter-in-rust [INFO] tweaked toml for git repo https://github.com/mzumi/writing-an-interpreter-in-rust written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/mzumi/writing-an-interpreter-in-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb2ea5789edefed131227153ee51023330ccbee32a727f0ae2c4337f7455baa7 [INFO] running `Command { std: "docker" "start" "-a" "eb2ea5789edefed131227153ee51023330ccbee32a727f0ae2c4337f7455baa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb2ea5789edefed131227153ee51023330ccbee32a727f0ae2c4337f7455baa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2ea5789edefed131227153ee51023330ccbee32a727f0ae2c4337f7455baa7", kill_on_drop: false }` [INFO] [stdout] eb2ea5789edefed131227153ee51023330ccbee32a727f0ae2c4337f7455baa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e100c3e2fe048105c2d83a673b4858fa2faec781cbc4751de686f542a214e4b7 [INFO] running `Command { std: "docker" "start" "-a" "e100c3e2fe048105c2d83a673b4858fa2faec781cbc4751de686f542a214e4b7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling writing-an-interpreter-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/ast.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/ast/ast.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statements: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/ast/let_statement.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub value: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/let_statement.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(token: Token, name: Identifier, value: Option>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/return_statement.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub return_value: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/expression_statement.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub expression: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/parser/parser.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let statements: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_statement(&mut self) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let s: Result, _> = Ok(Box::new(let_statement)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let s: Result, _> = Ok(Box::new(return_statement)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.30s [INFO] running `Command { std: "docker" "inspect" "e100c3e2fe048105c2d83a673b4858fa2faec781cbc4751de686f542a214e4b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e100c3e2fe048105c2d83a673b4858fa2faec781cbc4751de686f542a214e4b7", kill_on_drop: false }` [INFO] [stdout] e100c3e2fe048105c2d83a673b4858fa2faec781cbc4751de686f542a214e4b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 611b98a26d85e5636a9a5d46e28b3ebccec46bb5591784d5df0ec2be2626a265 [INFO] running `Command { std: "docker" "start" "-a" "611b98a26d85e5636a9a5d46e28b3ebccec46bb5591784d5df0ec2be2626a265", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/ast.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/ast/ast.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statements: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/ast/let_statement.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub value: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/let_statement.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(token: Token, name: Identifier, value: Option>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/return_statement.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub return_value: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/expression_statement.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub expression: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/parser/parser.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let statements: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_statement(&mut self) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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] [stderr] Compiling writing-an-interpreter-in-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/parser.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let s: Result, _> = Ok(Box::new(let_statement)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let s: Result, _> = Ok(Box::new(return_statement)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ast/ast.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub statements: Vec>, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/ast/ast.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(statements: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/ast/let_statement.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | pub value: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/let_statement.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(token: Token, name: Identifier, value: Option>) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/return_statement.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 6 | pub return_value: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/ast/expression_statement.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | pub expression: Option>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [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/parser/parser.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let statements: Vec> = vec![]; [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:49:49 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_statement(&mut self) -> Result, ParseError> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | let s: Result, _> = Ok(Box::new(let_statement)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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/parser/parser.rs:58:35 [INFO] [stdout] | [INFO] [stdout] 58 | let s: Result, _> = Ok(Box::new(return_statement)); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.85s [INFO] running `Command { std: "docker" "inspect" "611b98a26d85e5636a9a5d46e28b3ebccec46bb5591784d5df0ec2be2626a265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "611b98a26d85e5636a9a5d46e28b3ebccec46bb5591784d5df0ec2be2626a265", kill_on_drop: false }` [INFO] [stdout] 611b98a26d85e5636a9a5d46e28b3ebccec46bb5591784d5df0ec2be2626a265 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3dd2caf067f2689db92d05a0f12f58b23600661a3b041e93ae2772752488954e [INFO] running `Command { std: "docker" "start" "-a" "3dd2caf067f2689db92d05a0f12f58b23600661a3b041e93ae2772752488954e", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/ast.rs:16:29 [INFO] [stderr] | [INFO] [stderr] 16 | pub statements: Vec>, [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/ast.rs:20:36 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn new(statements: Vec>) -> Self { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/let_statement.rs:7:27 [INFO] [stderr] | [INFO] [stderr] 7 | pub value: Option>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/let_statement.rs:11:66 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(token: Token, name: Identifier, value: Option>) -> Self { [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/return_statement.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | pub return_value: Option>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ast/expression_statement.rs:6:32 [INFO] [stderr] | [INFO] [stderr] 6 | pub expression: Option>, [INFO] [stderr] | ^^^^^^^^^^ help: use `dyn`: `dyn Expression` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:32:33 [INFO] [stderr] | [INFO] [stderr] 32 | let statements: Vec> = vec![]; [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:49:49 [INFO] [stderr] | [INFO] [stderr] 49 | fn parse_statement(&mut self) -> Result, ParseError> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:53:35 [INFO] [stderr] | [INFO] [stderr] 53 | let s: Result, _> = Ok(Box::new(let_statement)); [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/parser.rs:58:35 [INFO] [stderr] | [INFO] [stderr] 58 | let s: Result, _> = Ok(Box::new(return_statement)); [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn Statement` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `writing-an-interpreter-in-rust` (lib) generated 10 warnings [INFO] [stderr] warning: `writing-an-interpreter-in-rust` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/writing_an_interpreter_in_rust-8d6283344df6e49e) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test ast::ast::test::test_to_stirng ... ok [INFO] [stdout] test parser::parser::test_invalid_let_statement ... ok [INFO] [stdout] test token::token_type::fail_parse ... ok [INFO] [stdout] test token::token_type::parse_test ... ok [INFO] [stdout] test parser::parser::test_let_statement ... ok [INFO] [stdout] test parser::parser::test_return_statement ... ok [INFO] [stdout] test lexer::lexer::test_next_token ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/writing_an_interpreter_in_rust-1be8d3aa3b866d06) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests writing-an-interpreter-in-rust [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3dd2caf067f2689db92d05a0f12f58b23600661a3b041e93ae2772752488954e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3dd2caf067f2689db92d05a0f12f58b23600661a3b041e93ae2772752488954e", kill_on_drop: false }` [INFO] [stdout] 3dd2caf067f2689db92d05a0f12f58b23600661a3b041e93ae2772752488954e