[INFO] cloning repository https://github.com/pedrogao/plua [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pedrogao/plua" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2819202edf107004e8d37c5db93d0433b05a80d7 [INFO] testing pedrogao/plua against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpedrogao%2Fplua" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pedrogao/plua on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pedrogao/plua [INFO] finished tweaking git repo https://github.com/pedrogao/plua [INFO] tweaked toml for git repo https://github.com/pedrogao/plua written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/pedrogao/plua already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded peg-macros v0.8.0 [INFO] [stderr] Downloaded cranelift-entity v0.81.1 [INFO] [stderr] Downloaded regalloc v0.0.34 [INFO] [stderr] Downloaded cranelift-bforest v0.81.1 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.81.1 [INFO] [stderr] Downloaded cranelift v0.81.1 [INFO] [stderr] Downloaded cranelift-module v0.81.1 [INFO] [stderr] Downloaded cranelift-native v0.81.1 [INFO] [stderr] Downloaded cranelift-frontend v0.81.1 [INFO] [stderr] Downloaded peg-runtime v0.8.0 [INFO] [stderr] Downloaded peg v0.8.0 [INFO] [stderr] Downloaded cranelift-codegen v0.81.1 [INFO] [stderr] Downloaded cranelift-jit v0.81.1 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.81.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d456209e4b126b3670edbdc58fa50f65bd91a0eb5ea478752a7ad7364e784c7 [INFO] running `Command { std: "docker" "start" "-a" "5d456209e4b126b3670edbdc58fa50f65bd91a0eb5ea478752a7ad7364e784c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d456209e4b126b3670edbdc58fa50f65bd91a0eb5ea478752a7ad7364e784c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d456209e4b126b3670edbdc58fa50f65bd91a0eb5ea478752a7ad7364e784c7", kill_on_drop: false }` [INFO] [stdout] 5d456209e4b126b3670edbdc58fa50f65bd91a0eb5ea478752a7ad7364e784c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4e850d55b3631af2d350d3d082eee30d2f08fb74abaf62950c8e0aa8c10678e [INFO] running `Command { std: "docker" "start" "-a" "e4e850d55b3631af2d350d3d082eee30d2f08fb74abaf62950c8e0aa8c10678e", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cranelift-codegen-shared v0.81.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling cranelift-entity v0.81.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling peg-runtime v0.8.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memmap2 v0.5.3 [INFO] [stderr] Compiling region v2.2.0 [INFO] [stderr] Compiling cranelift-bforest v0.81.1 [INFO] [stderr] Compiling cranelift-codegen-meta v0.81.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regalloc v0.0.34 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling peg-macros v0.8.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling cranelift-codegen v0.81.1 [INFO] [stderr] Compiling peg v0.8.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling dynasm v1.2.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling cranelift-frontend v0.81.1 [INFO] [stderr] Compiling cranelift-module v0.81.1 [INFO] [stderr] Compiling cranelift-native v0.81.1 [INFO] [stderr] Compiling cranelift-jit v0.81.1 [INFO] [stderr] Compiling cranelift v0.81.1 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Compiling dynasmrt v1.2.1 [INFO] [stderr] Compiling plua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bf/compile.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Location`, `lex_keyword` [INFO] [stdout] --> src/lex.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | use super::{lex_keyword, Location}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/compile.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::debug` [INFO] [stdout] --> src/compile.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | use crate::debug::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::debug` [INFO] [stdout] --> src/vm.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use crate::debug::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Program`, `Value` [INFO] [stdout] --> src/vm.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | use crate::compile::{Program, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::bytecode::ByteCode` [INFO] [stdout] --> src/vm.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use crate::bytecode::ByteCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sp` is assigned to, but never used [INFO] [stdout] --> src/vm.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut sp = 0; // 栈(帧)顶 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_sp` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sp` is never read [INFO] [stdout] --> src/vm.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | sp = stack.len(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vm.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let index = prog.read_byte(ip + 1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ip` [INFO] [stdout] --> src/vm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ip: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default)] [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: field is never read: `stack` [INFO] [stdout] --> src/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default)] [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: field is never read: `frame` [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | frame: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default)] [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: field is never read: `return_address` [INFO] [stdout] --> src/vm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | return_address: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: field is never read: `slots` [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | slots: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optimize` [INFO] [stdout] --> src/bin/plua.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | optimize: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/plua.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, StructOpt)] [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.19s [INFO] running `Command { std: "docker" "inspect" "e4e850d55b3631af2d350d3d082eee30d2f08fb74abaf62950c8e0aa8c10678e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e850d55b3631af2d350d3d082eee30d2f08fb74abaf62950c8e0aa8c10678e", kill_on_drop: false }` [INFO] [stdout] e4e850d55b3631af2d350d3d082eee30d2f08fb74abaf62950c8e0aa8c10678e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec7e88cba6c76d6932783728bf389cf65dba389a1f6892efef955497565c19af [INFO] running `Command { std: "docker" "start" "-a" "ec7e88cba6c76d6932783728bf389cf65dba389a1f6892efef955497565c19af", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bf/compile.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Location`, `lex_keyword` [INFO] [stdout] --> src/lex.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | use super::{lex_keyword, Location}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/compile.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::debug` [INFO] [stdout] --> src/compile.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | use crate::debug::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::debug::debug` [INFO] [stdout] --> src/vm.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | use crate::debug::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Program`, `Value` [INFO] [stdout] --> src/vm.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | use crate::compile::{Program, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plua v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::bytecode::ByteCode` [INFO] [stdout] --> src/vm.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | use crate::bytecode::ByteCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sp` is assigned to, but never used [INFO] [stdout] --> src/vm.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let mut sp = 0; // 栈(帧)顶 [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_sp` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sp` is never read [INFO] [stdout] --> src/vm.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | sp = stack.len(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/vm.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let index = prog.read_byte(ip + 1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ip` [INFO] [stdout] --> src/vm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ip: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default)] [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: field is never read: `stack` [INFO] [stdout] --> src/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | stack: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default)] [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: field is never read: `frame` [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | frame: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `VM` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, Default)] [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: field is never read: `return_address` [INFO] [stdout] --> src/vm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | return_address: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: field is never read: `slots` [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | slots: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Frame` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/vm.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `optimize` [INFO] [stdout] --> src/bin/plua.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | optimize: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/bin/plua.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, StructOpt)] [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] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::Constant}>` is not satisfied [INFO] [stdout] --> src/compile.rs:281:44 [INFO] [stdout] | [INFO] [stdout] 281 | prog.write_byte(ByteCode::Constant.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::Constant}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(usize) -> bytecode::ByteCode {bytecode::ByteCode::Constant}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::Call}>` is not satisfied [INFO] [stdout] --> src/compile.rs:286:40 [INFO] [stdout] | [INFO] [stdout] 286 | prog.write_byte(ByteCode::Call.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::Call}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(std::string::String) -> bytecode::ByteCode {bytecode::ByteCode::Call}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::Jump}>` is not satisfied [INFO] [stdout] --> src/compile.rs:290:40 [INFO] [stdout] | [INFO] [stdout] 290 | prog.write_byte(ByteCode::Jump.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::Jump}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(std::string::String) -> bytecode::ByteCode {bytecode::ByteCode::Jump}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::Jump}>` is not satisfied [INFO] [stdout] --> src/vm.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | prog.write_byte(ByteCode::Jump.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::Jump}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(std::string::String) -> bytecode::ByteCode {bytecode::ByteCode::Jump}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::GetParameter}>` is not satisfied [INFO] [stdout] --> src/vm.rs:108:48 [INFO] [stdout] | [INFO] [stdout] 108 | prog.write_byte(ByteCode::GetParameter.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::GetParameter}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(usize) -> bytecode::ByteCode {bytecode::ByteCode::GetParameter}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::Constant}>` is not satisfied [INFO] [stdout] --> src/vm.rs:113:44 [INFO] [stdout] | [INFO] [stdout] 113 | prog.write_byte(ByteCode::Constant.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::Constant}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(usize) -> bytecode::ByteCode {bytecode::ByteCode::Constant}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/vm.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | prog.write_byte(ByteCode::Less.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `bytecode::ByteCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/vm.rs:117:47 [INFO] [stdout] | [INFO] [stdout] 117 | prog.write_byte(ByteCode::JumpIfFalse.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `bytecode::ByteCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/vm.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | prog.write_byte(ByteCode::Return.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `bytecode::ByteCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::SetLocal}>` is not satisfied [INFO] [stdout] --> src/vm.rs:125:44 [INFO] [stdout] | [INFO] [stdout] 125 | prog.write_byte(ByteCode::SetLocal.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::SetLocal}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(usize) -> bytecode::ByteCode {bytecode::ByteCode::SetLocal}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/vm.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | prog.write_byte(ByteCode::Add.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `bytecode::ByteCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From bytecode::ByteCode {bytecode::ByteCode::SetLocal}>` is not satisfied [INFO] [stdout] --> src/vm.rs:131:44 [INFO] [stdout] | [INFO] [stdout] 131 | prog.write_byte(ByteCode::SetLocal.into()); [INFO] [stdout] | ^^^^ the trait `From bytecode::ByteCode {bytecode::ByteCode::SetLocal}>` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `fn(usize) -> bytecode::ByteCode {bytecode::ByteCode::SetLocal}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/vm.rs:134:39 [INFO] [stdout] | [INFO] [stdout] 134 | prog.write_byte(ByteCode::Add.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `bytecode::ByteCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> src/vm.rs:136:42 [INFO] [stdout] | [INFO] [stdout] 136 | prog.write_byte(ByteCode::Return.into()); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] > [INFO] [stdout] and 93 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `bytecode::ByteCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `plua` due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ec7e88cba6c76d6932783728bf389cf65dba389a1f6892efef955497565c19af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec7e88cba6c76d6932783728bf389cf65dba389a1f6892efef955497565c19af", kill_on_drop: false }` [INFO] [stdout] ec7e88cba6c76d6932783728bf389cf65dba389a1f6892efef955497565c19af