[INFO] cloning repository https://github.com/ggvm-org/ggvm
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ggvm-org/ggvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Fggvm", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Fggvm'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee3b1434784892f93f47a8f2cf51f9069dc4868f
[INFO] checking ggvm-org/ggvm against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fggvm-org%2Fggvm" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ggvm-org/ggvm
[INFO] finished tweaking git repo https://github.com/ggvm-org/ggvm
[INFO] tweaked toml for git repo https://github.com/ggvm-org/ggvm written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ggvm-org/ggvm on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ggvm-org/ggvm 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded plan9_asm v0.4.3
[INFO] [stderr]   Downloaded serde_yaml v0.8.23
[INFO] [stderr]   Downloaded similar v2.1.0
[INFO] [stderr]   Downloaded nom v7.1.0
[INFO] [stderr]   Downloaded insta v1.13.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6ebc2cd5246c6e8adcbb5f000f2edc654c355b2ee346ad42e4df4103113d876f
[INFO] running `Command { std: "docker" "start" "-a" "6ebc2cd5246c6e8adcbb5f000f2edc654c355b2ee346ad42e4df4103113d876f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ebc2cd5246c6e8adcbb5f000f2edc654c355b2ee346ad42e4df4103113d876f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ebc2cd5246c6e8adcbb5f000f2edc654c355b2ee346ad42e4df4103113d876f", kill_on_drop: false }`
[INFO] [stdout] 6ebc2cd5246c6e8adcbb5f000f2edc654c355b2ee346ad42e4df4103113d876f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e354de9fcbfd001ddb4acdc760ecc1331eb943508cfda7163fd982fb456bd946
[INFO] running `Command { std: "docker" "start" "-a" "e354de9fcbfd001ddb4acdc760ecc1331eb943508cfda7163fd982fb456bd946", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking linked-hash-map v0.5.4
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking plan9_asm v0.4.3
[INFO] [stderr]     Checking similar v2.1.0
[INFO] [stderr]     Checking go_ast v0.1.0 (/opt/rustwide/workdir/go_ast)
[INFO] [stdout] warning: associated functions `new` and `new_main` are never used
[INFO] [stdout]   --> go_ast/src/lib.rs:7:8
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl Package {
[INFO] [stdout]    | ------------ associated functions in this implementation
[INFO] [stdout]  7 |     fn new(s: String) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 11 |     fn new_main() -> Self {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `math_rand` are never used
[INFO] [stdout]   --> go_ast/src/lib.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Import {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 24 |     fn new(s: String) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn math_rand() -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Func` is never constructed
[INFO] [stdout]   --> go_ast/src/lib.rs:40:19
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub(crate) struct Func {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> go_ast/src/lib.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl Func {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn new(name: String, ret_type: Type, wrap: &'static str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> go_ast/src/lib.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Arg(String, Type);
[INFO] [stdout]    |            --- ^^^^^^  ^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking console v0.15.0
[INFO] [stderr]     Checking compiler v0.1.0 (/opt/rustwide/workdir/compiler)
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> compiler/src/link/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let offset = func.stmts.iter().fold(0, |mut offset, stmt| {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |         &Statement::Local(op, b) => h.extend(analyze_operand(&op)),
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typ`
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |         &Instruction::Ret(typ, op) => h.extend(analyze_operand(&op)),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_typ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let package = "main".to_string();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let name = func.name;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Statement::Local(op, inst) => unimplemented!(),
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inst`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Statement::Local(op, inst) => unimplemented!(),
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_inst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typ`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Instruction::Add(typ, a, b) => unimplemented!(),
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_typ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Instruction::Add(typ, a, b) => unimplemented!(),
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Instruction::Add(typ, a, b) => unimplemented!(),
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typ`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Instruction::Ret(typ, a) => directives!(RET;),
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_typ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:40:31
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Instruction::Ret(typ, a) => directives!(RET;),
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `go_asm`
[INFO] [stdout]  --> compiler/src/link/mod.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) {
[INFO] [stdout]   |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_go_asm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `args` and `ret_type` are never read
[INFO] [stdout]   --> compiler/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Func {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 24 |     name: String,
[INFO] [stdout] 25 |     args: Vec<Arg>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     ret_type: Typ,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> compiler/src/lib.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) struct Arg(String, Typ);
[INFO] [stdout]    |                   --- ^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Arg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub(crate) struct Arg(String, Typ);
[INFO] [stdout] 31 + pub(crate) struct Arg((), Typ);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stacksize` and `env` are never read
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct AnalyzeResult {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 34 |     pub(crate) stacksize: usize,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 35 |     // TODO: Add offset
[INFO] [stdout] 36 |     pub(crate) env: Environment,
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl AnalyzeResult {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 41 |     fn new(stacksize: usize, env: Environment, func: Func) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new_goroutine_prologue` and `new_goroutine_epilogue` are never used
[INFO] [stdout]   --> compiler/src/go_assembly/mod.rs:9:8
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl GoAssembly {
[INFO] [stdout]    | --------------- associated functions in this implementation
[INFO] [stdout]  9 |     fn new_goroutine_prologue() -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |     fn new_goroutine_epilogue() -> Self {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `link` is never used
[INFO] [stdout]  --> compiler/src/link/mod.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) {
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ggvm v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]     Checking serde_yaml v0.8.23
[INFO] [stderr]     Checking insta v1.13.0
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> compiler/src/link/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `math_rand` are never used
[INFO] [stdout]   --> go_ast/src/lib.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Import {
[INFO] [stdout]    | ----------- associated functions in this implementation
[INFO] [stdout] 24 |     fn new(s: String) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     fn math_rand() -> Self {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> go_ast/src/lib.rs:65:16
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct Arg(String, Type);
[INFO] [stdout]    |            --- ^^^^^^  ^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            fields in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `offset`
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let offset = func.stmts.iter().fold(0, |mut offset, stmt| {
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:79:31
[INFO] [stdout]    |
[INFO] [stdout] 79 |         &Statement::Local(op, b) => h.extend(analyze_operand(&op)),
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typ`
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:92:27
[INFO] [stdout]    |
[INFO] [stdout] 92 |         &Instruction::Ret(typ, op) => h.extend(analyze_operand(&op)),
[INFO] [stdout]    |                           ^^^ help: if this is intentional, prefix it with an underscore: `_typ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let package = "main".to_string();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let name = func.name;
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `op`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Statement::Local(op, inst) => unimplemented!(),
[INFO] [stdout]    |                          ^^ help: if this is intentional, prefix it with an underscore: `_op`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `inst`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:32:30
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Statement::Local(op, inst) => unimplemented!(),
[INFO] [stdout]    |                              ^^^^ help: if this is intentional, prefix it with an underscore: `_inst`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typ`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Instruction::Add(typ, a, b) => unimplemented!(),
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_typ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:39:31
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Instruction::Add(typ, a, b) => unimplemented!(),
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:39:34
[INFO] [stdout]    |
[INFO] [stdout] 39 |         Instruction::Add(typ, a, b) => unimplemented!(),
[INFO] [stdout]    |                                  ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `typ`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Instruction::Ret(typ, a) => directives!(RET;),
[INFO] [stdout]    |                          ^^^ help: if this is intentional, prefix it with an underscore: `_typ`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> compiler/src/codegen/mod.rs:40:31
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Instruction::Ret(typ, a) => directives!(RET;),
[INFO] [stdout]    |                               ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `go_asm`
[INFO] [stdout]  --> compiler/src/link/mod.rs:5:20
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) {
[INFO] [stdout]   |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_go_asm`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `args` and `ret_type` are never read
[INFO] [stdout]   --> compiler/src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Func {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 24 |     name: String,
[INFO] [stdout] 25 |     args: Vec<Arg>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     ret_type: Typ,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Func` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> compiler/src/lib.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) struct Arg(String, Typ);
[INFO] [stdout]    |                   --- ^^^^^^
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Arg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 31 - pub(crate) struct Arg(String, Typ);
[INFO] [stdout] 31 + pub(crate) struct Arg((), Typ);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stacksize` and `env` are never read
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:34:16
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct AnalyzeResult {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] 34 |     pub(crate) stacksize: usize,
[INFO] [stdout]    |                ^^^^^^^^^
[INFO] [stdout] 35 |     // TODO: Add offset
[INFO] [stdout] 36 |     pub(crate) env: Environment,
[INFO] [stdout]    |                ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AnalyzeResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> compiler/src/analyze/mod.rs:41:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | impl AnalyzeResult {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 41 |     fn new(stacksize: usize, env: Environment, func: Func) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `link` is never used
[INFO] [stdout]  --> compiler/src/link/mod.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub(super) fn link(go_asm: GoAssembly) {
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.91s
[INFO] running `Command { std: "docker" "inspect" "e354de9fcbfd001ddb4acdc760ecc1331eb943508cfda7163fd982fb456bd946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e354de9fcbfd001ddb4acdc760ecc1331eb943508cfda7163fd982fb456bd946", kill_on_drop: false }`
[INFO] [stdout] e354de9fcbfd001ddb4acdc760ecc1331eb943508cfda7163fd982fb456bd946
