[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftiberiusferreira%2Fgpu_compute" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tiberiusferreira/gpu_compute on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-13/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8df106588b08a4c55f11fe5648b6be5093b5318a8db908508d3290bad09c8912 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8df106588b08a4c55f11fe5648b6be5093b5318a8db908508d3290bad09c8912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8df106588b08a4c55f11fe5648b6be5093b5318a8db908508d3290bad09c8912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8df106588b08a4c55f11fe5648b6be5093b5318a8db908508d3290bad09c8912", kill_on_drop: false }` [INFO] [stdout] 8df106588b08a4c55f11fe5648b6be5093b5318a8db908508d3290bad09c8912 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a77ceafc9973f2bbd24c11accc663d689fa6e4a075a97d616067b88dbe56e5cc [INFO] running `Command { std: "docker" "start" "-a" "a77ceafc9973f2bbd24c11accc663d689fa6e4a075a97d616067b88dbe56e5cc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling event-listener v2.4.0 [INFO] [stderr] Compiling fastrand v1.3.4 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling wgpu-types v0.6.0 [INFO] [stderr] Compiling futures-lite v0.1.11 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling blocking v0.4.7 [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 nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling gfx-hal v0.6.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling spirv_headers v1.5.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-memory v0.2.0 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.38 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.6 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling wgpu-core v0.6.0 [INFO] [stderr] Compiling winit v0.22.2 [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 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: variant is never constructed: `MatMul` [INFO] [stdout] --> src/autograd.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MatMul(Tensor, Tensor), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/autograd.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exp` [INFO] [stdout] --> src/autograd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exp(Tensor), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/autograd.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sum` [INFO] [stdout] --> src/autograd.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Sum(Tensor), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/autograd.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `propagate_grad` [INFO] [stdout] --> src/autograd.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn propagate_grad(&self, child_grad: &RawTensor){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/autograd.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | inner: Shared [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] --> src/autograd.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_op` [INFO] [stdout] --> src/autograd.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | parent_op: Option, [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] --> src/autograd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tensor` [INFO] [stdout] --> src/autograd.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | tensor: RawTensor, [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] --> src/autograd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grad` [INFO] [stdout] --> src/autograd.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | grad: Option [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] --> src/autograd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shallow_clone` [INFO] [stdout] --> src/autograd.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn shallow_clone(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vec` [INFO] [stdout] --> src/autograd.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn to_vec(&self) -> Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_lock` [INFO] [stdout] --> src/autograd.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_lock(&self) -> RwLockReadGuard{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_lock` [INFO] [stdout] --> src/autograd.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write_lock(&self) -> RwLockWriteGuard{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_grad` [INFO] [stdout] --> src/autograd.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn set_grad(&mut self, grad: Tensor){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_data_and_shape` [INFO] [stdout] --> src/autograd.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn from_data_and_shape(data: Vec, shape: Vec) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `matmul` [INFO] [stdout] --> src/autograd.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn matmul(&self, other_var: &Tensor) -> Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exp` [INFO] [stdout] --> src/autograd.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn exp(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum` [INFO] [stdout] --> src/autograd.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn sum(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward` [INFO] [stdout] --> src/autograd.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn backward(&self){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_matmul_grad` [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 is never used: `set_exp_grad` [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 is never used: `set_sum_grad` [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 is never used: `shape_strides_for_slice_range` [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>( [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: `#[warn(non_fmt_panics)]` on by default [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 [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] 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/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 [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 [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: 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 [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: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "a77ceafc9973f2bbd24c11accc663d689fa6e4a075a97d616067b88dbe56e5cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a77ceafc9973f2bbd24c11accc663d689fa6e4a075a97d616067b88dbe56e5cc", kill_on_drop: false }` [INFO] [stdout] a77ceafc9973f2bbd24c11accc663d689fa6e4a075a97d616067b88dbe56e5cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 396823d989bf7a5170fe59b63e999adcd6bc020aac8bd46f0ebec404f19bb0a8 [INFO] running `Command { std: "docker" "start" "-a" "396823d989bf7a5170fe59b63e999adcd6bc020aac8bd46f0ebec404f19bb0a8", 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: variant is never constructed: `MatMul` [INFO] [stdout] --> src/autograd.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MatMul(Tensor, Tensor), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/autograd.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Exp` [INFO] [stdout] --> src/autograd.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Exp(Tensor), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/autograd.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sum` [INFO] [stdout] --> src/autograd.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Sum(Tensor), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/autograd.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `propagate_grad` [INFO] [stdout] --> src/autograd.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn propagate_grad(&self, child_grad: &RawTensor){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/autograd.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | inner: Shared [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] --> src/autograd.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent_op` [INFO] [stdout] --> src/autograd.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | parent_op: Option, [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] --> src/autograd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tensor` [INFO] [stdout] --> src/autograd.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | tensor: RawTensor, [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] --> src/autograd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `grad` [INFO] [stdout] --> src/autograd.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | grad: Option [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] --> src/autograd.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shallow_clone` [INFO] [stdout] --> src/autograd.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn shallow_clone(&self) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_vec` [INFO] [stdout] --> src/autograd.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn to_vec(&self) -> Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_lock` [INFO] [stdout] --> src/autograd.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn read_lock(&self) -> RwLockReadGuard{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_lock` [INFO] [stdout] --> src/autograd.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn write_lock(&self) -> RwLockWriteGuard{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_grad` [INFO] [stdout] --> src/autograd.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn set_grad(&mut self, grad: Tensor){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_data_and_shape` [INFO] [stdout] --> src/autograd.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn from_data_and_shape(data: Vec, shape: Vec) -> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `matmul` [INFO] [stdout] --> src/autograd.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn matmul(&self, other_var: &Tensor) -> Self{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `exp` [INFO] [stdout] --> src/autograd.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn exp(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sum` [INFO] [stdout] --> src/autograd.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn sum(&self) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward` [INFO] [stdout] --> src/autograd.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn backward(&self){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_matmul_grad` [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 is never used: `set_exp_grad` [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 is never used: `set_sum_grad` [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 is never used: `shape_strides_for_slice_range` [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>( [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: `#[warn(non_fmt_panics)]` on by default [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 [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] 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/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 [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 [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: 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 [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: 27 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: 1 warning emitted [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: associated function is never used: `to_vec` [INFO] [stdout] --> src/autograd.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn to_vec(&self) -> Vec{ [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: `#[warn(non_fmt_panics)]` on by default [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 [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] 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 [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/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 [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 [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: 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 [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.70s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/tensor_compute-803df73ec2077232) [INFO] running `Command { std: "docker" "inspect" "396823d989bf7a5170fe59b63e999adcd6bc020aac8bd46f0ebec404f19bb0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "396823d989bf7a5170fe59b63e999adcd6bc020aac8bd46f0ebec404f19bb0a8", kill_on_drop: false }` [INFO] [stdout] 396823d989bf7a5170fe59b63e999adcd6bc020aac8bd46f0ebec404f19bb0a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 140dd34443caf4efd02bbd01d7f98c6224130838cbff158380ff419de1173bda [INFO] running `Command { std: "docker" "start" "-a" "140dd34443caf4efd02bbd01d7f98c6224130838cbff158380ff419de1173bda", 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: variant is never constructed: `MatMul` [INFO] [stderr] --> src/autograd.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | MatMul(Tensor, Tensor), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/autograd.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Exp` [INFO] [stderr] --> src/autograd.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | Exp(Tensor), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/autograd.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Sum` [INFO] [stderr] --> src/autograd.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | Sum(Tensor), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Op` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/autograd.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `propagate_grad` [INFO] [stderr] --> src/autograd.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn propagate_grad(&self, child_grad: &RawTensor){ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/autograd.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | inner: Shared [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] --> src/autograd.rs:36:10 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent_op` [INFO] [stderr] --> src/autograd.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | parent_op: Option, [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] --> src/autograd.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tensor` [INFO] [stderr] --> src/autograd.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | tensor: RawTensor, [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] --> src/autograd.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `grad` [INFO] [stderr] --> src/autograd.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | grad: Option [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] --> src/autograd.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shallow_clone` [INFO] [stderr] --> src/autograd.rs:51:12 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn shallow_clone(&self) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_vec` [INFO] [stderr] --> src/autograd.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn to_vec(&self) -> Vec{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `read_lock` [INFO] [stderr] --> src/autograd.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn read_lock(&self) -> RwLockReadGuard{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `write_lock` [INFO] [stderr] --> src/autograd.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn write_lock(&self) -> RwLockWriteGuard{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_grad` [INFO] [stderr] --> src/autograd.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn set_grad(&mut self, grad: Tensor){ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_data_and_shape` [INFO] [stderr] --> src/autograd.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn from_data_and_shape(data: Vec, shape: Vec) -> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `matmul` [INFO] [stderr] --> src/autograd.rs:94:12 [INFO] [stderr] | [INFO] [stderr] 94 | pub fn matmul(&self, other_var: &Tensor) -> Self{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `exp` [INFO] [stderr] --> src/autograd.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 109 | pub fn exp(&self) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sum` [INFO] [stderr] --> src/autograd.rs:121:12 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn sum(&self) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `backward` [INFO] [stderr] --> src/autograd.rs:134:12 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn backward(&self){ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `set_matmul_grad` [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 is never used: `set_exp_grad` [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 is never used: `set_sum_grad` [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 is never used: `shape_strides_for_slice_range` [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>( [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: `#[warn(non_fmt_panics)]` on by default [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 [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] 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/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 [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 [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: 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 [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: `tensor_compute` (lib) generated 27 warnings [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: associated function is never used: `to_vec` [INFO] [stderr] --> src/autograd.rs:57:12 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn to_vec(&self) -> Vec{ [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 [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 test) generated 7 warnings (4 duplicates) [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 [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tensor_compute-803df73ec2077232) [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] [stderr] WARNING: lavapipe is not a conformant vulkan implementation, testing use only. [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::add_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::mul_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::binary_ops::tests::div_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::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::indexing::index_to_dim_stride::can_index_edge_cases ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::sub_test ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::bmm::tests::big_rank_2_mm_different_dims ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::binary_ops::tests::add_scalar_test ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::fill_with::tests::fill_with ... ok [INFO] [stdout] test tensors::gpu_tensor::utils::can_calc_strides_from_shape ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::transpose::tests::can_transpose ... ok [INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::cant_index_more_elements_than_dimension_has - should panic ... ok [INFO] [stdout] test tensors::gpu_tensor::indexing::index_to_dim_stride::doesnt_allow_end_smaller_than_start - should panic ... ok [INFO] [stdout] test tensors::gpu_tensor::tests::strides_work ... 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 autograd::matmul_grad_works ... FAILED [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::ln_test ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::exp_test ... ok [INFO] [stdout] test autograd::exp_grad_works ... ok [INFO] [stdout] test tensors::gpu_tensor::gpu_ops::unary_ops::test::can_clone ... ok [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 'assertion failed: `(left == right)` [INFO] [stdout] left: `[5.0, 6.0, 9.0, 10.0]`, [INFO] [stdout] right: `[4.0, 4.0, 6.0, 6.0]`', src/autograd.rs:158:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x564a6d08bc8d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x564a6d08bc8d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x564a6d08bc8d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x564a6d08bc8d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x564a6d0b07fc - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x564a6d0884c1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x564a6d08dab5 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x564a6d08dab5 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x564a6d08dab5 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x564a6d08d7a4 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x564a6d08e002 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x564a6d08dee7 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x564a6d08c144 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x564a6d08dc19 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x564a6cb4c4e3 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x564a6d0ae4e8 - core::panicking::assert_failed_inner::h337b271ded48bc15 [INFO] [stdout] 16: 0x564a6cb8d90e - core::panicking::assert_failed::he8f1c94e1d9fefcc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x564a6cb9ba58 - tensor_compute::autograd::matmul_grad_works::h63278213eba7bd39 [INFO] [stdout] at /opt/rustwide/workdir/src/autograd.rs:158:5 [INFO] [stdout] 18: 0x564a6cb9b4aa - tensor_compute::autograd::matmul_grad_works::{{closure}}::h907f1b95e1323fae [INFO] [stdout] at /opt/rustwide/workdir/src/autograd.rs:149:1 [INFO] [stdout] 19: 0x564a6cba421e - core::ops::function::FnOnce::call_once::h82452f7f83df2741 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x564a6cc03413 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x564a6cc03413 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 22: 0x564a6cc021c9 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 23: 0x564a6cc021c9 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x564a6cc021c9 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x564a6cc021c9 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x564a6cc021c9 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x564a6cc021c9 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 28: 0x564a6cc021c9 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 29: 0x564a6cbce37e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 30: 0x564a6cbce37e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x564a6cbd38e8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x564a6cbd38e8 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x564a6cbd38e8 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x564a6cbd38e8 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x564a6cbd38e8 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x564a6cbd38e8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x564a6cbd38e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x564a6d0929f3 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 39: 0x564a6d0929f3 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x564a6d0929f3 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f006ad7e609 - start_thread [INFO] [stdout] 42: 0x7f006ab54163 - clone [INFO] [stdout] 43: 0x0 - [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 2.26s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "140dd34443caf4efd02bbd01d7f98c6224130838cbff158380ff419de1173bda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140dd34443caf4efd02bbd01d7f98c6224130838cbff158380ff419de1173bda", kill_on_drop: false }` [INFO] [stdout] 140dd34443caf4efd02bbd01d7f98c6224130838cbff158380ff419de1173bda