[INFO] cloning repository https://github.com/tiberiusferreira/gpu_compute
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tiberiusferreira/gpu_compute" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6af1d42fdfb78620814282e1807d6a6682c1f8d0
[INFO] testing tiberiusferreira/gpu_compute against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/tiberiusferreira/gpu_compute
[INFO] finished tweaking git repo https://github.com/tiberiusferreira/gpu_compute
[INFO] tweaked toml for git repo https://github.com/tiberiusferreira/gpu_compute written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tiberiusferreira/gpu_compute 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6370e3996776255af0e2e41af4648d1f1d49e6947ec6f96f095076dc91c5757
[INFO] running `Command { std: "docker" "start" "-a" "d6370e3996776255af0e2e41af4648d1f1d49e6947ec6f96f095076dc91c5757", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6370e3996776255af0e2e41af4648d1f1d49e6947ec6f96f095076dc91c5757", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6370e3996776255af0e2e41af4648d1f1d49e6947ec6f96f095076dc91c5757", kill_on_drop: false }`
[INFO] [stdout] d6370e3996776255af0e2e41af4648d1f1d49e6947ec6f96f095076dc91c5757
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 84b3a770fcb6f934938f940f06fa275f23600a36af1457f9130868b5bd8d8ded
[INFO] running `Command { std: "docker" "start" "-a" "84b3a770fcb6f934938f940f06fa275f23600a36af1457f9130868b5bd8d8ded", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling gfx-hal v0.6.0
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling atom v0.3.5
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling hibitset v0.6.3
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling ash v0.31.0
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling inplace_it v0.3.2
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling wgpu-types v0.6.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling fastrand v1.3.4
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling waker-fn v1.0.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling async-channel v1.4.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling spirv_headers v1.5.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling parking v1.0.6
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling gfx-descriptor v0.2.0
[INFO] [stderr]    Compiling gfx-memory v0.2.0
[INFO] [stderr]    Compiling gfx-backend-empty v0.6.0
[INFO] [stderr]    Compiling blocking v0.4.7
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling bytemuck v1.3.1
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling gfx-backend-vulkan v0.6.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling zerocopy-derive v0.2.0
[INFO] [stderr]    Compiling async-trait v0.1.38
[INFO] [stderr]    Compiling zerocopy v0.3.0
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling naga v0.2.0
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling wgpu-core v0.6.0
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling wgpu v0.6.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling tensor_compute v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `CpuTransferable` and `GpuTensor`
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use crate::{GpuTensor, CpuTransferable};
[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: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Shared` is never used
[INFO] [stdout]  --> src/autograd.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Shared<T> = Arc<RwLock<T>>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Op` is never used
[INFO] [stdout]   --> src/autograd.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Op{
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `propagate_grad` is never used
[INFO] [stdout]   --> src/autograd.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Op{
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] 17 |     pub fn propagate_grad(&self, child_grad: &RawTensor){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tensor` is never constructed
[INFO] [stdout]   --> src/autograd.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tensor {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VariableData` is never constructed
[INFO] [stdout]   --> src/autograd.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct VariableData{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/autograd.rs:51:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl Tensor {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn shallow_clone(&self) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn set_grad(&mut self, grad: Tensor){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn from_data_and_shape(data: Vec<f32>, shape: Vec<usize>) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn matmul(&self, other_var: &Tensor) -> Self{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn exp(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn sum(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn backward(&self){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_matmul_grad` is never used
[INFO] [stdout]  --> src/autograd/ops.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn set_matmul_grad(left: &Tensor, right: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_exp_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn set_exp_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_sum_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn set_sum_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shapes` is never constructed
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/bmm/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Shapes {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_strides_for_slice_range` is never used
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn shape_strides_for_slice_range<T: Into<SliceRangeInfo>>(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/autograd.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<'_, VariableData>{
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/autograd.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<'_, VariableData>{
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tensors/gpu_tensor/traits.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_shader_inputs(&self) -> ShaderInputs {
[INFO] [stdout]    |                         ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_shader_inputs(&self) -> ShaderInputs<'_> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/gpu_buffers/mod.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/shader_runner/shader_runner.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_bind_resource(&self) -> BindingResource {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_bind_resource(&self) -> BindingResource<'_> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/shader_runner/shader_runner.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry {
[INFO] [stdout]    |                          ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "84b3a770fcb6f934938f940f06fa275f23600a36af1457f9130868b5bd8d8ded", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "84b3a770fcb6f934938f940f06fa275f23600a36af1457f9130868b5bd8d8ded", kill_on_drop: false }`
[INFO] [stdout] 84b3a770fcb6f934938f940f06fa275f23600a36af1457f9130868b5bd8d8ded
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0996de2b2302204521d9d282e5fc1c8a2fa2c03e8e994f3df5f958acdb24fce8
[INFO] running `Command { std: "docker" "start" "-a" "0996de2b2302204521d9d282e5fc1c8a2fa2c03e8e994f3df5f958acdb24fce8", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `CpuTransferable` and `GpuTensor`
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:35:17
[INFO] [stdout]    |
[INFO] [stdout] 35 |     use crate::{GpuTensor, CpuTransferable};
[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: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Shared` is never used
[INFO] [stdout]  --> src/autograd.rs:7:6
[INFO] [stdout]   |
[INFO] [stdout] 7 | type Shared<T> = Arc<RwLock<T>>;
[INFO] [stdout]   |      ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Op` is never used
[INFO] [stdout]   --> src/autograd.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum Op{
[INFO] [stdout]    |      ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `propagate_grad` is never used
[INFO] [stdout]   --> src/autograd.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Op{
[INFO] [stdout]    | ------- method in this implementation
[INFO] [stdout] 17 |     pub fn propagate_grad(&self, child_grad: &RawTensor){
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tensor` is never constructed
[INFO] [stdout]   --> src/autograd.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Tensor {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `VariableData` is never constructed
[INFO] [stdout]   --> src/autograd.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct VariableData{
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/autograd.rs:51:12
[INFO] [stdout]     |
[INFO] [stdout]  48 | impl Tensor {
[INFO] [stdout]     | ----------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  51 |     pub fn shallow_clone(&self) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn set_grad(&mut self, grad: Tensor){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  83 |     pub fn from_data_and_shape(data: Vec<f32>, shape: Vec<usize>) -> Self{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  94 |     pub fn matmul(&self, other_var: &Tensor) -> Self{
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn exp(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 121 |     pub fn sum(&self) -> Self{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 134 |     pub fn backward(&self){
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_matmul_grad` is never used
[INFO] [stdout]  --> src/autograd/ops.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn set_matmul_grad(left: &Tensor, right: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_exp_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn set_exp_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_sum_grad` is never used
[INFO] [stdout]   --> src/autograd/ops.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn set_sum_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shapes` is never constructed
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/bmm/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Shapes {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `shape_strides_for_slice_range` is never used
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn shape_strides_for_slice_range<T: Into<SliceRangeInfo>>(
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/autograd.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<'_, VariableData>{
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/autograd.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<'_, VariableData>{
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tensors/gpu_tensor/traits.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_shader_inputs(&self) -> ShaderInputs {
[INFO] [stdout]    |                         ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_shader_inputs(&self) -> ShaderInputs<'_> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tensor_compute v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/gpu_buffers/mod.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/shader_runner/shader_runner.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_bind_resource(&self) -> BindingResource {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_bind_resource(&self) -> BindingResource<'_> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/shader_runner/shader_runner.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry {
[INFO] [stdout]    |                          ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GpuStore`, `RawTensor`, and `s`
[INFO] [stdout]  --> examples/assignment/main.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use tensor_compute::{s, GpuStore, RawTensor};
[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: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stdout]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/autograd.rs:182:9
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let mut c = left.sum();
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `to_vec` is never used
[INFO] [stdout]   --> src/autograd.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Tensor {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Shapes` is never constructed
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/bmm/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | struct Shapes {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/autograd.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stdout]    |                      ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<'_, VariableData>{
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/autograd.rs:67:23
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<'_, VariableData>{
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 | /                 format!(
[INFO] [stdout] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 | |                     *idx + 1,
[INFO] [stdout] 174 | |                     shape
[INFO] [stdout] 175 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 171 ~                 
[INFO] [stdout] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stdout] 173 |                     *idx + 1,
[INFO] [stdout] 174 |                     shape
[INFO] [stdout] 175 ~                 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tensors/gpu_tensor/traits.rs:47:25
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_shader_inputs(&self) -> ShaderInputs {
[INFO] [stdout]    |                         ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn to_shader_inputs(&self) -> ShaderInputs<'_> {
[INFO] [stdout]    |                                               ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:62:33
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(err < 0.01, err);
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout] help: add a "{}" format string to `Display` the message
[INFO] [stdout]    |
[INFO] [stdout] 62 |             assert!(err < 0.01, "{}", err);
[INFO] [stdout]    |                                 +++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stdout]    |
[INFO] [stdout] 19 | /                 format!(
[INFO] [stdout] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 | |                     start,
[INFO] [stdout] 22 | |                     isize_end - 1
[INFO] [stdout] 23 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 19 ~                 
[INFO] [stdout] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stdout] 21 |                     start,
[INFO] [stdout] 22 |                     isize_end - 1
[INFO] [stdout] 23 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 | /             format!(
[INFO] [stdout] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 | |                 start, *shape
[INFO] [stdout] 31 | |             )
[INFO] [stdout]    | |_____________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 27 ~             
[INFO] [stdout] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stdout] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 30 |                 start, *shape
[INFO] [stdout] 31 ~             
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stdout]    |
[INFO] [stdout] 42 | /                 format!(
[INFO] [stdout] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 | |                     inclusive_end, *shape
[INFO] [stdout] 46 | |                 )
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 42 ~                 
[INFO] [stdout] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stdout] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stdout] 45 |                     inclusive_end, *shape
[INFO] [stdout] 46 ~                 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/gpu_buffers/mod.rs:43:29
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> {
[INFO] [stdout]    |                                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/shader_runner/shader_runner.rs:19:29
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_bind_resource(&self) -> BindingResource {
[INFO] [stdout]    |                             ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn to_bind_resource(&self) -> BindingResource<'_> {
[INFO] [stdout]    |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/gpu_internals/shader_runner/shader_runner.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry {
[INFO] [stdout]    |                          ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry<'_> {
[INFO] [stdout]    |                                                  ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] running `Command { std: "docker" "inspect" "0996de2b2302204521d9d282e5fc1c8a2fa2c03e8e994f3df5f958acdb24fce8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0996de2b2302204521d9d282e5fc1c8a2fa2c03e8e994f3df5f958acdb24fce8", kill_on_drop: false }`
[INFO] [stdout] 0996de2b2302204521d9d282e5fc1c8a2fa2c03e8e994f3df5f958acdb24fce8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 74b192d344348d9ea051908125e43320aef54a03bed603eb8ca3b012957238d8
[INFO] running `Command { std: "docker" "start" "-a" "74b192d344348d9ea051908125e43320aef54a03bed603eb8ca3b012957238d8", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `CpuTransferable` and `GpuTensor`
[INFO] [stderr]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:35:17
[INFO] [stderr]    |
[INFO] [stderr] 35 |     use crate::{GpuTensor, CpuTransferable};
[INFO] [stderr]    |                 ^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stderr]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Shared` is never used
[INFO] [stderr]  --> src/autograd.rs:7:6
[INFO] [stderr]   |
[INFO] [stderr] 7 | type Shared<T> = Arc<RwLock<T>>;
[INFO] [stderr]   |      ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Op` is never used
[INFO] [stderr]   --> src/autograd.rs:10:6
[INFO] [stderr]    |
[INFO] [stderr] 10 | enum Op{
[INFO] [stderr]    |      ^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `propagate_grad` is never used
[INFO] [stderr]   --> src/autograd.rs:17:12
[INFO] [stderr]    |
[INFO] [stderr] 16 | impl Op{
[INFO] [stderr]    | ------- method in this implementation
[INFO] [stderr] 17 |     pub fn propagate_grad(&self, child_grad: &RawTensor){
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Tensor` is never constructed
[INFO] [stderr]   --> src/autograd.rs:37:12
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub struct Tensor {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `VariableData` is never constructed
[INFO] [stderr]   --> src/autograd.rs:42:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub struct VariableData{
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/autograd.rs:51:12
[INFO] [stderr]     |
[INFO] [stderr]  48 | impl Tensor {
[INFO] [stderr]     | ----------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  51 |     pub fn shallow_clone(&self) -> Self{
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  77 |     pub fn set_grad(&mut self, grad: Tensor){
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  83 |     pub fn from_data_and_shape(data: Vec<f32>, shape: Vec<usize>) -> Self{
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  94 |     pub fn matmul(&self, other_var: &Tensor) -> Self{
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 109 |     pub fn exp(&self) -> Self{
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 121 |     pub fn sum(&self) -> Self{
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 134 |     pub fn backward(&self){
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_matmul_grad` is never used
[INFO] [stderr]  --> src/autograd/ops.rs:4:8
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn set_matmul_grad(left: &Tensor, right: &Tensor, child_grad: &RawTensor){
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_exp_grad` is never used
[INFO] [stderr]   --> src/autograd/ops.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn set_exp_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `set_sum_grad` is never used
[INFO] [stderr]   --> src/autograd/ops.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn set_sum_grad(original_input: &Tensor, child_grad: &RawTensor){
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Shapes` is never constructed
[INFO] [stderr]   --> src/tensors/gpu_tensor/gpu_ops/bmm/mod.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 | struct Shapes {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `shape_strides_for_slice_range` is never used
[INFO] [stderr]  --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:7:8
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub fn shape_strides_for_slice_range<T: Into<SliceRangeInfo>>(
[INFO] [stderr]   |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/autograd.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<VariableData>{
[INFO] [stderr]    |                      ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                      |
[INFO] [stderr]    |                      the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 62 |     pub fn read_lock(&self) -> RwLockReadGuard<'_, VariableData>{
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/autograd.rs:67:23
[INFO] [stderr]    |
[INFO] [stderr] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<VariableData>{
[INFO] [stderr]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 67 |     pub fn write_lock(&self) -> RwLockWriteGuard<'_, VariableData>{
[INFO] [stderr]    |                                                  +++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/tensors/cpu_tensor.rs:171:17
[INFO] [stderr]     |
[INFO] [stderr] 171 | /                 format!(
[INFO] [stderr] 172 | |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stderr] 173 | |                     *idx + 1,
[INFO] [stderr] 174 | |                     shape
[INFO] [stderr] 175 | |                 )
[INFO] [stderr]     | |_________________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]     = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]     = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 171 ~                 
[INFO] [stderr] 172 |                     "tried indexing element {} when dimension length was: {}",
[INFO] [stderr] 173 |                     *idx + 1,
[INFO] [stderr] 174 |                     shape
[INFO] [stderr] 175 ~                 
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/tensors/gpu_tensor/traits.rs:47:25
[INFO] [stderr]    |
[INFO] [stderr] 47 |     fn to_shader_inputs(&self) -> ShaderInputs {
[INFO] [stderr]    |                         ^^^^^     ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                         |
[INFO] [stderr]    |                         the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 47 |     fn to_shader_inputs(&self) -> ShaderInputs<'_> {
[INFO] [stderr]    |                                               ++++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/tensors/gpu_tensor/indexing/mod.rs:19:17
[INFO] [stderr]    |
[INFO] [stderr] 19 | /                 format!(
[INFO] [stderr] 20 | |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stderr] 21 | |                     start,
[INFO] [stderr] 22 | |                     isize_end - 1
[INFO] [stderr] 23 | |                 )
[INFO] [stderr]    | |_________________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 19 ~                 
[INFO] [stderr] 20 |                     "Start ({:?}) needs to be smaller than end ({:?}).",
[INFO] [stderr] 21 |                     start,
[INFO] [stderr] 22 |                     isize_end - 1
[INFO] [stderr] 23 ~                 
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:27:13
[INFO] [stderr]    |
[INFO] [stderr] 27 | /             format!(
[INFO] [stderr] 28 | |                 "Indexing out of range! Tried to get the element \
[INFO] [stderr] 29 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stderr] 30 | |                 start, *shape
[INFO] [stderr] 31 | |             )
[INFO] [stderr]    | |_____________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 27 ~             
[INFO] [stderr] 28 |                 "Indexing out of range! Tried to get the element \
[INFO] [stderr] 29 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stderr] 30 |                 start, *shape
[INFO] [stderr] 31 ~             
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:42:17
[INFO] [stderr]    |
[INFO] [stderr] 42 | /                 format!(
[INFO] [stderr] 43 | |                     "Indexing out of range! Tried to get the element \
[INFO] [stderr] 44 | |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stderr] 45 | |                     inclusive_end, *shape
[INFO] [stderr] 46 | |                 )
[INFO] [stderr]    | |_________________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 42 ~                 
[INFO] [stderr] 43 |                     "Indexing out of range! Tried to get the element \
[INFO] [stderr] 44 |                         {:?} (zero indexed) of a dimension of size: {:?}",
[INFO] [stderr] 45 |                     inclusive_end, *shape
[INFO] [stderr] 46 ~                 
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/gpu_internals/gpu_buffers/mod.rs:43:29
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource {
[INFO] [stderr]    |                             ^^^^^     ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                             |
[INFO] [stderr]    |                             the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 43 |     pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> {
[INFO] [stderr]    |                                                            ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/gpu_internals/shader_runner/shader_runner.rs:19:29
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn to_bind_resource(&self) -> BindingResource {
[INFO] [stderr]    |                             ^^^^^     ^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                             |
[INFO] [stderr]    |                             the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub fn to_bind_resource(&self) -> BindingResource<'_> {
[INFO] [stderr]    |                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/gpu_internals/shader_runner/shader_runner.rs:68:26
[INFO] [stderr]    |
[INFO] [stderr] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry {
[INFO] [stderr]    |                          ^^^^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                          |
[INFO] [stderr]    |                          the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 68 |     pub fn to_bind_group(&self) -> BindGroupEntry<'_> {
[INFO] [stderr]    |                                                  ++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `index_to_dim_stride::shape_strides_for_slice_range`
[INFO] [stderr]  --> src/tensors/gpu_tensor/indexing/mod.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use index_to_dim_stride::shape_strides_for_slice_range;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/autograd.rs:182:9
[INFO] [stderr]     |
[INFO] [stderr] 182 |     let mut c = left.sum();
[INFO] [stderr]     |         ----^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: method `to_vec` is never used
[INFO] [stderr]   --> src/autograd.rs:57:12
[INFO] [stderr]    |
[INFO] [stderr] 48 | impl Tensor {
[INFO] [stderr]    | ----------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 57 |     pub fn to_vec(&self) -> Vec<f32>{
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/tensors/gpu_tensor/gpu_ops/unary_ops/mod.rs:62:33
[INFO] [stderr]    |
[INFO] [stderr] 62 |             assert!(err < 0.01, err);
[INFO] [stderr]    |                                 ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr] help: add a "{}" format string to `Display` the message
[INFO] [stderr]    |
[INFO] [stderr] 62 |             assert!(err < 0.01, "{}", err);
[INFO] [stderr]    |                                 +++++
[INFO] [stderr] 
[INFO] [stderr] warning: `tensor_compute` (lib) generated 23 warnings (run `cargo fix --lib -p tensor_compute` to apply 12 suggestions)
[INFO] [stderr] warning: `tensor_compute` (lib test) generated 15 warnings (11 duplicates) (run `cargo fix --lib -p tensor_compute --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused imports: `GpuStore`, `RawTensor`, and `s`
[INFO] [stderr]  --> examples/assignment/main.rs:1:22
[INFO] [stderr]   |
[INFO] [stderr] 1 | use tensor_compute::{s, GpuStore, RawTensor};
[INFO] [stderr]   |                      ^  ^^^^^^^^  ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tensor_compute` (example "assignment") generated 1 warning (run `cargo fix --example "assignment" -p tensor_compute` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/tensor_compute/1afebe7e80d99278/deps/tensor_compute-1afebe7e80d99278)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::mul_scalar_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::add_scalar_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::dot_mul ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::div_scalar_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::sub_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::dot_div ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::sub_scalar_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::fill_with::tests::fill_with ... ok
[INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::allows_start_equals_end ... ok
[INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::can_index ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::big_rank_2_mm_different_dims ... ok
[INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::can_index_edge_cases ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::simple_rank_2_mm ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::add_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::utils::can_calc_strides_from_shape ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::transpose::tests::can_transpose ... ok
[INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::cant_index_more_elements_than_dimension_has - should panic ... ok
[INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::doesnt_allow_end_smaller_than_start - should panic ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::simple_rank_2_mm_different_dims ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::sum::test::sum_test_1d ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::sum::test::sum_test_2d ... ok
[INFO] [stdout] test tensors::gpu_tensor::tests::strides_work ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::can_clone ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::can_clone_non_uniform_shape ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::compare::tests::compare_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::exp_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::ln_test ... ok
[INFO] [stdout] test autograd::sum_grad_works ... ok
[INFO] [stdout] test autograd::exp_grad_works ... ok
[INFO] [stdout] test autograd::matmul_grad_works ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- autograd::matmul_grad_works stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'autograd::matmul_grad_works' (26) panicked at src/autograd.rs:158:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [6.0, 4.0, 9.0, 10.0]
[INFO] [stdout]  right: [4.0, 4.0, 6.0, 6.0]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56ca2cef6292 - std[840933623431fd06]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56ca2cef6292 - std[840933623431fd06]::backtrace_rs::backtrace::trace_unsynchronized::<std[840933623431fd06]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56ca2cef6292 - std[840933623431fd06]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x56ca2cef6292 - <<std[840933623431fd06]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[8f93d80df273fe75]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x56ca2cf0ccaa - <core[8f93d80df273fe75]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x56ca2cf0ccaa - core[8f93d80df273fe75]::fmt::write
[INFO] [stdout]    6:     0x56ca2cefb176 - std[840933623431fd06]::io::default_write_fmt::<alloc[40b2bae28975ac47]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x56ca2cefb176 - <alloc[40b2bae28975ac47]::vec::Vec<u8> as std[840933623431fd06]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x56ca2ced437f - <std[840933623431fd06]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x56ca2ced437f - std[840933623431fd06]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x56ca2ceee449 - std[840933623431fd06]::panicking::default_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x56ca2cb1453e - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x56ca2cb1453e - test[2f1252070343a163]::test_main_with_exit_callback::<test[2f1252070343a163]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x56ca2ceee602 - <alloc[40b2bae28975ac47]::boxed::Box<dyn for<'a, 'b> core[8f93d80df273fe75]::ops::function::Fn<(&'a std[840933623431fd06]::panic::PanicHookInfo<'b>,), Output = ()> + core[8f93d80df273fe75]::marker::Sync + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::Fn<(&std[840933623431fd06]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x56ca2ceee602 - std[840933623431fd06]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x56ca2ced4438 - std[840933623431fd06]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x56ca2cecbdd9 - std[840933623431fd06]::sys::backtrace::__rust_end_short_backtrace::<std[840933623431fd06]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x56ca2ced528d - __rustc[5b4a0c6d8cc4a177]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x56ca2cf0d3ec - core[8f93d80df273fe75]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x56ca2cf0d273 - core[8f93d80df273fe75]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x56ca2cae1992 - core[8f93d80df273fe75]::panicking::assert_failed::<alloc[40b2bae28975ac47]::vec::Vec<f32>, &[f32; 4usize]>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x56ca2cad8989 - tensor_compute[50fa4f0c9319f264]::autograd::matmul_grad_works
[INFO] [stdout]                                at /opt/rustwide/workdir/src/autograd.rs:158:5
[INFO] [stdout]   22:     0x56ca2cad5d57 - tensor_compute[50fa4f0c9319f264]::autograd::matmul_grad_works::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/autograd.rs:149:23
[INFO] [stdout]   23:     0x56ca2cae2a56 - <tensor_compute[50fa4f0c9319f264]::autograd::matmul_grad_works::{closure#0} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x56ca2cb088eb - <fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x56ca2cb088eb - test[2f1252070343a163]::__rust_begin_short_backtrace::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, fn() -> core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x56ca2cb1514a - test[2f1252070343a163]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x56ca2cb1514a - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   28:     0x56ca2cb1514a - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x56ca2cb1514a - std[840933623431fd06]::panicking::catch_unwind::<core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>, core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x56ca2cb1514a - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<test[2f1252070343a163]::run_test_in_process::{closure#0}>, core[8f93d80df273fe75]::result::Result<(), alloc[40b2bae28975ac47]::string::String>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x56ca2cb1514a - test[2f1252070343a163]::run_test_in_process
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x56ca2cb1514a - test[2f1252070343a163]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x56ca2cb0f614 - test[2f1252070343a163]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x56ca2cb0f614 - std[840933623431fd06]::sys::backtrace::__rust_begin_short_backtrace::<test[2f1252070343a163]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x56ca2cb17c42 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x56ca2cb17c42 - <core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   37:     0x56ca2cb17c42 - std[840933623431fd06]::panicking::catch_unwind::do_call::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x56ca2cb17c42 - std[840933623431fd06]::panicking::catch_unwind::<(), core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x56ca2cb17c42 - std[840933623431fd06]::panic::catch_unwind::<core[8f93d80df273fe75]::panic::unwind_safe::AssertUnwindSafe<std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x56ca2cb17c42 - std[840933623431fd06]::thread::lifecycle::spawn_unchecked::<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x56ca2cb17c42 - <std[840933623431fd06]::thread::lifecycle::spawn_unchecked<test[2f1252070343a163]::run_test::{closure#1}, ()>::{closure#1} as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x56ca2cef5b0f - <alloc[40b2bae28975ac47]::boxed::Box<dyn core[8f93d80df273fe75]::ops::function::FnOnce<(), Output = ()> + core[8f93d80df273fe75]::marker::Send> as core[8f93d80df273fe75]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   43:     0x56ca2cef5b0f - <std[840933623431fd06]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   44:     0x78d6ac4a0aa4 - <unknown>
[INFO] [stdout]   45:     0x78d6ac52da64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     autograd::matmul_grad_works
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 29 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.98s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "74b192d344348d9ea051908125e43320aef54a03bed603eb8ca3b012957238d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74b192d344348d9ea051908125e43320aef54a03bed603eb8ca3b012957238d8", kill_on_drop: false }`
[INFO] [stdout] 74b192d344348d9ea051908125e43320aef54a03bed603eb8ca3b012957238d8
