[INFO] fetching crate tensor_compute 0.1.0... [INFO] building tensor_compute-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tensor_compute 0.1.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate tensor_compute 0.1.0 [INFO] finished tweaking crates.io crate tensor_compute 0.1.0 [INFO] tweaked toml for crates.io crate tensor_compute 0.1.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tensor_compute 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tensor_compute 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zerocopy v0.3.0 [INFO] [stderr] Downloaded wayland-commons v0.23.6 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded wayland-client v0.23.6 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded wayland-scanner v0.23.6 [INFO] [stderr] Downloaded winit v0.22.2 [INFO] [stderr] Downloaded async-trait v0.1.36 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded concurrent-queue v1.2.2 [INFO] [stderr] Downloaded atomic-waker v1.0.0 [INFO] [stderr] Downloaded x11 v2.18.2 [INFO] [stderr] Downloaded blocking v0.4.7 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.6.0 [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded atom v0.3.5 [INFO] [stderr] Downloaded metal v0.20.0 [INFO] [stderr] Downloaded num_enum_derive v0.4.3 [INFO] [stderr] Downloaded ndk-sys v0.1.0 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded wgpu v0.6.0 [INFO] [stderr] Downloaded android_log-sys v0.1.2 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded aho-corasick v0.7.13 [INFO] [stderr] Downloaded event-listener v2.3.3 [INFO] [stderr] Downloaded storage-map v0.3.0 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded core-graphics-types v0.1.0 [INFO] [stderr] Downloaded waker-fn v1.0.0 [INFO] [stderr] Downloaded mio-extras v2.0.6 [INFO] [stderr] Downloaded wgpu-core v0.6.0 [INFO] [stderr] Downloaded cache-padded v1.1.1 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.6 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded wayland-protocols v0.23.6 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded gfx-auxil v0.5.0 [INFO] [stderr] Downloaded proc-macro-nested v0.1.6 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded core-foundation-sys v0.8.0 [INFO] [stderr] Downloaded gfx-descriptor v0.2.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded hibitset v0.6.3 [INFO] [stderr] Downloaded spirv_headers v1.4.2 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded core-foundation v0.9.0 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded cocoa-foundation v0.1.0 [INFO] [stderr] Downloaded cocoa v0.20.2 [INFO] [stderr] Downloaded fastrand v1.3.4 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded spirv_cross v0.20.0 [INFO] [stderr] Downloaded ash v0.31.0 [INFO] [stderr] Downloaded naga v0.2.0 [INFO] [stderr] Downloaded ndk v0.1.0 [INFO] [stderr] Downloaded futures-lite v0.1.10 [INFO] [stderr] Downloaded parking v1.0.6 [INFO] [stderr] Downloaded gfx-backend-empty v0.6.0 [INFO] [stderr] Downloaded gfx-hal v0.6.0 [INFO] [stderr] Downloaded gfx-memory v0.2.0 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded wgpu-types v0.6.0 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded derivative v2.1.1 [INFO] [stderr] Downloaded num_enum v0.4.3 [INFO] [stderr] Downloaded ndk-glue v0.1.0 [INFO] [stderr] Downloaded wayland-sys v0.23.6 [INFO] [stderr] Downloaded zerocopy-derive v0.2.0 [INFO] [stderr] Downloaded async-channel v1.4.0 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded d3d12 v0.3.1 [INFO] [stderr] Downloaded range-alloc v0.1.1 [INFO] [stderr] Downloaded inplace_it v0.3.2 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.6.1 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.6.0 [INFO] [stderr] Downloaded gfx-backend-metal v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f549d14c118705c51962f722c68da438bea6de299319e4d47e63d875fe89297f [INFO] running `Command { std: "docker" "start" "-a" "f549d14c118705c51962f722c68da438bea6de299319e4d47e63d875fe89297f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f549d14c118705c51962f722c68da438bea6de299319e4d47e63d875fe89297f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f549d14c118705c51962f722c68da438bea6de299319e4d47e63d875fe89297f", kill_on_drop: false }` [INFO] [stdout] f549d14c118705c51962f722c68da438bea6de299319e4d47e63d875fe89297f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c7b65740d834f82688a15e9d91a8c66fa6d89cd91053aba358882224a7caff9 [INFO] running `Command { std: "docker" "start" "-a" "5c7b65740d834f82688a15e9d91a8c66fa6d89cd91053aba358882224a7caff9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling slab v0.4.2 [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 smallvec v1.4.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling hibitset v0.6.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling ash v0.31.0 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling tracing-core v0.1.14 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling inplace_it v0.3.2 [INFO] [stderr] Compiling cache-padded v1.1.1 [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 mio v0.6.22 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling spirv_headers v1.4.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling wgpu-types v0.6.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling event-listener v2.3.3 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling fastrand v1.3.4 [INFO] [stderr] Compiling humantime v1.3.0 [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 wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling gfx-descriptor v0.2.0 [INFO] [stderr] Compiling gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling gfx-memory v0.2.0 [INFO] [stderr] Compiling 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 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.36 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling zerocopy v0.3.0 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling naga v0.2.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.6.1 [INFO] [stderr] Compiling 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.0 [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 import: `crate::prelude::CpuTransferable` [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/bmm/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::CpuTransferable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GpuTensor` [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/bmm/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::GpuTensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{s, ShapeStrides}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::broadcast_shape_and_stride` [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/broadcast_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::broadcast_shape_and_stride; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod broadcast_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ShapeStrides` [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/broadcast_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ShapeStrides; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod broadcast_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpuTensor` and `s` [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/slicing_tests.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{s, GpuTensor}; [INFO] [stdout] | ^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod slicing_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TensorStructure` is never constructed [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/transpose/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct TensorStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 171 ~ [INFO] [stdout] 172 | "tried indexing element {} when dimension length was: {}", [INFO] [stdout] 173 | *idx + 1, [INFO] [stdout] 174 | shape [INFO] [stdout] 175 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/accessors_contructors.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/tensor_view.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/traits.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_shader_inputs(&self, binding_offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn to_shader_inputs(&self, binding_offset: usize) -> Vec> { [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: panic message is not a string literal [INFO] [stdout] --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / format!( [INFO] [stdout] 25 | | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 26 | | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 27 | | start, *shape [INFO] [stdout] 28 | | ) [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] 24 ~ [INFO] [stdout] 25 | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 26 | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 27 | start, *shape [INFO] [stdout] 28 ~ [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:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | / format!( [INFO] [stdout] 40 | | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 41 | | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 42 | | inclusive_end, *shape [INFO] [stdout] 43 | | ) [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] 39 ~ [INFO] [stdout] 40 | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 41 | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 42 | inclusive_end, *shape [INFO] [stdout] 43 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn view(&self) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn view(&self) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/gpu_buffers/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_bind_resource(&self) -> wgpu::BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/gpu_buffers/mod.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn to_bind_resource(&self) -> wgpu::BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/shader_runner/shader_runner.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn to_bind_resource(&self) -> BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn to_bind_resource(&self) -> BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/shader_runner/shader_runner.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_bind_group(&self) -> BindGroupEntry { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_bind_group(&self) -> BindGroupEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.34s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "5c7b65740d834f82688a15e9d91a8c66fa6d89cd91053aba358882224a7caff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c7b65740d834f82688a15e9d91a8c66fa6d89cd91053aba358882224a7caff9", kill_on_drop: false }` [INFO] [stdout] 5c7b65740d834f82688a15e9d91a8c66fa6d89cd91053aba358882224a7caff9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 537fc891e094c7dcdd38d3794c0b2161158e96a433af63779ac1ef96717a35fd [INFO] running `Command { std: "docker" "start" "-a" "537fc891e094c7dcdd38d3794c0b2161158e96a433af63779ac1ef96717a35fd", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::prelude::CpuTransferable` [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/bmm/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::prelude::CpuTransferable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::GpuTensor` [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/bmm/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::GpuTensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `s` [INFO] [stdout] --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{s, ShapeStrides}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::broadcast_shape_and_stride` [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/broadcast_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::broadcast_shape_and_stride; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod broadcast_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ShapeStrides` [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/broadcast_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ShapeStrides; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | mod broadcast_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GpuTensor` and `s` [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/slicing_tests.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{s, GpuTensor}; [INFO] [stdout] | ^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod slicing_tests; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TensorStructure` is never constructed [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/transpose/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct TensorStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 171 ~ [INFO] [stdout] 172 | "tried indexing element {} when dimension length was: {}", [INFO] [stdout] 173 | *idx + 1, [INFO] [stdout] 174 | shape [INFO] [stdout] 175 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/accessors_contructors.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/tensor_view.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/traits.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_shader_inputs(&self, binding_offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn to_shader_inputs(&self, binding_offset: usize) -> Vec> { [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: panic message is not a string literal [INFO] [stdout] --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / format!( [INFO] [stdout] 25 | | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 26 | | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 27 | | start, *shape [INFO] [stdout] 28 | | ) [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] 24 ~ [INFO] [stdout] 25 | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 26 | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 27 | start, *shape [INFO] [stdout] 28 ~ [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:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | / format!( [INFO] [stdout] 40 | | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 41 | | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 42 | | inclusive_end, *shape [INFO] [stdout] 43 | | ) [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] 39 ~ [INFO] [stdout] 40 | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 41 | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 42 | inclusive_end, *shape [INFO] [stdout] 43 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn view(&self) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn view(&self) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/gpu_buffers/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_bind_resource(&self) -> wgpu::BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/gpu_buffers/mod.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn to_bind_resource(&self) -> wgpu::BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/shader_runner/shader_runner.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn to_bind_resource(&self) -> BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn to_bind_resource(&self) -> BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/shader_runner/shader_runner.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_bind_group(&self) -> BindGroupEntry { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_bind_group(&self) -> BindGroupEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TensorStructure` is never constructed [INFO] [stdout] --> src/tensors/gpu_tensor/gpu_ops/transpose/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct TensorStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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 [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 171 ~ [INFO] [stdout] 172 | "tried indexing element {} when dimension length was: {}", [INFO] [stdout] 173 | *idx + 1, [INFO] [stdout] 174 | shape [INFO] [stdout] 175 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/accessors_contructors.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/tensor_view.rs:40:43 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn slice>(&self, bounds: Vec) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/traits.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn to_shader_inputs(&self, binding_offset: usize) -> Vec { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | fn to_shader_inputs(&self, binding_offset: usize) -> Vec> { [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: panic message is not a string literal [INFO] [stdout] --> src/tensors/gpu_tensor/indexing/index_to_dim_stride.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | / format!( [INFO] [stdout] 25 | | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 26 | | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 27 | | start, *shape [INFO] [stdout] 28 | | ) [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] 24 ~ [INFO] [stdout] 25 | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 26 | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 27 | start, *shape [INFO] [stdout] 28 ~ [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:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | / format!( [INFO] [stdout] 40 | | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 41 | | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 42 | | inclusive_end, *shape [INFO] [stdout] 43 | | ) [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] 39 ~ [INFO] [stdout] 40 | "Indexing out of range! Tried to get the element \ [INFO] [stdout] 41 | {:?} (zero indexed) of a dimension of size: {:?}", [INFO] [stdout] 42 | inclusive_end, *shape [INFO] [stdout] 43 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensors/gpu_tensor/shape_changing/mod.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn view(&self) -> GpuTensorView { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn view(&self) -> GpuTensorView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/gpu_buffers/mod.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_bind_resource(&self) -> wgpu::BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 64 | pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/gpu_buffers/mod.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn to_bind_resource(&self) -> wgpu::BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn to_bind_resource(&self) -> wgpu::BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/shader_runner/shader_runner.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn to_bind_resource(&self) -> BindingResource { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | pub fn to_bind_resource(&self) -> BindingResource<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gpu_internals/shader_runner/shader_runner.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_bind_group(&self) -> BindGroupEntry { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | pub fn to_bind_group(&self) -> BindGroupEntry<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wgpu-core v0.6.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "537fc891e094c7dcdd38d3794c0b2161158e96a433af63779ac1ef96717a35fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "537fc891e094c7dcdd38d3794c0b2161158e96a433af63779ac1ef96717a35fd", kill_on_drop: false }` [INFO] [stdout] 537fc891e094c7dcdd38d3794c0b2161158e96a433af63779ac1ef96717a35fd