[INFO] cloning repository https://github.com/vgatherps/matjit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vgatherps/matjit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgatherps%2Fmatjit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgatherps%2Fmatjit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12c061cc0edbb72d6b6b393e97dac7c248987bb1 [INFO] building vgatherps/matjit against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvgatherps%2Fmatjit" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vgatherps/matjit on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vgatherps/matjit [INFO] finished tweaking git repo https://github.com/vgatherps/matjit [INFO] tweaked toml for git repo https://github.com/vgatherps/matjit written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vgatherps/matjit 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded iced-x86 v1.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00689cda463bebe94b21a4b57774cff5084215cae8b7e8d27eeea8dda15e7649 [INFO] running `Command { std: "docker" "start" "-a" "00689cda463bebe94b21a4b57774cff5084215cae8b7e8d27eeea8dda15e7649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00689cda463bebe94b21a4b57774cff5084215cae8b7e8d27eeea8dda15e7649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00689cda463bebe94b21a4b57774cff5084215cae8b7e8d27eeea8dda15e7649", kill_on_drop: false }` [INFO] [stdout] 00689cda463bebe94b21a4b57774cff5084215cae8b7e8d27eeea8dda15e7649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dafba770a4bb309406d3d2395dc780f6ecdf0d41bb534bdc561333ac67afb31 [INFO] running `Command { std: "docker" "start" "-a" "1dafba770a4bb309406d3d2395dc780f6ecdf0d41bb534bdc561333ac67afb31", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling iced-x86 v1.19.0 [INFO] [stderr] Compiling matvec_jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/row_major.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/row_major.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | register_alloc::{self, RegisterAlloc}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/row_major.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | todo!("Haven't implemented final row shuffling"); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | instructions [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_vector_register` [INFO] [stdout] --> src/row_major.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | out_vector_register: ScalarRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_vector_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix_rows` [INFO] [stdout] --> src/row_major.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn row_major_instruction_list(matrix_rows: usize, matrix_cols: usize) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix_cols` [INFO] [stdout] --> src/row_major.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn row_major_instruction_list(matrix_rows: usize, matrix_cols: usize) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Instruction` is never used [INFO] [stdout] --> src/instructions.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Instruction: Debug {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VectorKind` is never used [INFO] [stdout] --> src/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum VectorKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorKind` 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: method `f64_width` is never used [INFO] [stdout] --> src/instructions.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl VectorKind { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | pub fn f64_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorRegister` is never constructed [INFO] [stdout] --> src/instructions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct VectorRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorRegister` 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: associated items `new` and `index` are never used [INFO] [stdout] --> src/instructions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VectorRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(index: u8, kind: VectorKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn index(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalarRegister` is never constructed [INFO] [stdout] --> src/instructions.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ScalarRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarRegister` 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: associated function `new` is never used [INFO] [stdout] --> src/instructions.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl ScalarRegister { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(index: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleAddress` is never constructed [INFO] [stdout] --> src/instructions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SimpleAddress { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAddress` 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: associated function `for_type` is never used [INFO] [stdout] --> src/instructions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl SimpleAddress { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 61 | pub fn for_type(base_register: ScalarRegister, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64VecLoad` is never constructed [INFO] [stdout] --> src/instructions.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct F64VecLoad { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `F64VecLoad` 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: struct `MaskedF64VecLoad` is never constructed [INFO] [stdout] --> src/instructions.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MaskedF64VecLoad { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaskedF64VecLoad` 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: struct `ZeroVec` is never constructed [INFO] [stdout] --> src/instructions.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ZeroVec(pub VectorRegister); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroVec` 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: enum `FmaDest` is never used [INFO] [stdout] --> src/instructions.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum FmaDest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmaDest` 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: struct `FMAdd` is never constructed [INFO] [stdout] --> src/instructions.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FMAdd { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMAdd` 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: struct `FMMemAdd` is never constructed [INFO] [stdout] --> src/instructions.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct FMMemAdd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMMemAdd` 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: struct `RegisterAlloc` is never constructed [INFO] [stdout] --> src/register_alloc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RegisterAlloc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterAlloc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_free`, `free_count`, `acquire`, and `release` are never used [INFO] [stdout] --> src/register_alloc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RegisterAlloc { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 7 | pub fn new(registers: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_free(&self, reg: u8) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn free_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn acquire(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn release(&mut self, reg: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_major_offset` is never used [INFO] [stdout] --> src/row_major.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn row_major_offset(rows: usize, cols: usize, row_idx: usize, col_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_major_instruction_list_from` is never used [INFO] [stdout] --> src/row_major.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn row_major_instruction_list_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.14s [INFO] running `Command { std: "docker" "inspect" "1dafba770a4bb309406d3d2395dc780f6ecdf0d41bb534bdc561333ac67afb31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dafba770a4bb309406d3d2395dc780f6ecdf0d41bb534bdc561333ac67afb31", kill_on_drop: false }` [INFO] [stdout] 1dafba770a4bb309406d3d2395dc780f6ecdf0d41bb534bdc561333ac67afb31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aaf2643bcad88875c4471ef25e05dc66073010575eead8278f3d7e8165973ba [INFO] running `Command { std: "docker" "start" "-a" "7aaf2643bcad88875c4471ef25e05dc66073010575eead8278f3d7e8165973ba", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/row_major.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/row_major.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | register_alloc::{self, RegisterAlloc}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/row_major.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | todo!("Haven't implemented final row shuffling"); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | instructions [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_vector_register` [INFO] [stdout] --> src/row_major.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | out_vector_register: ScalarRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_vector_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix_rows` [INFO] [stdout] --> src/row_major.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn row_major_instruction_list(matrix_rows: usize, matrix_cols: usize) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix_cols` [INFO] [stdout] --> src/row_major.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn row_major_instruction_list(matrix_rows: usize, matrix_cols: usize) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Instruction` is never used [INFO] [stdout] --> src/instructions.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Instruction: Debug {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VectorKind` is never used [INFO] [stdout] --> src/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum VectorKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorKind` 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: method `f64_width` is never used [INFO] [stdout] --> src/instructions.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl VectorKind { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | pub fn f64_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorRegister` is never constructed [INFO] [stdout] --> src/instructions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct VectorRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorRegister` 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: associated items `new` and `index` are never used [INFO] [stdout] --> src/instructions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VectorRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(index: u8, kind: VectorKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn index(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalarRegister` is never constructed [INFO] [stdout] --> src/instructions.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ScalarRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarRegister` 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: associated function `new` is never used [INFO] [stdout] --> src/instructions.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl ScalarRegister { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(index: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleAddress` is never constructed [INFO] [stdout] --> src/instructions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SimpleAddress { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAddress` 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: associated function `for_type` is never used [INFO] [stdout] --> src/instructions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl SimpleAddress { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 61 | pub fn for_type(base_register: ScalarRegister, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64VecLoad` is never constructed [INFO] [stdout] --> src/instructions.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct F64VecLoad { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `F64VecLoad` 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: struct `MaskedF64VecLoad` is never constructed [INFO] [stdout] --> src/instructions.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MaskedF64VecLoad { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaskedF64VecLoad` 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: struct `ZeroVec` is never constructed [INFO] [stdout] --> src/instructions.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ZeroVec(pub VectorRegister); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroVec` 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: enum `FmaDest` is never used [INFO] [stdout] --> src/instructions.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum FmaDest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmaDest` 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: struct `FMAdd` is never constructed [INFO] [stdout] --> src/instructions.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FMAdd { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMAdd` 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: struct `FMMemAdd` is never constructed [INFO] [stdout] --> src/instructions.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct FMMemAdd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMMemAdd` 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: struct `RegisterAlloc` is never constructed [INFO] [stdout] --> src/register_alloc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RegisterAlloc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterAlloc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling matvec_jit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new`, `is_free`, `free_count`, `acquire`, and `release` are never used [INFO] [stdout] --> src/register_alloc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RegisterAlloc { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 7 | pub fn new(registers: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_free(&self, reg: u8) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn free_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn acquire(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn release(&mut self, reg: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_major_offset` is never used [INFO] [stdout] --> src/row_major.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn row_major_offset(rows: usize, cols: usize, row_idx: usize, col_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_major_instruction_list_from` is never used [INFO] [stdout] --> src/row_major.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn row_major_instruction_list_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::Layout` [INFO] [stdout] --> src/row_major.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/row_major.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | register_alloc::{self, RegisterAlloc}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/row_major.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 118 | todo!("Haven't implemented final row shuffling"); [INFO] [stdout] | ------------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 119 | [INFO] [stdout] 120 | instructions [INFO] [stdout] | ^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_vector_register` [INFO] [stdout] --> src/row_major.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | out_vector_register: ScalarRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_vector_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix_rows` [INFO] [stdout] --> src/row_major.rs:123:35 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn row_major_instruction_list(matrix_rows: usize, matrix_cols: usize) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix_cols` [INFO] [stdout] --> src/row_major.rs:123:55 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn row_major_instruction_list(matrix_rows: usize, matrix_cols: usize) {} [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Instruction` is never used [INFO] [stdout] --> src/instructions.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Instruction: Debug {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VectorKind` is never used [INFO] [stdout] --> src/instructions.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum VectorKind { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorKind` 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: method `f64_width` is never used [INFO] [stdout] --> src/instructions.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl VectorKind { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 14 | pub fn f64_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VectorRegister` is never constructed [INFO] [stdout] --> src/instructions.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct VectorRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VectorRegister` 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: associated items `new` and `index` are never used [INFO] [stdout] --> src/instructions.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VectorRegister { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(index: u8, kind: VectorKind) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn index(&self) -> u8 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScalarRegister` is never constructed [INFO] [stdout] --> src/instructions.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ScalarRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScalarRegister` 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: associated function `new` is never used [INFO] [stdout] --> src/instructions.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl ScalarRegister { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 47 | pub fn new(index: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimpleAddress` is never constructed [INFO] [stdout] --> src/instructions.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct SimpleAddress { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAddress` 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: associated function `for_type` is never used [INFO] [stdout] --> src/instructions.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl SimpleAddress { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 61 | pub fn for_type(base_register: ScalarRegister, offset: i32) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `F64VecLoad` is never constructed [INFO] [stdout] --> src/instructions.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct F64VecLoad { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `F64VecLoad` 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: struct `MaskedF64VecLoad` is never constructed [INFO] [stdout] --> src/instructions.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct MaskedF64VecLoad { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaskedF64VecLoad` 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: struct `ZeroVec` is never constructed [INFO] [stdout] --> src/instructions.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct ZeroVec(pub VectorRegister); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZeroVec` 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: enum `FmaDest` is never used [INFO] [stdout] --> src/instructions.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum FmaDest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FmaDest` 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: struct `FMAdd` is never constructed [INFO] [stdout] --> src/instructions.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct FMAdd { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMAdd` 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: struct `FMMemAdd` is never constructed [INFO] [stdout] --> src/instructions.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct FMMemAdd { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FMMemAdd` 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: struct `RegisterAlloc` is never constructed [INFO] [stdout] --> src/register_alloc.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct RegisterAlloc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RegisterAlloc` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `is_free`, `free_count`, `acquire`, and `release` are never used [INFO] [stdout] --> src/register_alloc.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl RegisterAlloc { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 7 | pub fn new(registers: u8) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn is_free(&self, reg: u8) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn free_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn acquire(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn release(&mut self, reg: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_major_offset` is never used [INFO] [stdout] --> src/row_major.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn row_major_offset(rows: usize, cols: usize, row_idx: usize, col_idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `row_major_instruction_list_from` is never used [INFO] [stdout] --> src/row_major.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn row_major_instruction_list_from( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] running `Command { std: "docker" "inspect" "7aaf2643bcad88875c4471ef25e05dc66073010575eead8278f3d7e8165973ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aaf2643bcad88875c4471ef25e05dc66073010575eead8278f3d7e8165973ba", kill_on_drop: false }` [INFO] [stdout] 7aaf2643bcad88875c4471ef25e05dc66073010575eead8278f3d7e8165973ba