[INFO] updating cached repository https://github.com/gfreezy/rlox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca52b0b58d3b2d1d8bf36d5e6827d1578707c1a2 [INFO] testing gfreezy/rlox against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgfreezy%2Frlox" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gfreezy/rlox on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", 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-9/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", 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] 2805aa090f6f49f0759c7b2eb9ce138a5d6851e631ffd249d71a74ca11b558cb [INFO] running `Command { std: "docker" "start" "-a" "2805aa090f6f49f0759c7b2eb9ce138a5d6851e631ffd249d71a74ca11b558cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2805aa090f6f49f0759c7b2eb9ce138a5d6851e631ffd249d71a74ca11b558cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2805aa090f6f49f0759c7b2eb9ce138a5d6851e631ffd249d71a74ca11b558cb", kill_on_drop: false }` [INFO] [stdout] 2805aa090f6f49f0759c7b2eb9ce138a5d6851e631ffd249d71a74ca11b558cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3ed6714a1762fcfa6bb05f368da24889ced18d907e61db2f1359b3f7991b7f1 [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" "b3ed6714a1762fcfa6bb05f368da24889ced18d907e61db2f1359b3f7991b7f1", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling backtrace v0.3.30 [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 snafu v0.4.1 [INFO] [stderr] Compiling paste v0.1.5 [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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] [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 dev [unoptimized + debuginfo] target(s) in 28.29s [INFO] running `Command { std: "docker" "inspect" "b3ed6714a1762fcfa6bb05f368da24889ced18d907e61db2f1359b3f7991b7f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ed6714a1762fcfa6bb05f368da24889ced18d907e61db2f1359b3f7991b7f1", kill_on_drop: false }` [INFO] [stdout] b3ed6714a1762fcfa6bb05f368da24889ced18d907e61db2f1359b3f7991b7f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28b81a3384f31a124c9d173ccae86429d104dd516dbdea035d2799e1ea658745 [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" "28b81a3384f31a124c9d173ccae86429d104dd516dbdea035d2799e1ea658745", kill_on_drop: false }` [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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] [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 1.90s [INFO] running `Command { std: "docker" "inspect" "28b81a3384f31a124c9d173ccae86429d104dd516dbdea035d2799e1ea658745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b81a3384f31a124c9d173ccae86429d104dd516dbdea035d2799e1ea658745", kill_on_drop: false }` [INFO] [stdout] 28b81a3384f31a124c9d173ccae86429d104dd516dbdea035d2799e1ea658745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81002b6a525e23af50b1095af950ce1e1cdac953b3baf27f168d53094ee16c8c [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" "81002b6a525e23af50b1095af950ce1e1cdac953b3baf27f168d53094ee16c8c", kill_on_drop: false }` [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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] [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: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rlox-e3f79fddb2f5bf12 [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 ... ok [INFO] [stdout] test chunk::tests::test_read_u24 ... FAILED [INFO] [stdout] test chunk::tests::test_write_u24_shoudl_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: 0x557e8b2a4f65 - backtrace::backtrace::libunwind::trace::h5e2646fa3eddf2ea [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x557e8b2a4f65 - backtrace::backtrace::trace_unsynchronized::hb95dd7f77ce47877 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x557e8b2a4f65 - std::sys_common::backtrace::_print_fmt::h5e71b67af43fd70d [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x557e8b2a4f65 - ::fmt::hdb4a83d2b61107e5 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x557e8b2ccbcc - core::fmt::write::ha20e7262fa3e8a7a [INFO] [stdout] at src/libcore/fmt/mod.rs:1076 [INFO] [stdout] 5: 0x557e8b2542c5 - std::io::Write::write_fmt::hd8ff364c7845d2d0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/io/mod.rs:1537 [INFO] [stdout] 6: 0x557e8b29f631 - std::io::impls::>::write_fmt::h1c057ef6e8762996 [INFO] [stdout] at src/libstd/io/impls.rs:176 [INFO] [stdout] 7: 0x557e8b2a76c0 - std::sys_common::backtrace::_print::h9c07314cc66ba539 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x557e8b2a76c0 - std::sys_common::backtrace::print::hd1fd65f49a2d8544 [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x557e8b2a76c0 - std::panicking::default_hook::{{closure}}::h222da46485ab36fc [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x557e8b2a73ba - std::panicking::default_hook::hc5868949d129ed00 [INFO] [stdout] at src/libstd/panicking.rs:214 [INFO] [stdout] 11: 0x557e8b2a7d03 - std::panicking::rust_panic_with_hook::h26a6ab8b0993c0c8 [INFO] [stdout] at src/libstd/panicking.rs:526 [INFO] [stdout] 12: 0x557e8b2a78fb - rust_begin_unwind [INFO] [stdout] at src/libstd/panicking.rs:437 [INFO] [stdout] 13: 0x557e8b2a786b - std::panicking::begin_panic_fmt::h2ff295231415d4a6 [INFO] [stdout] at src/libstd/panicking.rs:391 [INFO] [stdout] 14: 0x557e8b24f3a8 - rlox::chunk::tests::test_read_u24::h2a8dbffef3094544 [INFO] [stdout] at src/chunk.rs:109 [INFO] [stdout] 15: 0x557e8b24f16a - rlox::chunk::tests::test_read_u24::{{closure}}::h3cc88d1fc7478704 [INFO] [stdout] at src/chunk.rs:107 [INFO] [stdout] 16: 0x557e8b25225e - core::ops::function::FnOnce::call_once::h0cb426eb55c01a68 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 17: 0x557e8b27b83c - as core::ops::function::FnOnce>::call_once::h42148c33ed88c979 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 18: 0x557e8b27b83c - as core::ops::function::FnOnce<()>>::call_once::h759dc0b09d774665 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 19: 0x557e8b27b83c - std::panicking::try::do_call::h676ad1fc9e9badea [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 20: 0x557e8b27b83c - std::panicking::try::hee36a8727a3050b0 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 21: 0x557e8b27b83c - std::panic::catch_unwind::hd5d426ebd89b2542 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 22: 0x557e8b27b83c - test::run_test_in_process::h8dacdba4dc4cbaa5 [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 23: 0x557e8b27b83c - test::run_test::run_test_inner::{{closure}}::hf93754afad6be40f [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 24: 0x557e8b2537b6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h2c69fab544a90730 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 25: 0x557e8b258845 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::hcf302fafa60d80f2 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:475 [INFO] [stdout] 26: 0x557e8b258845 - as core::ops::function::FnOnce<()>>::call_once::h39ede710608e817e [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:318 [INFO] [stdout] 27: 0x557e8b258845 - std::panicking::try::do_call::hec0b4d2faa46fbf7 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:348 [INFO] [stdout] 28: 0x557e8b258845 - std::panicking::try::h0144ba3f2539803d [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panicking.rs:325 [INFO] [stdout] 29: 0x557e8b258845 - std::panic::catch_unwind::ha03e59eb589f857b [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/panic.rs:394 [INFO] [stdout] 30: 0x557e8b258845 - std::thread::Builder::spawn_unchecked::{{closure}}::hdeba34620a4a7a44 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libstd/thread/mod.rs:474 [INFO] [stdout] 31: 0x557e8b258845 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h552693dbb801eadd [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/libcore/ops/function.rs:233 [INFO] [stdout] 32: 0x557e8b2adeca - as core::ops::function::FnOnce>::call_once::h61c24496ae624ac5 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 33: 0x557e8b2adeca - as core::ops::function::FnOnce>::call_once::h89548957afa14049 [INFO] [stdout] at /rustc/6f959902b3103c49ca981fbc01871589c3498489/src/liballoc/boxed.rs:1081 [INFO] [stdout] 34: 0x557e8b2adeca - std::sys::unix::thread::Thread::new::thread_start::h73903fbbff5b990e [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 35: 0x7fd8acd07609 - start_thread [INFO] [stdout] 36: 0x7fd8acf92103 - __clone [INFO] [stdout] 37: 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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin rlox' [INFO] running `Command { std: "docker" "inspect" "81002b6a525e23af50b1095af950ce1e1cdac953b3baf27f168d53094ee16c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81002b6a525e23af50b1095af950ce1e1cdac953b3baf27f168d53094ee16c8c", kill_on_drop: false }` [INFO] [stdout] 81002b6a525e23af50b1095af950ce1e1cdac953b3baf27f168d53094ee16c8c