[INFO] fetching crate zub 0.3.14... [INFO] checking zub-0.3.14 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate zub 0.3.14 into /workspace/builds/worker-2-tc2/source [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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate zub 0.3.14 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63a7a2b4b1b4e6b2f2077c33fbbf691815675752c58db72c00ac05e3ff004a73 [INFO] running `Command { std: "docker" "start" "-a" "63a7a2b4b1b4e6b2f2077c33fbbf691815675752c58db72c00ac05e3ff004a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63a7a2b4b1b4e6b2f2077c33fbbf691815675752c58db72c00ac05e3ff004a73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63a7a2b4b1b4e6b2f2077c33fbbf691815675752c58db72c00ac05e3ff004a73", kill_on_drop: false }` [INFO] [stdout] 63a7a2b4b1b4e6b2f2077c33fbbf691815675752c58db72c00ac05e3ff004a73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cea0e605a72d44418ed6c15d3402b815898fd2abe12d33c4b96ba6e772064a83 [INFO] running `Command { std: "docker" "start" "-a" "cea0e605a72d44418ed6c15d3402b815898fd2abe12d33c4b96ba6e772064a83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling beef v0.4.4 [INFO] [stderr] Checking ahash v0.3.3 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling im-rc v14.3.0 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Compiling quote v1.0.4 [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: unused imports: `Trace` and `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 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: 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: unused imports: `Trace` and `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: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> src/vm/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, crates [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: `#[macro_use]` attribute cannot be used on use statements [INFO] [stdout] --> src/vm/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[macro_use]` can be applied to modules, extern crates, crates [INFO] [stdout] = note: `#[warn(unused_attributes)]` 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] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/compiler.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 651 | Nil => self.emit(Op::Nil), [INFO] [stdout] | --- matches some of the same values [INFO] [stdout] 652 | Boolean(b) => self.emit(if b { Op::True} else { Op::False } ), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 653 | Number(n) => self.emit_number_literal(n), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 654 | String(ref s) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 663 | _ => panic!("not a constant") [INFO] [stdout] | ^ collectively making this unreachable [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: unnecessary transmute [INFO] [stdout] --> src/vm/value/value.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | mem::transmute::(*f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - mem::transmute::(*f) [INFO] [stdout] 42 + f64::to_bits(*f).cast_signed() [INFO] [stdout] | [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/value/value.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn with(&self, item: U) -> WithHeap { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn with(&self, item: U) -> WithHeap<'_, U> { [INFO] [stdout] | +++ [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/chunk.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn constants(&self) -> Constants { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn constants(&self) -> Constants<'_> { [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] warning: unnecessary transmute [INFO] [stdout] --> src/vm/gc/tag.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | return Tag::Float(unsafe { ::std::mem::transmute(u) }); [INFO] [stdout] | ---------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [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 1 previous error; 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] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/compiler/compiler.rs:663:13 [INFO] [stdout] | [INFO] [stdout] 651 | Nil => self.emit(Op::Nil), [INFO] [stdout] | --- matches some of the same values [INFO] [stdout] 652 | Boolean(b) => self.emit(if b { Op::True} else { Op::False } ), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 653 | Number(n) => self.emit_number_literal(n), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 654 | String(ref s) => { [INFO] [stdout] | ------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 663 | _ => panic!("not a constant") [INFO] [stdout] | ^ collectively making this unreachable [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: unnecessary transmute [INFO] [stdout] --> src/vm/value/value.rs:42:25 [INFO] [stdout] | [INFO] [stdout] 42 | mem::transmute::(*f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 42 - mem::transmute::(*f) [INFO] [stdout] 42 + f64::to_bits(*f).cast_signed() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/value/value.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | pub fn with(&self, item: U) -> WithHeap { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | pub fn with(&self, item: U) -> WithHeap<'_, U> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/vm/chunk.rs:86:22 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn constants(&self) -> Constants { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | pub fn constants(&self) -> Constants<'_> { [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] warning: unnecessary transmute [INFO] [stdout] --> src/vm/gc/tag.rs:63:40 [INFO] [stdout] | [INFO] [stdout] 63 | return Tag::Float(unsafe { ::std::mem::transmute(u) }); [INFO] [stdout] | ---------------------^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [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 1 previous error; 18 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cea0e605a72d44418ed6c15d3402b815898fd2abe12d33c4b96ba6e772064a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cea0e605a72d44418ed6c15d3402b815898fd2abe12d33c4b96ba6e772064a83", kill_on_drop: false }` [INFO] [stdout] cea0e605a72d44418ed6c15d3402b815898fd2abe12d33c4b96ba6e772064a83