[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 master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc1/source/Cargo.toml
[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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gfx-backend-vulkan v0.6.1
[INFO] [stderr]   Downloaded gfx-memory v0.2.0
[INFO] [stderr]   Downloaded core-graphics-types v0.1.0
[INFO] [stderr]   Downloaded gfx-auxil v0.5.0
[INFO] [stderr]   Downloaded libloading v0.6.3
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.0
[INFO] [stderr]   Downloaded wgpu-types v0.6.0
[INFO] [stderr]   Downloaded bytemuck v1.3.1
[INFO] [stderr]   Downloaded core-foundation v0.9.0
[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 spirv_cross v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d499c50a67d2c98585678d15d398bc9d20425d449f59cae107342c86c271b658
[INFO] running `Command { std: "docker" "start" "-a" "d499c50a67d2c98585678d15d398bc9d20425d449f59cae107342c86c271b658", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d499c50a67d2c98585678d15d398bc9d20425d449f59cae107342c86c271b658", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d499c50a67d2c98585678d15d398bc9d20425d449f59cae107342c86c271b658", kill_on_drop: false }`
[INFO] [stdout] d499c50a67d2c98585678d15d398bc9d20425d449f59cae107342c86c271b658
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18e5d86015d248d393bec873aba28bb527f2acdac4f5ce5d0c5a62d39fe75137
[INFO] running `Command { std: "docker" "start" "-a" "18e5d86015d248d393bec873aba28bb527f2acdac4f5ce5d0c5a62d39fe75137", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling atom v0.3.5
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling ash v0.31.0
[INFO] [stderr]    Compiling hibitset v0.6.3
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling gfx-hal v0.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling inplace_it v0.3.2
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling wgpu-types v0.6.0
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling spirv_headers v1.5.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling fastrand v1.3.4
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling waker-fn v1.0.0
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling async-channel v1.4.0
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling parking v1.0.6
[INFO] [stderr]    Compiling typed-arena v2.0.1
[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 blocking v0.4.7
[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 calloop v0.4.4
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[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 gfx-backend-vulkan v0.6.1
[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`, `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)]` 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)]` 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]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: 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: 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/nightly/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)]` 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: 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/nightly/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/nightly/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/nightly/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: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.10s
[INFO] running `Command { std: "docker" "inspect" "18e5d86015d248d393bec873aba28bb527f2acdac4f5ce5d0c5a62d39fe75137", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18e5d86015d248d393bec873aba28bb527f2acdac4f5ce5d0c5a62d39fe75137", kill_on_drop: false }`
[INFO] [stdout] 18e5d86015d248d393bec873aba28bb527f2acdac4f5ce5d0c5a62d39fe75137
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b111930b3ab4c04242cb9dec0a4f6347b8f9ce3de3d4abffe46e4e280babd028
[INFO] running `Command { std: "docker" "start" "-a" "b111930b3ab4c04242cb9dec0a4f6347b8f9ce3de3d4abffe46e4e280babd028", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `CpuTransferable`, `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)]` 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)]` 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]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: 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: 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/nightly/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)]` 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: 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/nightly/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/nightly/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] [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: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/nightly/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: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `GpuStore`, `RawTensor`, `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)]` 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)]` 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)]` 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)]` on by default
[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/nightly/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)]` 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: 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/nightly/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/nightly/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/nightly/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/nightly/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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.94s
[INFO] running `Command { std: "docker" "inspect" "b111930b3ab4c04242cb9dec0a4f6347b8f9ce3de3d4abffe46e4e280babd028", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b111930b3ab4c04242cb9dec0a4f6347b8f9ce3de3d4abffe46e4e280babd028", kill_on_drop: false }`
[INFO] [stdout] b111930b3ab4c04242cb9dec0a4f6347b8f9ce3de3d4abffe46e4e280babd028
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ce6aca78fc7c9b6314aa4452933d8d002e3707cf9407072bbdd05aa42bd49b55
[INFO] running `Command { std: "docker" "start" "-a" "ce6aca78fc7c9b6314aa4452933d8d002e3707cf9407072bbdd05aa42bd49b55", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `CpuTransferable`, `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)]` 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)]` 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]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: 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: 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: 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/nightly/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)]` 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: 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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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)]` 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)]` 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)]` 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: 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/nightly/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 16 warnings (run `cargo fix --lib -p tensor_compute` to apply 6 suggestions)
[INFO] [stderr] warning: `tensor_compute` (lib test) generated 8 warnings (4 duplicates) (run `cargo fix --lib -p tensor_compute --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused imports: `GpuStore`, `RawTensor`, `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)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tensor_compute` (example "assignment") generated 1 warning (run `cargo fix --example "assignment"` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tensor_compute-aebeed34f7bdd038)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[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_div ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::fill_with::tests::fill_with ... 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_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::add_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::simple_rank_2_mm_different_dims ... 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::binary_ops::tests::mul_scalar_test ... 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::binary_ops::tests::dot_mul ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::simple_rank_2_mm ... ok
[INFO] [stdout] test tensors::gpu_tensor::utils::can_calc_strides_from_shape ... 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::big_rank_2_mm_different_dims ... ok
[INFO] [stdout] test tensors::gpu_tensor::tests::strides_work ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::transpose::tests::can_transpose ... 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::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 tensors::gpu_tensor::gpu_ops::unary_ops::test::can_clone_non_uniform_shape ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::can_clone ... ok
[INFO] [stdout] test autograd::exp_grad_works ... ok
[INFO] [stdout] test autograd::sum_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] thread 'autograd::matmul_grad_works' panicked at src/autograd.rs:158:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [5.0, 4.0, 3.0, 2.0]
[INFO] [stdout]  right: [4.0, 4.0, 6.0, 6.0]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x559e9ccf5c45 - std::backtrace_rs::backtrace::libunwind::trace::h59d96bdb08384354
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x559e9ccf5c45 - std::backtrace_rs::backtrace::trace_unsynchronized::h9cf5becacfc93fba
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x559e9ccf5c45 - std::sys_common::backtrace::_print_fmt::h10b76d10405dbd48
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x559e9ccf5c45 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h6ed9e62a156d84e4
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x559e9cd1eb3b - core::fmt::rt::Argument::fmt::h645c680983f03c9f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x559e9cd1eb3b - core::fmt::write::h8bcd80919a02be29
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x559e9ccf344f - std::io::Write::write_fmt::h8d0c47c662cad79c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x559e9ccf5a1e - std::sys_common::backtrace::_print::h6306f131a28d62b0
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x559e9ccf5a1e - std::sys_common::backtrace::print::h7079288e0a26dfcc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x559e9ccf7449 - std::panicking::default_hook::{{closure}}::hb063ecec81a736ba
[INFO] [stdout]   10:     0x559e9ccf710e - std::panicking::default_hook::hd56ee406bf547b5c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x559e9c919cda - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::he5eacdef44c8728f
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x559e9c919cda - test::test_main::{{closure}}::h0ec9aed229e79095
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x559e9ccf7a4b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hcbd0d80e1ad4e4f9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x559e9ccf7a4b - std::panicking::rust_panic_with_hook::h624aa3ca42ebb8f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x559e9ccf77c4 - std::panicking::begin_panic_handler::{{closure}}::hbc4e76194a5e287c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x559e9ccf6109 - std::sys_common::backtrace::__rust_end_short_backtrace::h847fedc9d1ff7b6d
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x559e9ccf74f7 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x559e9c87b923 - core::panicking::panic_fmt::hec11a924b87ce965
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x559e9c87bd4e - core::panicking::assert_failed_inner::h01c8f7f0c1caba58
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:408:17
[INFO] [stdout]   20:     0x559e9c8c7e32 - core::panicking::assert_failed::ha53f18bde0101cdc
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panicking.rs:363:5
[INFO] [stdout]   21:     0x559e9c88f8a7 - tensor_compute::autograd::matmul_grad_works::h3673935c7f846103
[INFO] [stdout]                                at /opt/rustwide/workdir/src/autograd.rs:158:5
[INFO] [stdout]   22:     0x559e9c88f257 - tensor_compute::autograd::matmul_grad_works::{{closure}}::hcf5634a070249858
[INFO] [stdout]                                at /opt/rustwide/workdir/src/autograd.rs:149:23
[INFO] [stdout]   23:     0x559e9c8bd1e6 - core::ops::function::FnOnce::call_once::ha7ca63b06d36454a
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x559e9c91e6bb - core::ops::function::FnOnce::call_once::h2e43a8f6f3d94b99
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x559e9c91e6bb - test::__rust_begin_short_backtrace::h214c9f2d2d3fee90
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x559e9c91ddc1 - test::run_test_in_process::{{closure}}::h510b7ba7990692a5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x559e9c91ddc1 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4157186197a93871
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x559e9c91ddc1 - std::panicking::try::do_call::h1bf2463bccd4b28c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x559e9c91ddc1 - std::panicking::try::hd6d4808c9fab4fa5
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x559e9c91ddc1 - std::panic::catch_unwind::hd5641d97d123f9f2
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x559e9c91ddc1 - test::run_test_in_process::hc273b71c8b878a4c
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x559e9c91ddc1 - test::run_test::{{closure}}::h6838df834eb8467e
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x559e9c8e6784 - test::run_test::{{closure}}::h608b98ecff5665fb
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x559e9c8e6784 - std::sys_common::backtrace::__rust_begin_short_backtrace::hdc4182b97d1042e9
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x559e9c8eb1b2 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571773fd21d674c8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x559e9c8eb1b2 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hdcd384cf2fa70ba3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x559e9c8eb1b2 - std::panicking::try::do_call::h4f1a44bd81423be1
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x559e9c8eb1b2 - std::panicking::try::h5e02afcb81dcd361
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x559e9c8eb1b2 - std::panic::catch_unwind::h022f75775bfd8c45
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x559e9c8eb1b2 - std::thread::Builder::spawn_unchecked_::{{closure}}::hf5a62e9e4e6df1f8
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x559e9c8eb1b2 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h6d56360aeb9509a7
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x559e9ccfbd3b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h7a343dc551c06baa
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x559e9ccfbd3b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h30b8111cbaa644f3
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x559e9ccfbd3b - std::sys::pal::unix::thread::Thread::new::thread_start::h7404e134e61e7a11
[INFO] [stdout]                                at /rustc/1871252fc8bb672d40787e67404e6eaae7059369/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f2dcbfc1ac3 - <unknown>
[INFO] [stdout]   46:     0x7f2dcc052a04 - __clone
[INFO] [stdout]   47:                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 0.72s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "ce6aca78fc7c9b6314aa4452933d8d002e3707cf9407072bbdd05aa42bd49b55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce6aca78fc7c9b6314aa4452933d8d002e3707cf9407072bbdd05aa42bd49b55", kill_on_drop: false }`
[INFO] [stdout] ce6aca78fc7c9b6314aa4452933d8d002e3707cf9407072bbdd05aa42bd49b55
[INFO] testing tiberiusferreira/gpu_compute against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-2-tc2/source/Cargo.toml
[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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 089254e6c8d3de58454fbe9e71cef9aca24463aa3fda561bfed738307af9674a
[INFO] running `Command { std: "docker" "start" "-a" "089254e6c8d3de58454fbe9e71cef9aca24463aa3fda561bfed738307af9674a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "089254e6c8d3de58454fbe9e71cef9aca24463aa3fda561bfed738307af9674a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "089254e6c8d3de58454fbe9e71cef9aca24463aa3fda561bfed738307af9674a", kill_on_drop: false }`
[INFO] [stdout] 089254e6c8d3de58454fbe9e71cef9aca24463aa3fda561bfed738307af9674a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e75cff3cad8c288ba75d1f9759945a9a7717a679381a976fc7001465f788c372
[INFO] running `Command { std: "docker" "start" "-a" "e75cff3cad8c288ba75d1f9759945a9a7717a679381a976fc7001465f788c372", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libloading v0.6.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling instant v0.1.6
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling wayland-sys v0.23.6
[INFO] [stderr]    Compiling arrayvec v0.5.1
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling atom v0.3.5
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling x11 v2.18.2
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]    Compiling ash v0.31.0
[INFO] [stderr]    Compiling hibitset v0.6.3
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling walkdir v2.3.1
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling inplace_it v0.3.2
[INFO] [stderr]    Compiling xdg v2.2.0
[INFO] [stderr]    Compiling raw-window-handle v0.3.3
[INFO] [stderr]    Compiling wayland-scanner v0.23.6
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling gfx-hal v0.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.2
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling lock_api v0.3.4
[INFO] [stderr]    Compiling wgpu-types v0.6.0
[INFO] [stderr]    Compiling ordered-float v1.1.0
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling spirv_headers v1.5.0
[INFO] [stderr]    Compiling line_drawing v0.7.0
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling event-listener v2.4.0
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling waker-fn v1.0.0
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling copyless v0.1.5
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling fastrand v1.3.4
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling andrew v0.2.1
[INFO] [stderr]    Compiling futures-lite v0.1.11
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling async-channel v1.4.0
[INFO] [stderr]    Compiling parking_lot v0.10.2
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling termcolor v1.1.0
[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 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 blocking v0.4.7
[INFO] [stderr]    Compiling gfx-backend-empty v0.6.0
[INFO] [stderr]    Compiling gfx-descriptor v0.2.0
[INFO] [stderr]    Compiling gfx-memory v0.2.0
[INFO] [stderr]    Compiling wayland-commons v0.23.6
[INFO] [stderr]    Compiling calloop v0.4.4
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[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 gfx-backend-vulkan v0.6.1
[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`, `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)]` 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)]` 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]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: 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: 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/nightly/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)]` 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: 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/nightly/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/nightly/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/nightly/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: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.71s
[INFO] running `Command { std: "docker" "inspect" "e75cff3cad8c288ba75d1f9759945a9a7717a679381a976fc7001465f788c372", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e75cff3cad8c288ba75d1f9759945a9a7717a679381a976fc7001465f788c372", kill_on_drop: false }`
[INFO] [stdout] e75cff3cad8c288ba75d1f9759945a9a7717a679381a976fc7001465f788c372
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 492c1c9f945c6a0bd6ae17dd3cb7d041b8a323d4f1cf9e26ccc0c4b6318f0883
[INFO] running `Command { std: "docker" "start" "-a" "492c1c9f945c6a0bd6ae17dd3cb7d041b8a323d4f1cf9e26ccc0c4b6318f0883", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `CpuTransferable`, `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)]` 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)]` 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]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: 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: 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/nightly/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)]` 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: 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/nightly/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/nightly/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/nightly/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: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tensor_compute v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `GpuStore`, `RawTensor`, `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)]` 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)]` 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)]` 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)]` on by default
[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/nightly/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)]` 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: 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/nightly/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/nightly/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/nightly/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/nightly/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: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.24s
[INFO] running `Command { std: "docker" "inspect" "492c1c9f945c6a0bd6ae17dd3cb7d041b8a323d4f1cf9e26ccc0c4b6318f0883", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "492c1c9f945c6a0bd6ae17dd3cb7d041b8a323d4f1cf9e26ccc0c4b6318f0883", kill_on_drop: false }`
[INFO] [stdout] 492c1c9f945c6a0bd6ae17dd3cb7d041b8a323d4f1cf9e26ccc0c4b6318f0883
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8684adc0ec6c3ad405490cf19838939a92cbfb9466efb5d17859059f8a498e9e
[INFO] running `Command { std: "docker" "start" "-a" "8684adc0ec6c3ad405490cf19838939a92cbfb9466efb5d17859059f8a498e9e", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `CpuTransferable`, `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)]` 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)]` 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]    = note: `Tensor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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]    = note: `VariableData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[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: 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: 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: 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/nightly/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)]` 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: 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: 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/nightly/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: 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/nightly/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: 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/nightly/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: 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)]` 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)]` 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)]` 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: 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/nightly/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 16 warnings (run `cargo fix --lib -p tensor_compute` to apply 6 suggestions)
[INFO] [stderr] warning: `tensor_compute` (lib test) generated 8 warnings (4 duplicates) (run `cargo fix --lib -p tensor_compute --tests` to apply 3 suggestions)
[INFO] [stderr] warning: unused imports: `GpuStore`, `RawTensor`, `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)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `tensor_compute` (example "assignment") generated 1 warning (run `cargo fix --example "assignment"` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tensor_compute-aebeed34f7bdd038)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stderr] error: XDG_RUNTIME_DIR not set in the environment.
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::add_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::div_scalar_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::fill_with::tests::fill_with ... 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::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::mul_scalar_test ... 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::indexing::index_to_dim_stride::can_index_edge_cases ... 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::binary_ops::tests::sub_scalar_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::simple_rank_2_mm ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::big_rank_2_mm_different_dims ... ok
[INFO] [stdout] test tensors::gpu_tensor::utils::can_calc_strides_from_shape ... 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::tests::strides_work ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::exp_test ... 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::ln_test ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::transpose::tests::can_transpose ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::sum::test::sum_test_2d ... 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::test::can_clone ... ok
[INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::can_clone_non_uniform_shape ... ok
[INFO] [stdout] test autograd::exp_grad_works ... ok
[INFO] [stdout] test autograd::matmul_grad_works ... FAILED
[INFO] [stdout] test autograd::sum_grad_works ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- autograd::matmul_grad_works stdout ----
[INFO] [stdout] thread 'autograd::matmul_grad_works' panicked at src/autograd.rs:158:5:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: [5.0, 4.0, 6.049787, 6.0183153]
[INFO] [stdout]  right: [4.0, 4.0, 6.0, 6.0]
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56131d0a6215 - std::backtrace_rs::backtrace::libunwind::trace::he49dc9a9e3164223
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
[INFO] [stdout]    1:     0x56131d0a6215 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a3e77c68030aa6b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x56131d0a6215 - std::sys_common::backtrace::_print_fmt::h9479ad2f99afd5d4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:68:5
[INFO] [stdout]    3:     0x56131d0a6215 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hfb01aa1fa3fb1821
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:44:22
[INFO] [stdout]    4:     0x56131d0cf0ab - core::fmt::rt::Argument::fmt::h125e56152abbc1c3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/rt.rs:165:63
[INFO] [stdout]    5:     0x56131d0cf0ab - core::fmt::write::hb0ab4ff05ccfe741
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/fmt/mod.rs:1169:21
[INFO] [stdout]    6:     0x56131d0a3acf - std::io::Write::write_fmt::hea6336dbf2fa00b8
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/io/mod.rs:1835:15
[INFO] [stdout]    7:     0x56131d0a5fee - std::sys_common::backtrace::_print::h79ca548f3a2adf4b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:47:5
[INFO] [stdout]    8:     0x56131d0a5fee - std::sys_common::backtrace::print::h9aebf997b2fea2d3
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:34:9
[INFO] [stdout]    9:     0x56131d0a7959 - std::panicking::default_hook::{{closure}}::h68a0954af2694526
[INFO] [stdout]   10:     0x56131d0a76ac - std::panicking::default_hook::h5be50cc6849ffb00
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:295:9
[INFO] [stdout]   11:     0x56131ccc6caf - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hd874405dcbd1d3ed
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   12:     0x56131ccc6caf - test::test_main::{{closure}}::h4f26a9df34a84b94
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:137:21
[INFO] [stdout]   13:     0x56131d0a7f5b - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h00e96d9c62aa9a12
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2036:9
[INFO] [stdout]   14:     0x56131d0a7f5b - std::panicking::rust_panic_with_hook::h3c0df6036729334c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:799:13
[INFO] [stdout]   15:     0x56131d0a7cd4 - std::panicking::begin_panic_handler::{{closure}}::ha3a21e93c4cfd807
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:664:13
[INFO] [stdout]   16:     0x56131d0a66d9 - std::sys_common::backtrace::__rust_end_short_backtrace::h19508a8f8ae71dc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:171:18
[INFO] [stdout]   17:     0x56131d0a7a07 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:652:5
[INFO] [stdout]   18:     0x56131cc28903 - core::panicking::panic_fmt::h2ba8af99174d83ea
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:72:14
[INFO] [stdout]   19:     0x56131cc28d2e - core::panicking::assert_failed_inner::h5c44db15a6ee70ee
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:408:17
[INFO] [stdout]   20:     0x56131cc8abb2 - core::panicking::assert_failed::hff4d768d89debccf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panicking.rs:363:5
[INFO] [stdout]   21:     0x56131cc5cc07 - tensor_compute::autograd::matmul_grad_works::h5384e004885a3ea1
[INFO] [stdout]                                at /opt/rustwide/workdir/src/autograd.rs:158:5
[INFO] [stdout]   22:     0x56131cc5c5b7 - tensor_compute::autograd::matmul_grad_works::{{closure}}::hc3b1ceb109a7dbf4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/autograd.rs:149:23
[INFO] [stdout]   23:     0x56131cc6ace6 - core::ops::function::FnOnce::call_once::hd76da401ae651692
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x56131cccb5cb - core::ops::function::FnOnce::call_once::h18c6bf92212b87a4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x56131cccb5cb - test::__rust_begin_short_backtrace::hdcf0edcfa9080086
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:625:18
[INFO] [stdout]   26:     0x56131cccac91 - test::run_test_in_process::{{closure}}::heac2c4eb375d2d10
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:60
[INFO] [stdout]   27:     0x56131cccac91 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0289bafc8a1cc004
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   28:     0x56131cccac91 - std::panicking::try::do_call::h5e158f1ad8a5f983
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   29:     0x56131cccac91 - std::panicking::try::hea3411d60321c4de
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   30:     0x56131cccac91 - std::panic::catch_unwind::hafb7bb18bc47bbc7
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   31:     0x56131cccac91 - test::run_test_in_process::h74dd138dc7762d99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:648:27
[INFO] [stdout]   32:     0x56131cccac91 - test::run_test::{{closure}}::h6b390822e63606cf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:569:43
[INFO] [stdout]   33:     0x56131cc93664 - test::run_test::{{closure}}::h6e11dba8131d354b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/test/src/lib.rs:599:41
[INFO] [stdout]   34:     0x56131cc93664 - std::sys_common::backtrace::__rust_begin_short_backtrace::ha71b3541b59bdbbb
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys_common/backtrace.rs:155:18
[INFO] [stdout]   35:     0x56131cc98132 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hef92127c5ef9e53c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:542:17
[INFO] [stdout]   36:     0x56131cc98132 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h859c109f9d11c92b
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   37:     0x56131cc98132 - std::panicking::try::do_call::hbf534c458cd858f0
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:559:40
[INFO] [stdout]   38:     0x56131cc98132 - std::panicking::try::h65c18365a7b9ad90
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panicking.rs:523:19
[INFO] [stdout]   39:     0x56131cc98132 - std::panic::catch_unwind::h21b25d4c69478c39
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/panic.rs:149:14
[INFO] [stdout]   40:     0x56131cc98132 - std::thread::Builder::spawn_unchecked_::{{closure}}::h23335f620275a9bf
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/thread/mod.rs:541:30
[INFO] [stdout]   41:     0x56131cc98132 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb491dc55513e9b7c
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x56131d0ac23b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h41b39260afcffdc9
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   43:     0x56131d0ac23b - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h6694c8dc6dd010c4
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/alloc/src/boxed.rs:2022:9
[INFO] [stdout]   44:     0x56131d0ac23b - std::sys::pal::unix::thread::Thread::new::thread_start::hf16038e1c8e19c99
[INFO] [stdout]                                at /rustc/b642703cf9526da1e72c0b6755753b939a9c6b6d/library/std/src/sys/pal/unix/thread.rs:108:17
[INFO] [stdout]   45:     0x7f273345bac3 - <unknown>
[INFO] [stdout]   46:     0x7f27334eca04 - __clone
[INFO] [stdout]   47:                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 0.47s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "8684adc0ec6c3ad405490cf19838939a92cbfb9466efb5d17859059f8a498e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8684adc0ec6c3ad405490cf19838939a92cbfb9466efb5d17859059f8a498e9e", kill_on_drop: false }`
[INFO] [stdout] 8684adc0ec6c3ad405490cf19838939a92cbfb9466efb5d17859059f8a498e9e
