[INFO] fetching crate tensor_compute 0.1.0... [INFO] checking tensor_compute-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tensor_compute 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate tensor_compute 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate crates.io crate tensor_compute 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc_exception v0.1.2 [INFO] [stderr] Downloaded parking v1.0.6 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded waker-fn v1.0.0 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded d3d12 v0.3.1 [INFO] [stderr] Downloaded storage-map v0.3.0 [INFO] [stderr] Downloaded gfx-memory v0.2.0 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.6.1 [INFO] [stderr] Downloaded futures-lite v0.1.10 [INFO] [stderr] Downloaded gfx-backend-empty v0.6.0 [INFO] [stderr] Downloaded wgpu-types v0.6.0 [INFO] [stderr] Downloaded spirv_headers v1.4.2 [INFO] [stderr] Downloaded gfx-backend-metal v0.6.0 [INFO] [stderr] Downloaded range-alloc v0.1.1 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded core-foundation v0.9.0 [INFO] [stderr] Downloaded core-graphics-types v0.1.0 [INFO] [stderr] Downloaded blocking v0.4.7 [INFO] [stderr] Downloaded wgpu-core v0.6.0 [INFO] [stderr] Downloaded naga v0.2.0 [INFO] [stderr] Downloaded event-listener v2.3.3 [INFO] [stderr] Downloaded core-foundation-sys v0.8.0 [INFO] [stderr] Downloaded ash v0.31.0 [INFO] [stderr] Downloaded inplace_it v0.3.2 [INFO] [stderr] Downloaded metal v0.20.0 [INFO] [stderr] Downloaded wio v0.2.2 [INFO] [stderr] Downloaded async-channel v1.4.0 [INFO] [stderr] Downloaded gfx-descriptor v0.2.0 [INFO] [stderr] Downloaded zerocopy v0.3.0 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.6.0 [INFO] [stderr] Downloaded tracing-core v0.1.14 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded wgpu v0.6.0 [INFO] [stderr] Downloaded fastrand v1.3.4 [INFO] [stderr] Downloaded zerocopy-derive v0.2.0 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.6.0 [INFO] [stderr] Downloaded gfx-auxil v0.5.0 [INFO] [stderr] Downloaded spirv_cross v0.20.0 [INFO] [stderr] Downloaded gfx-hal v0.6.0 [INFO] [stderr] Downloaded atom v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", 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] 3571ccf44a96d1328d72c1a0d44cbd8d886c70a2f6c52c7171d682441163e4bd [INFO] running `Command { std: "docker" "start" "-a" "3571ccf44a96d1328d72c1a0d44cbd8d886c70a2f6c52c7171d682441163e4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3571ccf44a96d1328d72c1a0d44cbd8d886c70a2f6c52c7171d682441163e4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3571ccf44a96d1328d72c1a0d44cbd8d886c70a2f6c52c7171d682441163e4bd", kill_on_drop: false }` [INFO] [stdout] 3571ccf44a96d1328d72c1a0d44cbd8d886c70a2f6c52c7171d682441163e4bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 204787f6e95571790e1e052919ce15e73a97af4bab2a2b39fee14208f7e660cf [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" "204787f6e95571790e1e052919ce15e73a97af4bab2a2b39fee14208f7e660cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking inplace_it v0.3.2 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking event-listener v2.3.3 [INFO] [stderr] Checking waker-fn v1.0.0 [INFO] [stderr] Checking fastrand v1.3.4 [INFO] [stderr] Checking parking v1.0.6 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking tracing-core v0.1.14 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking wgpu-types v0.6.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking async-channel v1.4.0 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking ash v0.31.0 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking futures-lite v0.1.10 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking blocking v0.4.7 [INFO] [stderr] Checking gfx-hal v0.6.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking spirv_headers v1.4.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking gfx-descriptor v0.2.0 [INFO] [stderr] Checking gfx-memory v0.2.0 [INFO] [stderr] Checking gfx-backend-empty v0.6.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Checking gfx-backend-vulkan v0.6.1 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking naga v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking wgpu-core v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking wgpu v0.6.0 [INFO] [stderr] Checking 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)]` 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] [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] [INFO] [stdout] warning: unused imports: `GpuTensor`, `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] [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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: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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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: 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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: 10 warnings emitted [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_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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: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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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: 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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "204787f6e95571790e1e052919ce15e73a97af4bab2a2b39fee14208f7e660cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204787f6e95571790e1e052919ce15e73a97af4bab2a2b39fee14208f7e660cf", kill_on_drop: false }` [INFO] [stdout] 204787f6e95571790e1e052919ce15e73a97af4bab2a2b39fee14208f7e660cf