[INFO] cloning repository https://github.com/Nanoteck137/Rust-Compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nanoteck137/Rust-Compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoteck137%2FRust-Compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoteck137%2FRust-Compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dab658ae2a66cc6342762b434b750b65e689278a [INFO] testing Nanoteck137/Rust-Compiler against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNanoteck137%2FRust-Compiler" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nanoteck137/Rust-Compiler on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nanoteck137/Rust-Compiler [INFO] finished tweaking git repo https://github.com/Nanoteck137/Rust-Compiler [INFO] tweaked toml for git repo https://github.com/Nanoteck137/Rust-Compiler written to /workspace/builds/worker-17/source/Cargo.toml [INFO] crate git repo https://github.com/Nanoteck137/Rust-Compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b952576e1d568c38981ae0b0ae3d1da12878f0c9ddeeab003b6d506ab639ec24 [INFO] running `Command { std: "docker" "start" "-a" "b952576e1d568c38981ae0b0ae3d1da12878f0c9ddeeab003b6d506ab639ec24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b952576e1d568c38981ae0b0ae3d1da12878f0c9ddeeab003b6d506ab639ec24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b952576e1d568c38981ae0b0ae3d1da12878f0c9ddeeab003b6d506ab639ec24", kill_on_drop: false }` [INFO] [stdout] b952576e1d568c38981ae0b0ae3d1da12878f0c9ddeeab003b6d506ab639ec24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2842ec378961500a1ffdff60c60b9cdf52fd63de4e4e2bc7990f3af2408e157d [INFO] running `Command { std: "docker" "start" "-a" "2842ec378961500a1ffdff60c60b9cdf52fd63de4e4e2bc7990f3af2408e157d", kill_on_drop: false }` [INFO] [stderr] Compiling rust_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | left: Box, [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - left: Box, [INFO] [stdout] 158 + left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | right: Box, [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 - right: Box, [INFO] [stdout] 159 + right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 - fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stdout] 188 + fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 - fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stdout] 201 + fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn parse_add(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - fn parse_add(state: &mut ParseState) -> Box { [INFO] [stdout] 217 + fn parse_add(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 - fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stdout] 233 + fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] 175 + fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] 175 + fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] 183 + fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] 183 + fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_tokens` [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_all_tokens(tokenizer: &mut Tokenizer) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "2842ec378961500a1ffdff60c60b9cdf52fd63de4e4e2bc7990f3af2408e157d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2842ec378961500a1ffdff60c60b9cdf52fd63de4e4e2bc7990f3af2408e157d", kill_on_drop: false }` [INFO] [stdout] 2842ec378961500a1ffdff60c60b9cdf52fd63de4e4e2bc7990f3af2408e157d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a91c2b60dd480ff8207520a98c7ab21ef8ae5cc26a473713e70d6cefd5a5c53c [INFO] running `Command { std: "docker" "start" "-a" "a91c2b60dd480ff8207520a98c7ab21ef8ae5cc26a473713e70d6cefd5a5c53c", kill_on_drop: false }` [INFO] [stderr] Compiling rust_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 158 | left: Box, [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 158 - left: Box, [INFO] [stdout] 158 + left: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | right: Box, [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 - right: Box, [INFO] [stdout] 159 + right: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:188:48 [INFO] [stdout] | [INFO] [stdout] 188 | fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 - fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stdout] 188 + fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 201 | fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 - fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stdout] 201 + fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:217:45 [INFO] [stdout] | [INFO] [stdout] 217 | fn parse_add(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 217 - fn parse_add(state: &mut ParseState) -> Box { [INFO] [stdout] 217 + fn parse_add(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 - fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stdout] 233 + fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] 175 + fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:175:40 [INFO] [stdout] | [INFO] [stdout] 175 | fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 - fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] 175 + fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] 183 + fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:183:46 [INFO] [stdout] | [INFO] [stdout] 183 | fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 183 - fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] 183 + fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_all_tokens` [INFO] [stdout] --> src/main.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn get_all_tokens(tokenizer: &mut Tokenizer) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "a91c2b60dd480ff8207520a98c7ab21ef8ae5cc26a473713e70d6cefd5a5c53c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a91c2b60dd480ff8207520a98c7ab21ef8ae5cc26a473713e70d6cefd5a5c53c", kill_on_drop: false }` [INFO] [stdout] a91c2b60dd480ff8207520a98c7ab21ef8ae5cc26a473713e70d6cefd5a5c53c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 269c24ce00128ee21f811a7f2e32ff320a194bab2d750b1298fb388636e6e7d2 [INFO] running `Command { std: "docker" "start" "-a" "269c24ce00128ee21f811a7f2e32ff320a194bab2d750b1298fb388636e6e7d2", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:158:15 [INFO] [stderr] | [INFO] [stderr] 158 | left: Box, [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 158 - left: Box, [INFO] [stderr] 158 + left: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:159:16 [INFO] [stderr] | [INFO] [stderr] 159 | right: Box, [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 159 - right: Box, [INFO] [stderr] 159 + right: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:188:48 [INFO] [stderr] | [INFO] [stderr] 188 | fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 188 - fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stderr] 188 + fn parse_factor(state: &mut ParseState) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:201:45 [INFO] [stderr] | [INFO] [stderr] 201 | fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 201 - fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stderr] 201 + fn parse_mul(state: &mut ParseState) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:217:45 [INFO] [stderr] | [INFO] [stderr] 217 | fn parse_add(state: &mut ParseState) -> Box { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 217 - fn parse_add(state: &mut ParseState) -> Box { [INFO] [stderr] 217 + fn parse_add(state: &mut ParseState) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:233:46 [INFO] [stderr] | [INFO] [stderr] 233 | fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 233 - fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stderr] 233 + fn parse_expr(state: &mut ParseState) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:175:22 [INFO] [stderr] | [INFO] [stderr] 175 | fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 175 - fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stderr] 175 + fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:175:40 [INFO] [stderr] | [INFO] [stderr] 175 | fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 175 - fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stderr] 175 + fn new(left: Box, right: Box, op: Token) -> ExprOp { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:183:28 [INFO] [stderr] | [INFO] [stderr] 183 | fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 183 - fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stderr] 183 + fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:183:46 [INFO] [stderr] | [INFO] [stderr] 183 | fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stderr] | ^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 183 - fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stderr] 183 + fn new_boxed(left: Box, right: Box, op: Token) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_all_tokens` [INFO] [stderr] --> src/main.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | fn get_all_tokens(tokenizer: &mut Tokenizer) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust_compiler` (bin "rust_compiler" test) generated 11 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_compiler-8d7c4733fbcfda6e) [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" "269c24ce00128ee21f811a7f2e32ff320a194bab2d750b1298fb388636e6e7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269c24ce00128ee21f811a7f2e32ff320a194bab2d750b1298fb388636e6e7d2", kill_on_drop: false }` [INFO] [stdout] 269c24ce00128ee21f811a7f2e32ff320a194bab2d750b1298fb388636e6e7d2