[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#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakarahdev%2Fllvm-builder-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akarahdev/llvm-builder-rs on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc2/source/Cargo.toml [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" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a52db4af0c4fddf6832024358ffbeffe0103bd7a858864bab284ce68fdee54b7 [INFO] running `Command { std: "docker" "start" "-a" "a52db4af0c4fddf6832024358ffbeffe0103bd7a858864bab284ce68fdee54b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a52db4af0c4fddf6832024358ffbeffe0103bd7a858864bab284ce68fdee54b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a52db4af0c4fddf6832024358ffbeffe0103bd7a858864bab284ce68fdee54b7", kill_on_drop: false }` [INFO] [stdout] a52db4af0c4fddf6832024358ffbeffe0103bd7a858864bab284ce68fdee54b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d8bc7d296d4276149e0a940a47b19b24b53481caed136590f4316f6fd8739e5 [INFO] running `Command { std: "docker" "start" "-a" "3d8bc7d296d4276149e0a940a47b19b24b53481caed136590f4316f6fd8739e5", 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)]` 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: `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)]` 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 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)]` 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: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)]` 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: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: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: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: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: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: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: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: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: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: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: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: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: 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, [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)]` 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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), [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | [INFO] [stdout] 14 | linkage: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 15 | calling_convention: Option, [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)]` 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, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicBlock` has derived impls for the traits `Clone` and `Debug`, 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 `Clone` and `Debug`, 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), [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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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 `Clone` and `Debug`, 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "3d8bc7d296d4276149e0a940a47b19b24b53481caed136590f4316f6fd8739e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d8bc7d296d4276149e0a940a47b19b24b53481caed136590f4316f6fd8739e5", kill_on_drop: false }` [INFO] [stdout] 3d8bc7d296d4276149e0a940a47b19b24b53481caed136590f4316f6fd8739e5