[INFO] fetching crate rten-tensor 0.23.0...
[INFO] testing rten-tensor-0.23.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate rten-tensor 0.23.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate rten-tensor 0.23.0
[INFO] finished tweaking crates.io crate rten-tensor 0.23.0
[INFO] tweaked toml for crates.io crate rten-tensor 0.23.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rten-tensor 0.23.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rten-tensor 0.23.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded typeid v1.0.3
[INFO] [stderr]   Downloaded proc-macro2 v1.0.86
[INFO] [stderr]   Downloaded either v1.13.0
[INFO] [stderr]   Downloaded rten-base v0.23.0
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.20
[INFO] [stderr]   Downloaded quote v1.0.36
[INFO] [stderr]   Downloaded serde_derive v1.0.204
[INFO] [stderr]   Downloaded ryu v1.0.18
[INFO] [stderr]   Downloaded smallvec v1.13.2
[INFO] [stderr]   Downloaded syn v2.0.72
[INFO] [stderr]   Downloaded serde v1.0.204
[INFO] [stderr]   Downloaded serde_json v1.0.120
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.5
[INFO] [stderr]   Downloaded itoa v1.0.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 295673af29aa43da8d0088d9e0929268089e5647f40dbdb261c1f5d465ab5540
[INFO] running `Command { std: "docker" "start" "-a" "295673af29aa43da8d0088d9e0929268089e5647f40dbdb261c1f5d465ab5540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "295673af29aa43da8d0088d9e0929268089e5647f40dbdb261c1f5d465ab5540", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "295673af29aa43da8d0088d9e0929268089e5647f40dbdb261c1f5d465ab5540", kill_on_drop: false }`
[INFO] [stdout] 295673af29aa43da8d0088d9e0929268089e5647f40dbdb261c1f5d465ab5540
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5fa64613a9798d9fa8dad22f40e3a9a9694786eadeb1a18e5b58a5bcc52ef36
[INFO] running `Command { std: "docker" "start" "-a" "b5fa64613a9798d9fa8dad22f40e3a9a9694786eadeb1a18e5b58a5bcc52ef36", kill_on_drop: false }`
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling rten-base v0.23.0
[INFO] [stderr]    Compiling rten-tensor v0.23.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.57s
[INFO] running `Command { std: "docker" "inspect" "b5fa64613a9798d9fa8dad22f40e3a9a9694786eadeb1a18e5b58a5bcc52ef36", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5fa64613a9798d9fa8dad22f40e3a9a9694786eadeb1a18e5b58a5bcc52ef36", kill_on_drop: false }`
[INFO] [stdout] b5fa64613a9798d9fa8dad22f40e3a9a9694786eadeb1a18e5b58a5bcc52ef36
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f71d9a4b7fca287e55dff2068ce26ac9f5a739e267e250e75a2f4ae184c3bec9
[INFO] running `Command { std: "docker" "start" "-a" "f71d9a4b7fca287e55dff2068ce26ac9f5a739e267e250e75a2f4ae184c3bec9", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling rten-tensor v0.23.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `rten_testing`
[INFO] [stdout]    --> src/copy.rs:483:9
[INFO] [stdout]     |
[INFO] [stdout] 483 |     use rten_testing::TestCases;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rten_testing`
[INFO] [stdout]     --> src/layout.rs:1434:9
[INFO] [stdout]      |
[INFO] [stdout] 1434 |     use rten_testing::TestCases;
[INFO] [stdout]      |         ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rten_testing`
[INFO] [stdout]   --> src/overlap.rs:74:9
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use rten_testing::TestCases;
[INFO] [stdout]    |         ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rten_testing`
[INFO] [stdout]    --> src/slice_range.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 |     use rten_testing::TestCases;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rten_testing`
[INFO] [stdout]    --> src/impl_debug.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     use rten_testing::TestCases;
[INFO] [stdout]     |         ^^^^^^^^^^^^ use of unresolved module or unlinked crate `rten_testing`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `rten_testing`, use `cargo add rten_testing` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rten_bench`
[INFO] [stdout]     --> src/iterators.rs:1876:13
[INFO] [stdout]      |
[INFO] [stdout] 1876 |         use rten_bench::run_bench;
[INFO] [stdout]      |             ^^^^^^^^^^ use of unresolved module or unlinked crate `rten_bench`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `rten_bench`, use `cargo add rten_bench` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rten_bench`
[INFO] [stdout]     --> src/iterators.rs:1929:13
[INFO] [stdout]      |
[INFO] [stdout] 1929 |         use rten_bench::run_bench;
[INFO] [stdout]      |             ^^^^^^^^^^ use of unresolved module or unlinked crate `rten_bench`
[INFO] [stdout]      |
[INFO] [stdout]      = help: if you wanted to use a crate named `rten_bench`, use `cargo add rten_bench` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ndtensor` and `tensor`
[INFO] [stdout]    --> src/macros.rs:128:35
[INFO] [stdout]     |
[INFO] [stdout] 128 |     use crate::{NdTensor, Tensor, ndtensor, tensor};
[INFO] [stdout]     |                                   ^^^^^^^^  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[copy::tests::test_copy_range_into_slice::Case<'_>; 2]` in the current scope
[INFO] [stdout]    --> src/copy.rs:606:15
[INFO] [stdout]     |
[INFO] [stdout] 606 |         cases.test_each(|case| {
[INFO] [stdout]     |         ------^^^^^^^^^ method not found in `[copy::tests::test_copy_range_into_slice::Case<'_>; 2]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_from_shape_and_strides::Case<'_>; 2]` in the current scope
[INFO] [stdout]     --> src/layout.rs:1485:15
[INFO] [stdout]      |
[INFO] [stdout] 1485 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `[layout::tests::test_from_shape_and_strides::Case<'_>; 2]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_index_axis::Case; 2]` in the current scope
[INFO] [stdout]     --> src/layout.rs:1522:15
[INFO] [stdout]      |
[INFO] [stdout] 1522 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `[layout::tests::test_index_axis::Case; 2]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1532:62
[INFO] [stdout]      |
[INFO] [stdout] 1532 |             let (offsets, sliced_layout) = layout.index_axis(*axis, *index);
[INFO] [stdout]      |                                                              ^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1532:69
[INFO] [stdout]      |
[INFO] [stdout] 1532 |             let (offsets, sliced_layout) = layout.index_axis(*axis, *index);
[INFO] [stdout]      |                                                                     ^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `NdLayout<1>` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1533:39
[INFO] [stdout]      |
[INFO] [stdout] 1533 |             assert_eq!(sliced_layout, *expected_layout);
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1534:39
[INFO] [stdout]      |
[INFO] [stdout] 1534 |             assert_eq!(offsets.start, *expected_start);
[INFO] [stdout]      |                                       ^^^^^^^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1537:69
[INFO] [stdout]      |
[INFO] [stdout] 1537 |             let (_, sliced_layout_dyn) = layout.as_dyn().index_axis(*axis, *index);
[INFO] [stdout]      |                                                                     ^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1537:76
[INFO] [stdout]      |
[INFO] [stdout] 1537 |             let (_, sliced_layout_dyn) = layout.as_dyn().index_axis(*axis, *index);
[INFO] [stdout]      |                                                                            ^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_reshaped::Case<'_>; 5]` in the current scope
[INFO] [stdout]     --> src/layout.rs:1672:15
[INFO] [stdout]      |
[INFO] [stdout] 1672 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `[layout::tests::test_reshaped::Case<'_>; 5]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1680:31
[INFO] [stdout]      |
[INFO] [stdout] 1680 |             let reshaped = if *for_copy {
[INFO] [stdout]      |                               ^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[usize]: IntoLayout` is not satisfied
[INFO] [stdout]     --> src/layout.rs:1681:42
[INFO] [stdout]      |
[INFO] [stdout] 1681 |                 layout.reshaped_for_copy(*new_shape)
[INFO] [stdout]      |                        ----------------- ^^^^^^^^^^ the trait `IntoLayout` is not implemented for `[usize]`
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] note: required by a bound in `MutLayout::reshaped_for_copy`
[INFO] [stdout]     --> src/layout.rs:745:29
[INFO] [stdout]      |
[INFO] [stdout]  745 |     fn reshaped_for_copy<S: IntoLayout>(&self, shape: S) -> Result<S::Layout, ReshapeError> {
[INFO] [stdout]      |                             ^^^^^^^^^^ required by this bound in `MutLayout::reshaped_for_copy`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 1681 |                 layout.reshaped_for_copy(&*new_shape)
[INFO] [stdout]      |                                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[usize]` cannot be known at compilation time
[INFO] [stdout]     --> src/layout.rs:1681:42
[INFO] [stdout]      |
[INFO] [stdout] 1681 |                 layout.reshaped_for_copy(*new_shape)
[INFO] [stdout]      |                        ----------------- ^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Sized` is not implemented for `[usize]`
[INFO] [stdout] note: required by an implicit `Sized` bound in `MutLayout::reshaped_for_copy`
[INFO] [stdout]     --> src/layout.rs:745:26
[INFO] [stdout]      |
[INFO] [stdout]  745 |     fn reshaped_for_copy<S: IntoLayout>(&self, shape: S) -> Result<S::Layout, ReshapeError> {
[INFO] [stdout]      |                          ^ required by the implicit `Sized` requirement on this type parameter in `MutLayout::reshaped_for_copy`
[INFO] [stdout] help: consider relaxing the implicit `Sized` restriction
[INFO] [stdout]      |
[INFO] [stdout]  745 |     fn reshaped_for_copy<S: IntoLayout + ?Sized>(&self, shape: S) -> Result<S::Layout, ReshapeError> {
[INFO] [stdout]      |                                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `[usize]: IntoLayout` is not satisfied
[INFO] [stdout]     --> src/layout.rs:1683:42
[INFO] [stdout]      |
[INFO] [stdout] 1683 |                 layout.reshaped_for_view(*new_shape)
[INFO] [stdout]      |                        ----------------- ^^^^^^^^^^ the trait `IntoLayout` is not implemented for `[usize]`
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] note: required by a bound in `MutLayout::reshaped_for_view`
[INFO] [stdout]     --> src/layout.rs:737:29
[INFO] [stdout]      |
[INFO] [stdout]  737 |     fn reshaped_for_view<S: IntoLayout>(&self, shape: S) -> Result<S::Layout, ReshapeError> {
[INFO] [stdout]      |                             ^^^^^^^^^^ required by this bound in `MutLayout::reshaped_for_view`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]      |
[INFO] [stdout] 1683 |                 layout.reshaped_for_view(&*new_shape)
[INFO] [stdout]      |                                          +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[usize]` cannot be known at compilation time
[INFO] [stdout]     --> src/layout.rs:1683:42
[INFO] [stdout]      |
[INFO] [stdout] 1683 |                 layout.reshaped_for_view(*new_shape)
[INFO] [stdout]      |                        ----------------- ^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = help: the trait `Sized` is not implemented for `[usize]`
[INFO] [stdout] note: required by an implicit `Sized` bound in `MutLayout::reshaped_for_view`
[INFO] [stdout]     --> src/layout.rs:737:26
[INFO] [stdout]      |
[INFO] [stdout]  737 |     fn reshaped_for_view<S: IntoLayout>(&self, shape: S) -> Result<S::Layout, ReshapeError> {
[INFO] [stdout]      |                          ^ required by the implicit `Sized` requirement on this type parameter in `MutLayout::reshaped_for_view`
[INFO] [stdout] help: consider relaxing the implicit `Sized` restriction
[INFO] [stdout]      |
[INFO] [stdout]  737 |     fn reshaped_for_view<S: IntoLayout + ?Sized>(&self, shape: S) -> Result<S::Layout, ReshapeError> {
[INFO] [stdout]      |                                        ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]     --> src/layout.rs:1688:28
[INFO] [stdout]      |
[INFO] [stdout] 1688 |                 assert_eq!(new_layout.shape(), *new_shape);
[INFO] [stdout]      |                            ^^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each_clone` found for array `[layout::tests::test_slice_axis::Case<'_>; 1]` in the current scope
[INFO] [stdout]     --> src/layout.rs:1720:15
[INFO] [stdout]      |
[INFO] [stdout] 1720 |         cases.test_each_clone(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^^^^^^^ method not found in `[layout::tests::test_slice_axis::Case<'_>; 1]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_slice_axis_invalid::Case<'_>; 2]` in the current scope
[INFO] [stdout]     --> src/layout.rs:1766:15
[INFO] [stdout]      |
[INFO] [stdout] 1766 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `[layout::tests::test_slice_axis_invalid::Case<'_>; 2]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_slice_invalid::Case<'_>; 5]` in the current scope
[INFO] [stdout]     --> src/layout.rs:1826:15
[INFO] [stdout]      |
[INFO] [stdout] 1826 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `[layout::tests::test_slice_invalid::Case<'_>; 5]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for struct `Vec<layout::tests::test_split::Case>` in the current scope
[INFO] [stdout]     --> src/layout.rs:1914:15
[INFO] [stdout]      |
[INFO] [stdout] 1914 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `Vec<layout::tests::test_split::Case>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `[usize; 2]` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1923:50
[INFO] [stdout]      |
[INFO] [stdout] 1923 |                 NdLayout::from_shape_and_strides(*shape, *strides, OverlapPolicy::AllowOverlap)
[INFO] [stdout]      |                                                  ^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `[usize; 2]` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1923:58
[INFO] [stdout]      |
[INFO] [stdout] 1923 |                 NdLayout::from_shape_and_strides(*shape, *strides, OverlapPolicy::AllowOverlap)
[INFO] [stdout]      |                                                          ^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `[usize; 2]` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1926:38
[INFO] [stdout]      |
[INFO] [stdout] 1926 |                 NdLayout::from_shape(*shape)
[INFO] [stdout]      |                                      ^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1939:33
[INFO] [stdout]      |
[INFO] [stdout] 1939 |             check_split(layout, *axis, *mid);
[INFO] [stdout]      |                                 ^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1939:40
[INFO] [stdout]      |
[INFO] [stdout] 1939 |             check_split(layout, *axis, *mid);
[INFO] [stdout]      |                                        ^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1940:37
[INFO] [stdout]      |
[INFO] [stdout] 1940 |             check_split(dyn_layout, *axis, *mid);
[INFO] [stdout]      |                                     ^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]     --> src/layout.rs:1940:44
[INFO] [stdout]      |
[INFO] [stdout] 1940 |             check_split(dyn_layout, *axis, *mid);
[INFO] [stdout]      |                                            ^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_merge_axes::Case<'_>; 7]` in the current scope
[INFO] [stdout]     --> src/layout.rs:2008:15
[INFO] [stdout]      |
[INFO] [stdout] 2008 |         cases.test_each(|case| {
[INFO] [stdout]      |         ------^^^^^^^^^ method not found in `[layout::tests::test_merge_axes::Case<'_>; 7]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[overlap::tests::test_is_contiguous::Case<'_>; 11]` in the current scope
[INFO] [stdout]    --> src/overlap.rs:159:15
[INFO] [stdout]     |
[INFO] [stdout] 159 |         cases.test_each(|case| {
[INFO] [stdout]     |         ------^^^^^^^^^ method not found in `[overlap::tests::test_is_contiguous::Case<'_>; 11]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[slice_range::tests::test_index_range::Case; 14]` in the current scope
[INFO] [stdout]    --> src/slice_range.rs:637:15
[INFO] [stdout]     |
[INFO] [stdout] 637 |         cases.test_each(|case| {
[INFO] [stdout]     |         ------^^^^^^^^^ method not found in `[slice_range::tests::test_index_range::Case; 14]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced
[INFO] [stdout]    --> src/slice_range.rs:644:52
[INFO] [stdout]     |
[INFO] [stdout] 644 |             let mut index_iter = range.index_range(*dim_size).into_iter();
[INFO] [stdout]     |                                                    ^^^^^^^^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each` found for array `[slice_range::tests::test_index_range_steps::Case; 4]` in the current scope
[INFO] [stdout]    --> src/slice_range.rs:690:15
[INFO] [stdout]     |
[INFO] [stdout] 690 |         cases.test_each(|case| {
[INFO] [stdout]     |         ------^^^^^^^^^ method not found in `[slice_range::tests::test_index_range_steps::Case; 4]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `test_each_clone` found for array `[impl_debug::tests::test_debug::Case<'_>; 10]` in the current scope
[INFO] [stdout]    --> src/impl_debug.rs:278:15
[INFO] [stdout]     |
[INFO] [stdout] 278 |         cases.test_each_clone(|case| {
[INFO] [stdout]     |         ------^^^^^^^^^^^^^^^ method not found in `[impl_debug::tests::test_debug::Case<'_>; 10]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0282, E0432, E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rten-tensor` (lib test) due to 40 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f71d9a4b7fca287e55dff2068ce26ac9f5a739e267e250e75a2f4ae184c3bec9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f71d9a4b7fca287e55dff2068ce26ac9f5a739e267e250e75a2f4ae184c3bec9", kill_on_drop: false }`
[INFO] [stdout] f71d9a4b7fca287e55dff2068ce26ac9f5a739e267e250e75a2f4ae184c3bec9
