[INFO] cloning repository https://github.com/akarahdev/llvm-builder-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akarahdev/llvm-builder-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarahdev%2Fllvm-builder-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarahdev%2Fllvm-builder-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4030b64b93b2a7277bf453091c5028a9e7e551d0
[INFO] checking akarahdev/llvm-builder-rs against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarahdev%2Fllvm-builder-rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/akarahdev/llvm-builder-rs
[INFO] finished tweaking git repo https://github.com/akarahdev/llvm-builder-rs
[INFO] tweaked toml for git repo https://github.com/akarahdev/llvm-builder-rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/akarahdev/llvm-builder-rs on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/akarahdev/llvm-builder-rs 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c8901f41c871da9ea9574082c73a9e0f54d639d23329aaed7b46b8ec5311688
[INFO] running `Command { std: "docker" "start" "-a" "5c8901f41c871da9ea9574082c73a9e0f54d639d23329aaed7b46b8ec5311688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c8901f41c871da9ea9574082c73a9e0f54d639d23329aaed7b46b8ec5311688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c8901f41c871da9ea9574082c73a9e0f54d639d23329aaed7b46b8ec5311688", kill_on_drop: false }`
[INFO] [stdout] 5c8901f41c871da9ea9574082c73a9e0f54d639d23329aaed7b46b8ec5311688
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7642d9089f2dc560e20a51188841011b87de399d388f4e55dfdc80d903ebebd
[INFO] running `Command { std: "docker" "start" "-a" "f7642d9089f2dc560e20a51188841011b87de399d388f4e55dfdc80d903ebebd", kill_on_drop: false }`
[INFO] [stderr]     Checking llvm-builder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[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 import: `Value`
[INFO] [stdout]  --> src/functions.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::values::{RegisterData, Type, Value};
[INFO] [stdout]   |                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blocks::BasicBlock`
[INFO] [stdout]  --> src/values.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::blocks::BasicBlock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/module.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/functions.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[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 import: `Value`
[INFO] [stdout]  --> src/functions.rs:5:41
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::values::{RegisterData, Type, Value};
[INFO] [stdout]   |                                         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::blocks::BasicBlock`
[INFO] [stdout]  --> src/values.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::blocks::BasicBlock;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashSet`
[INFO] [stdout]  --> src/module.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashSet;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BasicBlock`
[INFO] [stdout]  --> src/inst.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::blocks::{BasicBlock, Label};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ConstantData`
[INFO] [stdout]  --> src/inst.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::values::{ConstantData, RegisterData, Type, Value};
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BasicBlock`
[INFO] [stdout]  --> src/inst.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::blocks::{BasicBlock, Label};
[INFO] [stdout]   |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ConstantData`
[INFO] [stdout]  --> src/inst.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::values::{ConstantData, RegisterData, Type, Value};
[INFO] [stdout]   |                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:55:47
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Instruction::Add(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:57:48
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Instruction::FAdd(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:59:47
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Instruction::Sub(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Instruction::FSub(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:63:47
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Instruction::Mul(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:65:48
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Instruction::FMul(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:67:48
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Instruction::SDiv(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:69:48
[INFO] [stdout]    |
[INFO] [stdout] 69 |             Instruction::UDiv(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:71:48
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Instruction::FDiv(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:73:48
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Instruction::SRem(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:75:48
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Instruction::URem(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:77:48
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Instruction::FRem(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `parameters` and `calling_convention` are never read
[INFO] [stdout]   --> src/functions.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Function {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 11 |     parameters: Vec<(Type, RegisterData)>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     calling_convention: Option<CallingConvention>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are 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: struct `Module` is never constructed
[INFO] [stdout]  --> src/module.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Module {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/inst.rs:45:10
[INFO] [stdout]    |
[INFO] [stdout] 45 |     Load(RegisterData, Value),
[INFO] [stdout]    |     ---- ^^^^^^^^^^^^  ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 45 -     Load(RegisterData, Value),
[INFO] [stdout] 45 +     Load((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, and `2` are never read
[INFO] [stdout]   --> src/inst.rs:46:11
[INFO] [stdout]    |
[INFO] [stdout] 46 |     Store(Value, Type, Value),
[INFO] [stdout]    |     ----- ^^^^^  ^^^^  ^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 46 -     Store(Value, Type, Value),
[INFO] [stdout] 46 +     Store((), (), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/inst.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Instruction {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout]  7 |     Ret(Type, Value),
[INFO] [stdout]  8 |     RetVoid,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |
[INFO] [stdout] 10 |     Br(Value, Label, Label),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     Switch(Type, Value, Vec<SwitchBranch>),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     Unreachable,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     FNeg(RegisterData, Type, Value),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Add(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     FAdd(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     Sub(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     FSub(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     Mul(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     FMul(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     UDiv(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     SDiv(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     FDiv(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     URem(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     SRem(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     FRem(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 28 |
[INFO] [stdout] 29 |     Shl(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 30 |     LShr(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 31 |     AShr(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |
[INFO] [stdout] 33 |     And(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     Or(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 35 |     Xor(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |
[INFO] [stdout] 37 |     ExtractElement(RegisterData, Type, Value, Type, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     InsertElement(RegisterData, Type, Value, Type, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 39 |
[INFO] [stdout] 40 |     ExtractValue(RegisterData, Type, Value, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 41 |     InsertValue(RegisterData, Type, Value, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     AllocaMultiple(RegisterData, Type, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ty`, `condition`, and `label` are never read
[INFO] [stdout]   --> src/inst.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct SwitchBranch {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 85 |     ty: Type,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 86 |     condition: Value,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 87 |     label: Value
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SwitchBranch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `WrapAllowed`, `NoUnsignedWrap`, `NoSignedWrap`, and `NoSignedOrUnsignedWrap` are never constructed
[INFO] [stdout]   --> src/inst.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub enum ArithmeticFlags {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 92 |     WrapAllowed,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 93 |     NoUnsignedWrap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 94 |     NoSignedWrap,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 95 |     NoSignedOrUnsignedWrap
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArithmeticFlags` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:55:47
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Instruction::Add(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:57:48
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Instruction::FAdd(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:59:47
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Instruction::Sub(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:61:48
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Instruction::FSub(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:63:47
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Instruction::Mul(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:65:48
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Instruction::FMul(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:67:48
[INFO] [stdout]    |
[INFO] [stdout] 67 |             Instruction::SDiv(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:69:48
[INFO] [stdout]    |
[INFO] [stdout] 69 |             Instruction::UDiv(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:71:48
[INFO] [stdout]    |
[INFO] [stdout] 71 |             Instruction::FDiv(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:73:48
[INFO] [stdout]    |
[INFO] [stdout] 73 |             Instruction::SRem(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:75:48
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Instruction::URem(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rhs`
[INFO] [stdout]   --> src/inst.rs:77:48
[INFO] [stdout]    |
[INFO] [stdout] 77 |             Instruction::FRem(target, ty, lhs, rhs, flags) =>
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_rhs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Function` is never constructed
[INFO] [stdout]  --> src/functions.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Function {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_struct)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `return_type`, `parameters`, `blocks`, `linkage`, and `calling_convention` are never read
[INFO] [stdout]   --> src/functions.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub struct Function {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout]  9 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 10 |     return_type: Type,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 11 |     parameters: Vec<(Type, RegisterData)>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 12 |     blocks: Vec<BasicBlock>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 13 |
[INFO] [stdout] 14 |     linkage: Option<LinkageType>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 15 |     calling_convention: Option<CallingConvention>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Function` has derived impls for the traits `Debug` and `Clone`, but these are 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: struct `Module` is never constructed
[INFO] [stdout]  --> src/module.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | struct Module {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `instructions` are never read
[INFO] [stdout]  --> src/blocks.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct BasicBlock {
[INFO] [stdout]   |            ---------- fields in this struct
[INFO] [stdout] 6 |     pub name: Label,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 7 |     pub instructions: Vec<Instruction>,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `BasicBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/blocks.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct Label {
[INFO] [stdout]    |            ----- field in this struct
[INFO] [stdout] 32 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Label` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout]   --> src/inst.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  6 | pub enum Instruction {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout]  7 |     Ret(Type, Value),
[INFO] [stdout]    |     ^^^
[INFO] [stdout]  8 |     RetVoid,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]  9 |
[INFO] [stdout] 10 |     Br(Value, Label, Label),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 11 |     Switch(Type, Value, Vec<SwitchBranch>),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 12 |
[INFO] [stdout] 13 |     Unreachable,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 14 |
[INFO] [stdout] 15 |     FNeg(RegisterData, Type, Value),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 16 |     Add(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 17 |     FAdd(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 18 |     Sub(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 19 |     FSub(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     Mul(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 21 |     FMul(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 22 |     UDiv(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     SDiv(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     FDiv(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 25 |     URem(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     SRem(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     FRem(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 28 |
[INFO] [stdout] 29 |     Shl(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 30 |     LShr(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 31 |     AShr(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 32 |
[INFO] [stdout] 33 |     And(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 34 |     Or(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^
[INFO] [stdout] 35 |     Xor(RegisterData, Type, Value, Value, ArithmeticFlags),
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 36 |
[INFO] [stdout] 37 |     ExtractElement(RegisterData, Type, Value, Type, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     InsertElement(RegisterData, Type, Value, Type, Value),
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 39 |
[INFO] [stdout] 40 |     ExtractValue(RegisterData, Type, Value, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 41 |     InsertValue(RegisterData, Type, Value, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 42 |
[INFO] [stdout] 43 |     Alloca(RegisterData, Type),
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 44 |     AllocaMultiple(RegisterData, Type, i32),
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     Load(RegisterData, Value),
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 46 |     Store(Value, Type, Value),
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Instruction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `ty`, `condition`, and `label` are never read
[INFO] [stdout]   --> src/inst.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub struct SwitchBranch {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 85 |     ty: Type,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 86 |     condition: Value,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 87 |     label: Value
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SwitchBranch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `WrapAllowed`, `NoUnsignedWrap`, `NoSignedWrap`, and `NoSignedOrUnsignedWrap` are never constructed
[INFO] [stdout]   --> src/inst.rs:92:5
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub enum ArithmeticFlags {
[INFO] [stdout]    |          --------------- variants in this enum
[INFO] [stdout] 92 |     WrapAllowed,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 93 |     NoUnsignedWrap,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 94 |     NoSignedWrap,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 95 |     NoSignedOrUnsignedWrap
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArithmeticFlags` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ConvertIr` is never used
[INFO] [stdout]  --> src/convert.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait ConvertIr {
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `llvm-builder` (lib) due to 1 previous error; 26 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f7642d9089f2dc560e20a51188841011b87de399d388f4e55dfdc80d903ebebd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7642d9089f2dc560e20a51188841011b87de399d388f4e55dfdc80d903ebebd", kill_on_drop: false }`
[INFO] [stdout] f7642d9089f2dc560e20a51188841011b87de399d388f4e55dfdc80d903ebebd
