[INFO] fetching crate zub 0.3.14... [INFO] checking zub-0.3.14 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate zub 0.3.14 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate zub 0.3.14 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zub 0.3.14 [INFO] finished tweaking crates.io crate zub 0.3.14 [INFO] tweaked toml for crates.io crate zub 0.3.14 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate zub 0.3.14 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sized-chunks v0.5.3 [INFO] [stderr] Downloaded ahash v0.3.3 [INFO] [stderr] Downloaded im-rc v14.3.0 [INFO] [stderr] Downloaded flame v0.2.2 [INFO] [stderr] Downloaded flamer v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 151fdb8f07030940ddd9f370e166dd42a996ffbc2e3b4032fc6d8950f3b72a9f [INFO] running `Command { std: "docker" "start" "-a" "151fdb8f07030940ddd9f370e166dd42a996ffbc2e3b4032fc6d8950f3b72a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "151fdb8f07030940ddd9f370e166dd42a996ffbc2e3b4032fc6d8950f3b72a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151fdb8f07030940ddd9f370e166dd42a996ffbc2e3b4032fc6d8950f3b72a9f", kill_on_drop: false }` [INFO] [stdout] 151fdb8f07030940ddd9f370e166dd42a996ffbc2e3b4032fc6d8950f3b72a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d69bdcc847d700197ad3655d89b1a2dabc6092e2338ad29bc3134581172b02f [INFO] running `Command { std: "docker" "start" "-a" "8d69bdcc847d700197ad3655d89b1a2dabc6092e2338ad29bc3134581172b02f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking ahash v0.3.3 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking sized-chunks v0.5.3 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling logos-derive v0.11.5 [INFO] [stderr] Checking logos v0.11.4 [INFO] [stderr] Compiling flame v0.2.2 [INFO] [stderr] Compiling flamer v0.3.0 [INFO] [stderr] Checking zub v0.3.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate flamer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tag::*` [INFO] [stdout] --> src/vm/value/object.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::gc::{ *, tag::*, trace::* }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::CompileState` [INFO] [stdout] --> src/vm/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::compiler::CompileState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/vm/gc/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::{PartialEq, Eq}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/vm/gc/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::{PartialEq, Eq}, [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Trace`, `Tracer` [INFO] [stdout] --> src/vm/disassembler.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use gc::trace::{ Trace, Tracer }; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Chunk` is imported redundantly [INFO] [stdout] --> src/compiler/compiler.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::chunk::{ Chunk, Op }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Chunk` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Op` is imported redundantly [INFO] [stdout] --> src/compiler/compiler.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use super::chunk::{ Chunk, Op }; [INFO] [stdout] | ^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Op` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] extern crate flamer; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tag::*` [INFO] [stdout] --> src/vm/value/object.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use super::super::gc::{ *, tag::*, trace::* }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::compiler::CompileState` [INFO] [stdout] --> src/vm/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::compiler::CompileState; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/vm/gc/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::{PartialEq, Eq}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/vm/gc/mod.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | cmp::{PartialEq, Eq}, [INFO] [stdout] | ^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Trace`, `Tracer` [INFO] [stdout] --> src/vm/disassembler.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use gc::trace::{ Trace, Tracer }; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Chunk` is imported redundantly [INFO] [stdout] --> src/compiler/compiler.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use super::chunk::{ Chunk, Op }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Chunk` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Op` is imported redundantly [INFO] [stdout] --> src/compiler/compiler.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use super::chunk::{ Chunk, Op }; [INFO] [stdout] | ^^ [INFO] [stdout] 2 | use super::*; [INFO] [stdout] | -------- the item `Op` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/vm/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/vm/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_drain_as_slice` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_drain_as_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `vec_drain_as_slice` has been stable since 1.46.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(vec_drain_as_slice)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Nil` is named the same as one of the variants of the type `vm::value::value::Variant` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `vm::value::value::Variant::Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Nil` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `Nil` is named the same as one of the variants of the type `vm::value::value::Variant` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `vm::value::value::Variant::Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Nil` [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_Nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/compiler.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | _ => panic!("not a constant") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_dict_element`, `get_dict_element`, `set_list_element`, and `on_loop` are never used [INFO] [stdout] --> src/vm/vm.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 487 | fn set_dict_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | fn get_dict_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | fn set_list_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | fn on_loop(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invoke`, `class`, `get_property`, and `set_property` are never used [INFO] [stdout] --> src/vm/disassembler.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'c> Disassembler<'c> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | fn invoke(&mut self, arity: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn class(&mut self, idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn get_property(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn set_property(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/ir/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TypeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | kind: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/ir/ir.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 206 | data: HashMap, [INFO] [stdout] 207 | entry: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `begin_scope` is never used [INFO] [stdout] --> src/compiler/compiler.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl CompileState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn begin_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Nil` should have a snake case name [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zub` (lib) due to 2 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/compiler/compiler.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 663 | _ => panic!("not a constant") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_dict_element`, `get_dict_element`, `set_list_element`, and `on_loop` are never used [INFO] [stdout] --> src/vm/vm.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl VM { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 487 | fn set_dict_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | fn get_dict_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 541 | fn set_list_element(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | fn on_loop(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invoke`, `class`, `get_property`, and `set_property` are never used [INFO] [stdout] --> src/vm/disassembler.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'c> Disassembler<'c> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 167 | fn invoke(&mut self, arity: u8) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn class(&mut self, idx: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | fn get_property(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn set_property(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/ir/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct TypeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 12 | kind: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entry` is never read [INFO] [stdout] --> src/ir/ir.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub struct Program { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 206 | data: HashMap, [INFO] [stdout] 207 | entry: Option [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Program` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `begin_scope` is never used [INFO] [stdout] --> src/compiler/compiler.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl CompileState { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn begin_scope(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Nil` should have a snake case name [INFO] [stdout] --> src/vm/vm.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | Nil => HashVariant::Nil, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `nil` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `zub` (lib test) due to 2 previous errors; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d69bdcc847d700197ad3655d89b1a2dabc6092e2338ad29bc3134581172b02f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d69bdcc847d700197ad3655d89b1a2dabc6092e2338ad29bc3134581172b02f", kill_on_drop: false }` [INFO] [stdout] 8d69bdcc847d700197ad3655d89b1a2dabc6092e2338ad29bc3134581172b02f