[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] testing HenrySwanson/rust-lox against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHenrySwanson%2Frust-lox" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HenrySwanson/rust-lox on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-4/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23cae0d810c7792a807c79fb98804f17b53cdaff646189d960c3a62e04de6dd0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "23cae0d810c7792a807c79fb98804f17b53cdaff646189d960c3a62e04de6dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23cae0d810c7792a807c79fb98804f17b53cdaff646189d960c3a62e04de6dd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23cae0d810c7792a807c79fb98804f17b53cdaff646189d960c3a62e04de6dd0", kill_on_drop: false }` [INFO] [stdout] 23cae0d810c7792a807c79fb98804f17b53cdaff646189d960c3a62e04de6dd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d94e552adb1e5112b1117d1becbea440bce461f1d6d78f10361dea6207cda4a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d94e552adb1e5112b1117d1becbea440bce461f1d6d78f10361dea6207cda4a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling syn v1.0.40 [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] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling 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] 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] Finished dev [unoptimized + debuginfo] target(s) in 31.11s [INFO] running `Command { std: "docker" "inspect" "7d94e552adb1e5112b1117d1becbea440bce461f1d6d78f10361dea6207cda4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d94e552adb1e5112b1117d1becbea440bce461f1d6d78f10361dea6207cda4a", kill_on_drop: false }` [INFO] [stdout] 7d94e552adb1e5112b1117d1becbea440bce461f1d6d78f10361dea6207cda4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1d6bdb5b9369e6d7d92215449b0b5cd3c6260712c156a6222b44c9106097aa87 [INFO] running `Command { std: "docker" "start" "-a" "1d6bdb5b9369e6d7d92215449b0b5cd3c6260712c156a6222b44c9106097aa87", kill_on_drop: false }` [INFO] [stderr] Compiling rust-lox v0.1.0 (/opt/rustwide/workdir) [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] running `Command { std: "docker" "inspect" "1d6bdb5b9369e6d7d92215449b0b5cd3c6260712c156a6222b44c9106097aa87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6bdb5b9369e6d7d92215449b0b5cd3c6260712c156a6222b44c9106097aa87", kill_on_drop: false }` [INFO] [stdout] 1d6bdb5b9369e6d7d92215449b0b5cd3c6260712c156a6222b44c9106097aa87