[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] building tiberiusferreira/gpu_compute against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.59
[INFO] [stderr]   Downloaded instant v0.1.6
[INFO] [stderr]   Downloaded net2 v0.2.34
[INFO] [stderr]   Downloaded parking v1.0.6
[INFO] [stderr]   Downloaded gfx-auxil v0.5.0
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.67
[INFO] [stderr]   Downloaded proc-macro2 v1.0.19
[INFO] [stderr]   Downloaded async-channel v1.4.0
[INFO] [stderr]   Downloaded atomic-waker v1.0.0
[INFO] [stderr]   Downloaded async-trait v0.1.38
[INFO] [stderr]   Downloaded gfx-backend-dx11 v0.6.0
[INFO] [stderr]   Downloaded gfx-backend-dx12 v0.6.2
[INFO] [stderr]   Downloaded gfx-backend-metal v0.6.1
[INFO] [stderr]   Downloaded wgpu-core v0.6.0
[INFO] [stderr]   Downloaded wgpu v0.6.2
[INFO] [stderr]   Downloaded tracing-core v0.1.15
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.67
[INFO] [stderr]   Downloaded syn v1.0.39
[INFO] [stderr]   Downloaded js-sys v0.3.44
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.0
[INFO] [stderr]   Downloaded serde v1.0.115
[INFO] [stderr]   Downloaded fastrand v1.3.4
[INFO] [stderr]   Downloaded core-foundation v0.9.0
[INFO] [stderr]   Downloaded wgpu-types v0.6.0
[INFO] [stderr]   Downloaded futures-lite v0.1.11
[INFO] [stderr]   Downloaded waker-fn v1.0.0
[INFO] [stderr]   Downloaded blocking v0.4.7
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.17
[INFO] [stderr]   Downloaded libc v0.2.76
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.67
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.67
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.67
[INFO] [stderr]   Downloaded core-graphics-types v0.1.0
[INFO] [stderr]   Downloaded bytemuck v1.3.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.2.0
[INFO] [stderr]   Downloaded zerocopy v0.3.0
[INFO] [stderr]   Downloaded web-sys v0.3.44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8d2000917c87d6a2e6c43e9a40f9d37366c4fe3b2ec26484f099d24f6d1c30a2
[INFO] running `Command { std: "docker" "start" "-a" "8d2000917c87d6a2e6c43e9a40f9d37366c4fe3b2ec26484f099d24f6d1c30a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d2000917c87d6a2e6c43e9a40f9d37366c4fe3b2ec26484f099d24f6d1c30a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d2000917c87d6a2e6c43e9a40f9d37366c4fe3b2ec26484f099d24f6d1c30a2", kill_on_drop: false }`
[INFO] [stdout] 8d2000917c87d6a2e6c43e9a40f9d37366c4fe3b2ec26484f099d24f6d1c30a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe0e83f9d8f79330f09be256a0eb1bae269e0553d05cd237374ba2cc9926ea51
[INFO] running `Command { std: "docker" "start" "-a" "fe0e83f9d8f79330f09be256a0eb1bae269e0553d05cd237374ba2cc9926ea51", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling atom v0.3.5
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling hibitset v0.6.3
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling ash v0.31.0
[INFO] [stderr]    Compiling inplace_it v0.3.2
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling wgpu-types v0.6.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling waker-fn v1.0.0
[INFO] [stderr]    Compiling fastrand v1.3.4
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling async-channel v1.4.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling gfx-hal v0.6.0
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling spirv_headers v1.5.0
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling typed-arena v2.0.1
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling parking v1.0.6
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling bytemuck v1.3.1
[INFO] [stderr]    Compiling blocking v0.4.7
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling gfx-descriptor v0.2.0
[INFO] [stderr]    Compiling gfx-backend-empty v0.6.0
[INFO] [stderr]    Compiling gfx-memory v0.2.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling wayland-client v0.23.6
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling wayland-protocols v0.23.6
[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 pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling naga v0.2.0
[INFO] [stderr]    Compiling gfx-backend-vulkan v0.6.1
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling smithay-client-toolkit v0.6.6
[INFO] [stderr]    Compiling wgpu-core v0.6.0
[INFO] [stderr]    Compiling winit v0.22.2
[INFO] [stderr]    Compiling wgpu v0.6.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: 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: 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: 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: 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 58.21s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "fe0e83f9d8f79330f09be256a0eb1bae269e0553d05cd237374ba2cc9926ea51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe0e83f9d8f79330f09be256a0eb1bae269e0553d05cd237374ba2cc9926ea51", kill_on_drop: false }`
[INFO] [stdout] fe0e83f9d8f79330f09be256a0eb1bae269e0553d05cd237374ba2cc9926ea51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 150b2b5aa870703e4c2fdf608fb389f25c7cd49bdb2743908b6a31706b6e9fb7
[INFO] running `Command { std: "docker" "start" "-a" "150b2b5aa870703e4c2fdf608fb389f25c7cd49bdb2743908b6a31706b6e9fb7", 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: 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: 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] [stderr]    Compiling tensor_compute v0.1.0 (/opt/rustwide/workdir)
[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: 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: 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] [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: 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: 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: 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: 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: 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 3.56s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "150b2b5aa870703e4c2fdf608fb389f25c7cd49bdb2743908b6a31706b6e9fb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "150b2b5aa870703e4c2fdf608fb389f25c7cd49bdb2743908b6a31706b6e9fb7", kill_on_drop: false }`
[INFO] [stdout] 150b2b5aa870703e4c2fdf608fb389f25c7cd49bdb2743908b6a31706b6e9fb7
