[INFO] cloning repository https://github.com/HenrySwanson/rust-lox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HenrySwanson/rust-lox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenrySwanson%2Frust-lox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenrySwanson%2Frust-lox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2bf584c412e77b9496f605ee2f45f9cb3715f10 [INFO] checking HenrySwanson/rust-lox against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenrySwanson%2Frust-lox" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HenrySwanson/rust-lox on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HenrySwanson/rust-lox [INFO] finished tweaking git repo https://github.com/HenrySwanson/rust-lox [INFO] tweaked toml for git repo https://github.com/HenrySwanson/rust-lox written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/HenrySwanson/rust-lox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c5cde1d94dfebaa11b7850c58b031f9d8de812fa23521fc8122f3d623193ef1 [INFO] running `Command { std: "docker" "start" "-a" "2c5cde1d94dfebaa11b7850c58b031f9d8de812fa23521fc8122f3d623193ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c5cde1d94dfebaa11b7850c58b031f9d8de812fa23521fc8122f3d623193ef1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5cde1d94dfebaa11b7850c58b031f9d8de812fa23521fc8122f3d623193ef1", kill_on_drop: false }` [INFO] [stdout] 2c5cde1d94dfebaa11b7850c58b031f9d8de812fa23521fc8122f3d623193ef1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 566c3df2649b1eec895b7d8c58fa00ae22871eeed1c1a25af5def1941e89f8b1 [INFO] running `Command { std: "docker" "start" "-a" "566c3df2649b1eec895b7d8c58fa00ae22871eeed1c1a25af5def1941e89f8b1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling syn v1.0.40 [INFO] [stderr] Checking more-asserts v0.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking rust-lox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 171 | RichOpcode::Constant(idx) => print_with_constant!("OP_CONSTANT", idx), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 188 | RichOpcode::DefineGlobal(idx) => print_with_constant!("OP_DEFINE_GLOBAL", idx), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 189 | RichOpcode::GetGlobal(idx) => print_with_constant!("OP_GET_GLOBAL", idx), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 190 | RichOpcode::SetGlobal(idx) => print_with_constant!("OP_SET_GLOBAL", idx), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | RichOpcode::GetLocal(idx) => print_two!("OP_GET_LOCAL", idx), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 192 | RichOpcode::SetLocal(idx) => print_two!("OP_SET_LOCAL", idx), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 194 | RichOpcode::Jump(distance) => print_two!("OP_JUMP", distance), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | RichOpcode::JumpIfFalse(distance) => print_two!("OP_JUMP_IF_FALSE", distance), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 196 | RichOpcode::Loop(distance) => print_two!("OP_LOOP", distance), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 217 | RichOpcode::GetUpvalue(idx) => print_two!("OP_GET_UPVALUE", idx), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | RichOpcode::SetUpvalue(idx) => print_two!("OP_SET_UPVALUE", idx), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | RichOpcode::MakeClass(idx) => print_with_constant!("OP_MAKE_CLASS", idx), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | RichOpcode::GetProperty(idx) => print_with_constant!("OP_GET_PROPERTY", idx), [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 223 | RichOpcode::SetProperty(idx) => print_with_constant!("OP_SET_PROPERTY", idx), [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 224 | RichOpcode::MakeMethod(idx) => print_with_constant!("OP_MAKE_METHOD", idx), [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 230 | RichOpcode::GetSuper(idx) => print_with_constant!("OP_GET_SUPER", idx), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 236 | RichOpcode::Call(argc) => print_two!("OP_CALL", argc), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `common` in the crate root [INFO] [stdout] --> src/frontend/lexer.rs:214:16 [INFO] [stdout] | [INFO] [stdout] 214 | use crate::common::span::CodePosition; [INFO] [stdout] | ^^^^^^ could not find `common` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `common` in the crate root [INFO] [stdout] --> src/frontend/parser.rs:532:16 [INFO] [stdout] | [INFO] [stdout] 532 | use crate::common::ast::Expr; [INFO] [stdout] | ^^^^^^ could not find `common` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Expr` in this scope [INFO] [stdout] --> src/frontend/parser.rs:536:46 [INFO] [stdout] | [INFO] [stdout] 536 | fn parse_expression(source: &str) -> Expr { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 531 | use crate::ast::Expr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 171 | RichOpcode::Constant(idx) => print_with_constant!("OP_CONSTANT", idx), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 188 | RichOpcode::DefineGlobal(idx) => print_with_constant!("OP_DEFINE_GLOBAL", idx), [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 189 | RichOpcode::GetGlobal(idx) => print_with_constant!("OP_GET_GLOBAL", idx), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 190 | RichOpcode::SetGlobal(idx) => print_with_constant!("OP_SET_GLOBAL", idx), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 191 | RichOpcode::GetLocal(idx) => print_two!("OP_GET_LOCAL", idx), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 192 | RichOpcode::SetLocal(idx) => print_two!("OP_SET_LOCAL", idx), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 194 | RichOpcode::Jump(distance) => print_two!("OP_JUMP", distance), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 195 | RichOpcode::JumpIfFalse(distance) => print_two!("OP_JUMP_IF_FALSE", distance), [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 196 | RichOpcode::Loop(distance) => print_two!("OP_LOOP", distance), [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 217 | RichOpcode::GetUpvalue(idx) => print_two!("OP_GET_UPVALUE", idx), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 218 | RichOpcode::SetUpvalue(idx) => print_two!("OP_SET_UPVALUE", idx), [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | RichOpcode::MakeClass(idx) => print_with_constant!("OP_MAKE_CLASS", idx), [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 222 | RichOpcode::GetProperty(idx) => print_with_constant!("OP_GET_PROPERTY", idx), [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 223 | RichOpcode::SetProperty(idx) => print_with_constant!("OP_SET_PROPERTY", idx), [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 224 | RichOpcode::MakeMethod(idx) => print_with_constant!("OP_MAKE_METHOD", idx), [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | };}; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 230 | RichOpcode::GetSuper(idx) => print_with_constant!("OP_GET_SUPER", idx), [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_with_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/bytecode/chunk.rs:152:52 [INFO] [stdout] | [INFO] [stdout] 152 | println!("{:20} {:4}", $op, $first); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 236 | RichOpcode::Call(argc) => print_two!("OP_CALL", argc), [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `print_two` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Span` [INFO] [stdout] --> src/frontend/lexer.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | use super::{Lexer, Span, SpannedToken, Token}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-lox` due to 4 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `write_u8` [INFO] [stdout] --> src/bytecode/chunk.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn write_u8(&mut self, byte: u8, line_no: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u8` [INFO] [stdout] --> src/bytecode/chunk.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn read_u8(&self, idx: usize) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u16` [INFO] [stdout] --> src/bytecode/chunk.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read_u16(&self, idx: usize) -> u16 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disassemble` [INFO] [stdout] --> src/bytecode/chunk.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn disassemble(&self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `disassemble_at` [INFO] [stdout] --> src/bytecode/chunk.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn disassemble_at(&self, offset: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_CONSTANTS` [INFO] [stdout] --> src/bytecode/opcode.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const MAX_CONSTANTS: usize = 256; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/bytecode/string_interning.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn insert(&mut self, key: K) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> src/bytecode/string_interning.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/frontend/lexer.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn iter(self) -> LexerIterator<'src> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> src/frontend/parser.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | source: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "566c3df2649b1eec895b7d8c58fa00ae22871eeed1c1a25af5def1941e89f8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "566c3df2649b1eec895b7d8c58fa00ae22871eeed1c1a25af5def1941e89f8b1", kill_on_drop: false }` [INFO] [stdout] 566c3df2649b1eec895b7d8c58fa00ae22871eeed1c1a25af5def1941e89f8b1