[INFO] cloning repository https://github.com/romdotdog/w
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romdotdog/w" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromdotdog%2Fw", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromdotdog%2Fw'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5dd124fe8483255cc6ccb5ecff8af29d290b1cba
[INFO] testing romdotdog/w against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromdotdog%2Fw" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/romdotdog/w on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/romdotdog/w
[INFO] finished tweaking git repo https://github.com/romdotdog/w
[INFO] tweaked toml for git repo https://github.com/romdotdog/w written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/romdotdog/w already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 48a6ea021f7ec6d3b47b9e5e2831f1b1fa8f4b23b1d37ccf3ee2c882fcf530bd
[INFO] running `Command { std: "docker" "start" "-a" "48a6ea021f7ec6d3b47b9e5e2831f1b1fa8f4b23b1d37ccf3ee2c882fcf530bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "48a6ea021f7ec6d3b47b9e5e2831f1b1fa8f4b23b1d37ccf3ee2c882fcf530bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "48a6ea021f7ec6d3b47b9e5e2831f1b1fa8f4b23b1d37ccf3ee2c882fcf530bd", kill_on_drop: false }`
[INFO] [stdout] 48a6ea021f7ec6d3b47b9e5e2831f1b1fa8f4b23b1d37ccf3ee2c882fcf530bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f72bbf093dcc7f877962c70dee615c12c104fc0aa15c1bdaaa23d11dc9470c57
[INFO] running `Command { std: "docker" "start" "-a" "f72bbf093dcc7f877962c70dee615c12c104fc0aa15c1bdaaa23d11dc9470c57", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling dec2flt v0.0.0 (/opt/rustwide/workdir/compiler/dec2flt)
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling w_codegen v0.0.0 (/opt/rustwide/workdir/compiler/w_codegen)
[INFO] [stderr]    Compiling w_errors v0.0.0 (/opt/rustwide/workdir/compiler/w_errors)
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling appendlist v1.4.0
[INFO] [stderr]    Compiling getopts v0.2.21
[INFO] [stderr]    Compiling w_lexer v0.0.0 (/opt/rustwide/workdir/compiler/w_lexer)
[INFO] [stderr]    Compiling w_utils v0.0.0 (/opt/rustwide/workdir/compiler/w_utils)
[INFO] [stderr]    Compiling w_compiler v0.0.0 (/opt/rustwide/workdir/compiler/w_compiler)
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let end = 'm: loop {
[INFO] [stdout]    |                   ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `panic_block`
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |             macro_rules! panic_block {
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `panic`
[INFO] [stdout]  --> compiler/w_compiler/src/types/typ.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, panic};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeapType`
[INFO] [stdout]  --> compiler/w_compiler/src/types/typ.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     itemref::{HeapType, ItemRef, StackType},
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_struct`
[INFO] [stdout]    --> compiler/w_compiler/src/lib.rs:355:25
[INFO] [stdout]     |
[INFO] [stdout] 355 |                     let is_struct = ch == &Token::Struct;
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]    --> compiler/w_compiler/src/lib.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |                     let body = self.type_body(true);
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_ref`
[INFO] [stdout]   --> compiler/w_compiler/src/handler.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn finish(&self, src_ref: &'ast Self::SourceRef) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]   --> compiler/w_compiler/src/primaryatom.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let ret = match self.tk {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]   --> compiler/w_compiler/src/primaryatom.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let label = match self.tk {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cond`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let cond = match self.tk {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cond`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let a = self.primaryatom(None); // TODO: contextual type
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:155:24
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contextual_type`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:155:33
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contextual_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let end = 'm: loop {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binding`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let binding = match self.tk {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `atom`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                     let atom = self.atom(Some(U32));
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_atom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:298:37
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stdout]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:371:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 let t = self.parse_type().unwrap(); // TODO
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:401:40
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     Some(Token::String(s)) => todo!(),
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:402:38
[INFO] [stdout]     |
[INFO] [stdout] 402 |                     Some(Token::Char(s)) => todo!(),
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let start = self.start;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decl`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let decl = self.parse_decl().unwrap();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let start = self.start;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let end = loop {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let end = loop {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let name = self.expect_ident(&Some(Token::LeftBracket));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fields`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let fields = self.type_body(false);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_struct`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:235:39
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn struct_or_union(&mut self, is_struct: bool) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paren_end`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let paren_end = match self.tk {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exported`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:256:32
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exported`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:256:48
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> compiler/w_compiler/src/types/mod.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn coerce_inner(self, module: &mut S, to: Type) -> Result<Value<S>, Value<S>> {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:233:31
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn postfixatom(&mut self, mut lhs: Value<S>) -> Value<S> {
[INFO] [stdout]     |                               ----^^^
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_temp_local` is never used
[INFO] [stdout]   --> compiler/w_compiler/src/util/locals.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn get_temp_local(&mut self, t: Type) -> (String, usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_temp_local` is never used
[INFO] [stdout]   --> compiler/w_compiler/src/util/locals.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn free_temp_local<S: Serializer>(&mut self, t: Type, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Struct`, `Union` and `Global` are never constructed
[INFO] [stdout]  --> compiler/w_compiler/src/util/registry.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Item<'ast> {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 6 |     Enum(HashMap<&'ast str, i64>),
[INFO] [stdout] 7 |     Struct(HashMap<&'ast str, (Type, i32)>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     Union(HashMap<&'ast str, Type>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     Global(&'ast str, Type),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Registry::<'ast>::push` that must be used
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             self.registry.push(name, Item::Enum(fields));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `SymbolStack::<'ast>::push` that must be used
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |             self.symbols.push(param.ident, Binding::Type(param.typ));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling w_session v0.0.0 (/opt/rustwide/workdir/compiler/w_session)
[INFO] [stdout] warning: 44 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling w v0.0.0 (/opt/rustwide/workdir/compiler/w)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.13s
[INFO] running `Command { std: "docker" "inspect" "f72bbf093dcc7f877962c70dee615c12c104fc0aa15c1bdaaa23d11dc9470c57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f72bbf093dcc7f877962c70dee615c12c104fc0aa15c1bdaaa23d11dc9470c57", kill_on_drop: false }`
[INFO] [stdout] f72bbf093dcc7f877962c70dee615c12c104fc0aa15c1bdaaa23d11dc9470c57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 636f43140893e199676818341ab39b176118931e94a0a95f3bd4d1554544a96e
[INFO] running `Command { std: "docker" "start" "-a" "636f43140893e199676818341ab39b176118931e94a0a95f3bd4d1554544a96e", kill_on_drop: false }`
[INFO] [stderr]    Compiling similar v2.1.0
[INFO] [stderr]    Compiling dec2flt v0.0.0 (/opt/rustwide/workdir/compiler/dec2flt)
[INFO] [stderr]    Compiling w_errors v0.0.0 (/opt/rustwide/workdir/compiler/w_errors)
[INFO] [stderr]    Compiling w_codegen v0.0.0 (/opt/rustwide/workdir/compiler/w_codegen)
[INFO] [stderr]    Compiling w_lexer v0.0.0 (/opt/rustwide/workdir/compiler/w_lexer)
[INFO] [stderr]    Compiling w_utils v0.0.0 (/opt/rustwide/workdir/compiler/w_utils)
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let end = 'm: loop {
[INFO] [stdout]    |                   ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `panic_block`
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |             macro_rules! panic_block {
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `panic`
[INFO] [stdout]  --> compiler/w_compiler/src/types/typ.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, panic};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeapType`
[INFO] [stdout]  --> compiler/w_compiler/src/types/typ.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     itemref::{HeapType, ItemRef, StackType},
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_struct`
[INFO] [stdout]    --> compiler/w_compiler/src/lib.rs:355:25
[INFO] [stdout]     |
[INFO] [stdout] 355 |                     let is_struct = ch == &Token::Struct;
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]    --> compiler/w_compiler/src/lib.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |                     let body = self.type_body(true);
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_ref`
[INFO] [stdout]   --> compiler/w_compiler/src/handler.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn finish(&self, src_ref: &'ast Self::SourceRef) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]   --> compiler/w_compiler/src/primaryatom.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let ret = match self.tk {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]   --> compiler/w_compiler/src/primaryatom.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let label = match self.tk {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cond`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let cond = match self.tk {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cond`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let a = self.primaryatom(None); // TODO: contextual type
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:155:24
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contextual_type`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:155:33
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contextual_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let end = 'm: loop {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binding`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let binding = match self.tk {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `atom`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                     let atom = self.atom(Some(U32));
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_atom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:298:37
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stdout]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:371:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 let t = self.parse_type().unwrap(); // TODO
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:401:40
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     Some(Token::String(s)) => todo!(),
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:402:38
[INFO] [stdout]     |
[INFO] [stdout] 402 |                     Some(Token::Char(s)) => todo!(),
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let start = self.start;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decl`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let decl = self.parse_decl().unwrap();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let start = self.start;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let end = loop {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let end = loop {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let name = self.expect_ident(&Some(Token::LeftBracket));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fields`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let fields = self.type_body(false);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_struct`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:235:39
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn struct_or_union(&mut self, is_struct: bool) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling w_compiler v0.0.0 (/opt/rustwide/workdir/compiler/w_compiler)
[INFO] [stdout] warning: unused variable: `paren_end`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let paren_end = match self.tk {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exported`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:256:32
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exported`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:256:48
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> compiler/w_compiler/src/types/mod.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn coerce_inner(self, module: &mut S, to: Type) -> Result<Value<S>, Value<S>> {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:233:31
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn postfixatom(&mut self, mut lhs: Value<S>) -> Value<S> {
[INFO] [stdout]     |                               ----^^^
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_temp_local` is never used
[INFO] [stdout]   --> compiler/w_compiler/src/util/locals.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn get_temp_local(&mut self, t: Type) -> (String, usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_temp_local` is never used
[INFO] [stdout]   --> compiler/w_compiler/src/util/locals.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn free_temp_local<S: Serializer>(&mut self, t: Type, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Struct`, `Union` and `Global` are never constructed
[INFO] [stdout]  --> compiler/w_compiler/src/util/registry.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Item<'ast> {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 6 |     Enum(HashMap<&'ast str, i64>),
[INFO] [stdout] 7 |     Struct(HashMap<&'ast str, (Type, i32)>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     Union(HashMap<&'ast str, Type>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     Global(&'ast str, Type),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Registry::<'ast>::push` that must be used
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             self.registry.push(name, Item::Enum(fields));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `SymbolStack::<'ast>::push` that must be used
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |             self.symbols.push(param.ident, Binding::Type(param.typ));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 44 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let end = 'm: loop {
[INFO] [stdout]    |                   ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `panic_block`
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:34:26
[INFO] [stdout]    |
[INFO] [stdout] 34 |             macro_rules! panic_block {
[INFO] [stdout]    |                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `panic`
[INFO] [stdout]  --> compiler/w_compiler/src/types/typ.rs:1:25
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{fmt::Display, panic};
[INFO] [stdout]   |                         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeapType`
[INFO] [stdout]  --> compiler/w_compiler/src/types/typ.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 |     itemref::{HeapType, ItemRef, StackType},
[INFO] [stdout]   |               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_struct`
[INFO] [stdout]    --> compiler/w_compiler/src/lib.rs:355:25
[INFO] [stdout]     |
[INFO] [stdout] 355 |                     let is_struct = ch == &Token::Struct;
[INFO] [stdout]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]    --> compiler/w_compiler/src/lib.rs:357:25
[INFO] [stdout]     |
[INFO] [stdout] 357 |                     let body = self.type_body(true);
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `src_ref`
[INFO] [stdout]   --> compiler/w_compiler/src/handler.rs:54:22
[INFO] [stdout]    |
[INFO] [stdout] 54 |     fn finish(&self, src_ref: &'ast Self::SourceRef) {
[INFO] [stdout]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ref`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]   --> compiler/w_compiler/src/primaryatom.rs:87:13
[INFO] [stdout]    |
[INFO] [stdout] 87 |         let ret = match self.tk {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]   --> compiler/w_compiler/src/primaryatom.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |         let label = match self.tk {
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cond`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:114:13
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let cond = match self.tk {
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cond`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:156:13
[INFO] [stdout]     |
[INFO] [stdout] 156 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:159:13
[INFO] [stdout]     |
[INFO] [stdout] 159 |         let a = self.primaryatom(None); // TODO: contextual type
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `u`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:155:24
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stdout]     |                        ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contextual_type`
[INFO] [stdout]    --> compiler/w_compiler/src/primaryatom.rs:155:33
[INFO] [stdout]     |
[INFO] [stdout] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contextual_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> compiler/w_compiler/src/simpleatom.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let end = 'm: loop {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binding`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:141:13
[INFO] [stdout]     |
[INFO] [stdout] 141 |         let binding = match self.tk {
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `atom`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:258:25
[INFO] [stdout]     |
[INFO] [stdout] 258 |                     let atom = self.atom(Some(U32));
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_atom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:298:37
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stdout]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:298:51
[INFO] [stdout]     |
[INFO] [stdout] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stdout]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:371:21
[INFO] [stdout]     |
[INFO] [stdout] 371 |                 let t = self.parse_type().unwrap(); // TODO
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:401:40
[INFO] [stdout]     |
[INFO] [stdout] 401 |                     Some(Token::String(s)) => todo!(),
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:402:38
[INFO] [stdout]     |
[INFO] [stdout] 402 |                     Some(Token::Char(s)) => todo!(),
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let start = self.start;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decl`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let decl = self.parse_decl().unwrap();
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_decl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 |         let start = self.start;
[INFO] [stdout]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]   --> compiler/w_compiler/src/toplevel.rs:64:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let end = loop {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:172:13
[INFO] [stdout]     |
[INFO] [stdout] 172 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `end`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:194:17
[INFO] [stdout]     |
[INFO] [stdout] 194 |             let end = loop {
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:240:13
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let name = self.expect_ident(&Some(Token::LeftBracket));
[INFO] [stdout]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fields`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:241:13
[INFO] [stdout]     |
[INFO] [stdout] 241 |         let fields = self.type_body(false);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `is_struct`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:235:39
[INFO] [stdout]     |
[INFO] [stdout] 235 |     pub fn struct_or_union(&mut self, is_struct: bool) {
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `start`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:259:13
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let start = self.start;
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `paren_end`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:265:13
[INFO] [stdout]     |
[INFO] [stdout] 265 |         let paren_end = match self.tk {
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `exported`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:256:32
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stdout]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exported`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `static_`
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:256:48
[INFO] [stdout]     |
[INFO] [stdout] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stdout]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> compiler/w_compiler/src/types/mod.rs:18:27
[INFO] [stdout]    |
[INFO] [stdout] 18 |     fn coerce_inner(self, module: &mut S, to: Type) -> Result<Value<S>, Value<S>> {
[INFO] [stdout]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> compiler/w_compiler/src/simpleatom.rs:233:31
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn postfixatom(&mut self, mut lhs: Value<S>) -> Value<S> {
[INFO] [stdout]     |                               ----^^^
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `get_temp_local` is never used
[INFO] [stdout]   --> compiler/w_compiler/src/util/locals.rs:30:12
[INFO] [stdout]    |
[INFO] [stdout] 30 |     pub fn get_temp_local(&mut self, t: Type) -> (String, usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `free_temp_local` is never used
[INFO] [stdout]   --> compiler/w_compiler/src/util/locals.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn free_temp_local<S: Serializer>(&mut self, t: Type, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Struct`, `Union` and `Global` are never constructed
[INFO] [stdout]  --> compiler/w_compiler/src/util/registry.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum Item<'ast> {
[INFO] [stdout]   |          ---- variants in this enum
[INFO] [stdout] 6 |     Enum(HashMap<&'ast str, i64>),
[INFO] [stdout] 7 |     Struct(HashMap<&'ast str, (Type, i32)>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 8 |     Union(HashMap<&'ast str, Type>),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 9 |     Global(&'ast str, Type),
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Registry::<'ast>::push` that must be used
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:179:13
[INFO] [stdout]     |
[INFO] [stdout] 179 |             self.registry.push(name, Item::Enum(fields));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `SymbolStack::<'ast>::push` that must be used
[INFO] [stdout]    --> compiler/w_compiler/src/toplevel.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |             self.symbols.push(param.ident, Binding::Type(param.typ));
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 44 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling w_session v0.0.0 (/opt/rustwide/workdir/compiler/w_session)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.41s
[INFO] running `Command { std: "docker" "inspect" "636f43140893e199676818341ab39b176118931e94a0a95f3bd4d1554544a96e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "636f43140893e199676818341ab39b176118931e94a0a95f3bd4d1554544a96e", kill_on_drop: false }`
[INFO] [stdout] 636f43140893e199676818341ab39b176118931e94a0a95f3bd4d1554544a96e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 42e950758a9a7a2e8d44ff267fad3865c7ace123b92a903157ae17970f7ff8b9
[INFO] running `Command { std: "docker" "start" "-a" "42e950758a9a7a2e8d44ff267fad3865c7ace123b92a903157ae17970f7ff8b9", kill_on_drop: false }`
[INFO] [stderr] warning: unused label
[INFO] [stderr]   --> compiler/w_compiler/src/simpleatom.rs:33:19
[INFO] [stderr]    |
[INFO] [stderr] 33 |         let end = 'm: loop {
[INFO] [stderr]    |                   ^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused macro definition: `panic_block`
[INFO] [stderr]   --> compiler/w_compiler/src/simpleatom.rs:34:26
[INFO] [stderr]    |
[INFO] [stderr] 34 |             macro_rules! panic_block {
[INFO] [stderr]    |                          ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_macros)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `panic`
[INFO] [stderr]  --> compiler/w_compiler/src/types/typ.rs:1:25
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::{fmt::Display, panic};
[INFO] [stderr]   |                         ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `HeapType`
[INFO] [stderr]  --> compiler/w_compiler/src/types/typ.rs:6:15
[INFO] [stderr]   |
[INFO] [stderr] 6 |     itemref::{HeapType, ItemRef, StackType},
[INFO] [stderr]   |               ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_struct`
[INFO] [stderr]    --> compiler/w_compiler/src/lib.rs:355:25
[INFO] [stderr]     |
[INFO] [stderr] 355 |                     let is_struct = ch == &Token::Struct;
[INFO] [stderr]     |                         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `body`
[INFO] [stderr]    --> compiler/w_compiler/src/lib.rs:357:25
[INFO] [stderr]     |
[INFO] [stderr] 357 |                     let body = self.type_body(true);
[INFO] [stderr]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `src_ref`
[INFO] [stderr]   --> compiler/w_compiler/src/handler.rs:54:22
[INFO] [stderr]    |
[INFO] [stderr] 54 |     fn finish(&self, src_ref: &'ast Self::SourceRef) {
[INFO] [stderr]    |                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_ref`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ret`
[INFO] [stderr]   --> compiler/w_compiler/src/primaryatom.rs:87:13
[INFO] [stderr]    |
[INFO] [stderr] 87 |         let ret = match self.tk {
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `label`
[INFO] [stderr]   --> compiler/w_compiler/src/primaryatom.rs:92:13
[INFO] [stderr]    |
[INFO] [stderr] 92 |         let label = match self.tk {
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cond`
[INFO] [stderr]    --> compiler/w_compiler/src/primaryatom.rs:114:13
[INFO] [stderr]     |
[INFO] [stderr] 114 |         let cond = match self.tk {
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cond`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]    --> compiler/w_compiler/src/primaryatom.rs:156:13
[INFO] [stderr]     |
[INFO] [stderr] 156 |         let start = self.start;
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> compiler/w_compiler/src/primaryatom.rs:159:13
[INFO] [stderr]     |
[INFO] [stderr] 159 |         let a = self.primaryatom(None); // TODO: contextual type
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `u`
[INFO] [stderr]    --> compiler/w_compiler/src/primaryatom.rs:155:24
[INFO] [stderr]     |
[INFO] [stderr] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stderr]     |                        ^ help: if this is intentional, prefix it with an underscore: `_u`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `contextual_type`
[INFO] [stderr]    --> compiler/w_compiler/src/primaryatom.rs:155:33
[INFO] [stderr]     |
[INFO] [stderr] 155 |     fn unop(&mut self, u: UnOp, contextual_type: Option<Type>) -> Value<S> {
[INFO] [stderr]     |                                 ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contextual_type`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]   --> compiler/w_compiler/src/simpleatom.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |         let end = 'm: loop {
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:137:13
[INFO] [stderr]     |
[INFO] [stderr] 137 |         let start = self.start;
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `binding`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:141:13
[INFO] [stderr]     |
[INFO] [stderr] 141 |         let binding = match self.tk {
[INFO] [stderr]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_binding`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `atom`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:258:25
[INFO] [stderr]     |
[INFO] [stderr] 258 |                     let atom = self.atom(Some(U32));
[INFO] [stderr]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_atom`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:298:37
[INFO] [stderr]     |
[INFO] [stderr] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stderr]     |                                     ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ret`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:298:51
[INFO] [stderr]     |
[INFO] [stderr] 298 |                     if let Item::Fn(name, params, ret) = item {
[INFO] [stderr]     |                                                   ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `t`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:371:21
[INFO] [stderr]     |
[INFO] [stderr] 371 |                 let t = self.parse_type().unwrap(); // TODO
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_t`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:401:40
[INFO] [stderr]     |
[INFO] [stderr] 401 |                     Some(Token::String(s)) => todo!(),
[INFO] [stderr]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `s`
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:402:38
[INFO] [stderr]     |
[INFO] [stderr] 402 |                     Some(Token::Char(s)) => todo!(),
[INFO] [stderr]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]   --> compiler/w_compiler/src/toplevel.rs:36:13
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let start = self.start;
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `decl`
[INFO] [stderr]   --> compiler/w_compiler/src/toplevel.rs:44:13
[INFO] [stderr]    |
[INFO] [stderr] 44 |         let decl = self.parse_decl().unwrap();
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_decl`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]   --> compiler/w_compiler/src/toplevel.rs:60:13
[INFO] [stderr]    |
[INFO] [stderr] 60 |         let start = self.start;
[INFO] [stderr]    |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]   --> compiler/w_compiler/src/toplevel.rs:64:13
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let end = loop {
[INFO] [stderr]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:172:13
[INFO] [stderr]     |
[INFO] [stderr] 172 |         let start = self.start;
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `end`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:194:17
[INFO] [stderr]     |
[INFO] [stderr] 194 |             let end = loop {
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:236:13
[INFO] [stderr]     |
[INFO] [stderr] 236 |         let start = self.start;
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `name`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:240:13
[INFO] [stderr]     |
[INFO] [stderr] 240 |         let name = self.expect_ident(&Some(Token::LeftBracket));
[INFO] [stderr]     |             ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `fields`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:241:13
[INFO] [stderr]     |
[INFO] [stderr] 241 |         let fields = self.type_body(false);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `is_struct`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:235:39
[INFO] [stderr]     |
[INFO] [stderr] 235 |     pub fn struct_or_union(&mut self, is_struct: bool) {
[INFO] [stderr]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_struct`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `start`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:259:13
[INFO] [stderr]     |
[INFO] [stderr] 259 |         let start = self.start;
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `paren_end`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:265:13
[INFO] [stderr]     |
[INFO] [stderr] 265 |         let paren_end = match self.tk {
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_paren_end`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `exported`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:256:32
[INFO] [stderr]     |
[INFO] [stderr] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stderr]     |                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exported`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `static_`
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:256:48
[INFO] [stderr]     |
[INFO] [stderr] 256 |     pub fn function(&mut self, exported: bool, static_: bool) {
[INFO] [stderr]     |                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_static_`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `module`
[INFO] [stderr]   --> compiler/w_compiler/src/types/mod.rs:18:27
[INFO] [stderr]    |
[INFO] [stderr] 18 |     fn coerce_inner(self, module: &mut S, to: Type) -> Result<Value<S>, Value<S>> {
[INFO] [stderr]    |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> compiler/w_compiler/src/simpleatom.rs:233:31
[INFO] [stderr]     |
[INFO] [stderr] 233 |     fn postfixatom(&mut self, mut lhs: Value<S>) -> Value<S> {
[INFO] [stderr]     |                               ----^^^
[INFO] [stderr]     |                               |
[INFO] [stderr]     |                               help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `get_temp_local` is never used
[INFO] [stderr]   --> compiler/w_compiler/src/util/locals.rs:30:12
[INFO] [stderr]    |
[INFO] [stderr] 30 |     pub fn get_temp_local(&mut self, t: Type) -> (String, usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `free_temp_local` is never used
[INFO] [stderr]   --> compiler/w_compiler/src/util/locals.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 |     pub fn free_temp_local<S: Serializer>(&mut self, t: Type, index: usize) {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Struct`, `Union` and `Global` are never constructed
[INFO] [stderr]  --> compiler/w_compiler/src/util/registry.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub enum Item<'ast> {
[INFO] [stderr]   |          ---- variants in this enum
[INFO] [stderr] 6 |     Enum(HashMap<&'ast str, i64>),
[INFO] [stderr] 7 |     Struct(HashMap<&'ast str, (Type, i32)>),
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 8 |     Union(HashMap<&'ast str, Type>),
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 9 |     Global(&'ast str, Type),
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `Registry::<'ast>::push` that must be used
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:179:13
[INFO] [stderr]     |
[INFO] [stderr] 179 |             self.registry.push(name, Item::Enum(fields));
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `SymbolStack::<'ast>::push` that must be used
[INFO] [stderr]    --> compiler/w_compiler/src/toplevel.rs:327:13
[INFO] [stderr]     |
[INFO] [stderr] 327 |             self.symbols.push(param.ident, Binding::Type(param.typ));
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `w_compiler` (lib) generated 44 warnings
[INFO] [stderr] warning: `w_compiler` (lib test) generated 44 warnings (44 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.56s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dec2flt-00b04cefacba4b37)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/w_codegen-0d2753101711b965)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/w_compiler-2e07cfb773de8ebf)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/w_errors-847d0f0250546dfb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/w_lexer-bdda1880e155c5bb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/w_session-250f9db7d65e16a3)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/main.rs (/opt/rustwide/target/debug/deps/main-85f167e523e36fcb)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test recursive_error ... ok
[INFO] [stdout] test include_already_parsed ... ok
[INFO] [stdout] test error_tests ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/w_utils-8272b2acf198df0a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "42e950758a9a7a2e8d44ff267fad3865c7ace123b92a903157ae17970f7ff8b9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "42e950758a9a7a2e8d44ff267fad3865c7ace123b92a903157ae17970f7ff8b9", kill_on_drop: false }`
[INFO] [stdout] 42e950758a9a7a2e8d44ff267fad3865c7ace123b92a903157ae17970f7ff8b9
