[INFO] cloning repository https://github.com/gfreezy/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gfreezy/rlox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca52b0b58d3b2d1d8bf36d5e6827d1578707c1a2 [INFO] testing gfreezy/rlox against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox" "/workspace/builds/worker-112/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-112/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gfreezy/rlox on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gfreezy/rlox [INFO] finished tweaking git repo https://github.com/gfreezy/rlox [INFO] tweaked toml for git repo https://github.com/gfreezy/rlox written to /workspace/builds/worker-112/source/Cargo.toml [INFO] crate git repo https://github.com/gfreezy/rlox already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7f5227235c9f7182a834ec3d62487271a297cfb64eff24fdc00136b7621bb08 [INFO] running `Command { std: "docker" "start" "-a" "b7f5227235c9f7182a834ec3d62487271a297cfb64eff24fdc00136b7621bb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7f5227235c9f7182a834ec3d62487271a297cfb64eff24fdc00136b7621bb08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7f5227235c9f7182a834ec3d62487271a297cfb64eff24fdc00136b7621bb08", kill_on_drop: false }` [INFO] [stdout] b7f5227235c9f7182a834ec3d62487271a297cfb64eff24fdc00136b7621bb08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ae61ded993433c0245e4c5aab30f31303b8c8b7b29ec0bc8a71fe119edfc85e [INFO] running `Command { std: "docker" "start" "-a" "7ae61ded993433c0245e4c5aab30f31303b8c8b7b29ec0bc8a71fe119edfc85e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling rustc-demangle v0.1.15 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling backtrace v0.3.30 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.7 [INFO] [stderr] Compiling snafu-derive v0.4.1 [INFO] [stderr] Compiling num_enum v0.2.0 [INFO] [stderr] Compiling paste-impl v0.1.5 [INFO] [stderr] Compiling paste v0.1.5 [INFO] [stderr] Compiling snafu v0.4.1 [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 18s [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 141 | binary_op!(|l, r| format!("{}{}", l, r), into_str, "not a str"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 143 | binary_op!(|l, r| l + r, into_number, "not a str"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 147 | binary_op!(|l, r| l - r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 150 | binary_op!(|l, r| l * r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 153 | binary_op!(|l, r| l / r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 170 | binary_op!(|l, r| l > r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 173 | binary_op!(|l, r| l < r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Previous` [INFO] [stdout] --> src/compiler.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, Ord, PartialOrd, Eq, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error` [INFO] [stdout] --> src/compiler.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn error(&mut self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/vm.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn write(&mut self, byte: u8, line: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_opcode` [INFO] [stdout] --> src/vm.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write_opcode(&mut self, opcode: OpCode, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_constant` [INFO] [stdout] --> src/vm.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn write_constant(&mut self, value: Value, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7ae61ded993433c0245e4c5aab30f31303b8c8b7b29ec0bc8a71fe119edfc85e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae61ded993433c0245e4c5aab30f31303b8c8b7b29ec0bc8a71fe119edfc85e", kill_on_drop: false }` [INFO] [stdout] 7ae61ded993433c0245e4c5aab30f31303b8c8b7b29ec0bc8a71fe119edfc85e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b09909d7002f624f2dd7c92de3cb2b5af2d499094254c35e3f4bb0df92b23d [INFO] running `Command { std: "docker" "start" "-a" "32b09909d7002f624f2dd7c92de3cb2b5af2d499094254c35e3f4bb0df92b23d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rlox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 141 | binary_op!(|l, r| format!("{}{}", l, r), into_str, "not a str"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 143 | binary_op!(|l, r| l + r, into_number, "not a str"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 147 | binary_op!(|l, r| l - r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 150 | binary_op!(|l, r| l * r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 153 | binary_op!(|l, r| l / r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 170 | binary_op!(|l, r| l > r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/vm.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | })?;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 173 | binary_op!(|l, r| l < r, into_number, "not a number"); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Previous` [INFO] [stdout] --> src/compiler.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | Previous, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `TokenPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/compiler.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | #[derive(Debug, Ord, PartialOrd, Eq, PartialEq, Copy, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `error` [INFO] [stdout] --> src/compiler.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn error(&mut self, msg: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/vm.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn write(&mut self, byte: u8, line: u32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_opcode` [INFO] [stdout] --> src/vm.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write_opcode(&mut self, opcode: OpCode, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_constant` [INFO] [stdout] --> src/vm.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn write_constant(&mut self, value: Value, line: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 37.62s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-c5f1d96ca159054d) [INFO] running `Command { std: "docker" "inspect" "32b09909d7002f624f2dd7c92de3cb2b5af2d499094254c35e3f4bb0df92b23d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b09909d7002f624f2dd7c92de3cb2b5af2d499094254c35e3f4bb0df92b23d", kill_on_drop: false }` [INFO] [stdout] 32b09909d7002f624f2dd7c92de3cb2b5af2d499094254c35e3f4bb0df92b23d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91e14642738db9667ac566e516955ae85c7157f35501a1dd8b47f8f06884c829 [INFO] running `Command { std: "docker" "start" "-a" "91e14642738db9667ac566e516955ae85c7157f35501a1dd8b47f8f06884c829", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 141 | binary_op!(|l, r| format!("{}{}", l, r), into_str, "not a str"); [INFO] [stderr] | --------------------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 143 | binary_op!(|l, r| l + r, into_number, "not a str"); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 147 | binary_op!(|l, r| l - r, into_number, "not a number"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 150 | binary_op!(|l, r| l * r, into_number, "not a number"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 153 | binary_op!(|l, r| l / r, into_number, "not a number"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 170 | binary_op!(|l, r| l > r, into_number, "not a number"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/vm.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | })?;; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] ... [INFO] [stderr] 173 | binary_op!(|l, r| l < r, into_number, "not a number"); [INFO] [stderr] | ----------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binary_op` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Previous` [INFO] [stderr] --> src/compiler.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | Previous, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `TokenPosition` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/compiler.rs:108:10 [INFO] [stderr] | [INFO] [stderr] 108 | #[derive(Debug, Ord, PartialOrd, Eq, PartialEq, Copy, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `error` [INFO] [stderr] --> src/compiler.rs:154:8 [INFO] [stderr] | [INFO] [stderr] 154 | fn error(&mut self, msg: &str) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write` [INFO] [stderr] --> src/vm.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn write(&mut self, byte: u8, line: u32) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_opcode` [INFO] [stderr] --> src/vm.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn write_opcode(&mut self, opcode: OpCode, line: u32) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_constant` [INFO] [stderr] --> src/vm.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn write_constant(&mut self, value: Value, line: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rlox` (bin "rlox" test) generated 12 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.54s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rlox-c5f1d96ca159054d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test chunk::line_encoding::tests::test_add ... ok [INFO] [stdout] test chunk::line_encoding::tests::test_get ... ok [INFO] [stdout] test chunk::tests::test_write_u24 ... ok [INFO] [stdout] test chunk::tests::test_read_u24_should_panic - should panic ... ok [INFO] [stdout] test chunk::tests::test_read_u24 ... FAILED [INFO] [stdout] test chunk::tests::test_write_u24_shoudl_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- chunk::tests::test_read_u24 stdout ---- [INFO] [stdout] thread 'chunk::tests::test_read_u24' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `4368`, [INFO] [stdout] right: `1118212`', src/chunk.rs:109:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55be3ce61bed - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55be3ce61bed - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55be3ce61bed - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55be3ce61bed - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55be3ce844fc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x55be3ce5e5b1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x55be3ce63935 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55be3ce63935 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55be3ce63935 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55be3ce63624 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55be3ce63e82 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55be3ce63d67 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55be3ce620a4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55be3ce63a99 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55be3cdff3e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55be3ce830c8 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x55be3ce0320a - core::panicking::assert_failed::h115f0e27ebe9271d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55be3ce00ac2 - rlox::chunk::tests::test_read_u24::h1f3832099b209de7 [INFO] [stdout] at /opt/rustwide/workdir/src/chunk.rs:109:9 [INFO] [stdout] 18: 0x55be3ce0098a - rlox::chunk::tests::test_read_u24::{{closure}}::ha5613d8572e3f755 [INFO] [stdout] at /opt/rustwide/workdir/src/chunk.rs:107:5 [INFO] [stdout] 19: 0x55be3ce0145e - core::ops::function::FnOnce::call_once::h3cd04e476611b9be [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55be3ce39973 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55be3ce39973 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x55be3ce38729 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x55be3ce38729 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55be3ce38729 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55be3ce38729 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55be3ce38729 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55be3ce38729 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x55be3ce38729 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x55be3ce048de - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x55be3ce048de - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55be3ce09e48 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55be3ce09e48 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55be3ce09e48 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55be3ce09e48 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55be3ce09e48 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55be3ce09e48 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55be3ce09e48 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55be3ce68693 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x55be3ce68693 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x55be3ce68693 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f042825d609 - start_thread [INFO] [stdout] 42: 0x7f04284e6163 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] chunk::tests::test_read_u24 [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rlox' [INFO] running `Command { std: "docker" "inspect" "91e14642738db9667ac566e516955ae85c7157f35501a1dd8b47f8f06884c829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91e14642738db9667ac566e516955ae85c7157f35501a1dd8b47f8f06884c829", kill_on_drop: false }` [INFO] [stdout] 91e14642738db9667ac566e516955ae85c7157f35501a1dd8b47f8f06884c829