[INFO] fetching crate rten-tensor 0.24.0... [INFO] testing rten-tensor-0.24.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate rten-tensor 0.24.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate rten-tensor 0.24.0 [INFO] finished tweaking crates.io crate rten-tensor 0.24.0 [INFO] tweaked toml for crates.io crate rten-tensor 0.24.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-tensor 0.24.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten-tensor 0.24.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v2.0.110 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 445b41a6ba1942a9c4fb04debca43425f76117769207563d4751e875d4e7295c [INFO] running `Command { std: "docker" "start" "-a" "445b41a6ba1942a9c4fb04debca43425f76117769207563d4751e875d4e7295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "445b41a6ba1942a9c4fb04debca43425f76117769207563d4751e875d4e7295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445b41a6ba1942a9c4fb04debca43425f76117769207563d4751e875d4e7295c", kill_on_drop: false }` [INFO] [stdout] 445b41a6ba1942a9c4fb04debca43425f76117769207563d4751e875d4e7295c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6801b7853a64550c2e133612a3f37050ebabd8718a0d11cb46067e49cadc5454 [INFO] running `Command { std: "docker" "start" "-a" "6801b7853a64550c2e133612a3f37050ebabd8718a0d11cb46067e49cadc5454", kill_on_drop: false }` [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rten-base v0.24.0 [INFO] [stderr] Compiling rten-tensor v0.24.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.63s [INFO] running `Command { std: "docker" "inspect" "6801b7853a64550c2e133612a3f37050ebabd8718a0d11cb46067e49cadc5454", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6801b7853a64550c2e133612a3f37050ebabd8718a0d11cb46067e49cadc5454", kill_on_drop: false }` [INFO] [stdout] 6801b7853a64550c2e133612a3f37050ebabd8718a0d11cb46067e49cadc5454 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29afe69f9142212b0c66639e29d9f18f8735d0de8eef88ee7824bfde07537278 [INFO] running `Command { std: "docker" "start" "-a" "29afe69f9142212b0c66639e29d9f18f8735d0de8eef88ee7824bfde07537278", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling rten-tensor v0.24.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/copy.rs:482:9 [INFO] [stdout] | [INFO] [stdout] 482 | 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:1444:9 [INFO] [stdout] | [INFO] [stdout] 1444 | 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:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | 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:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | 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:1881:13 [INFO] [stdout] | [INFO] [stdout] 1881 | 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:1934:13 [INFO] [stdout] | [INFO] [stdout] 1934 | 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[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:605:15 [INFO] [stdout] | [INFO] [stdout] 605 | 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:1495:15 [INFO] [stdout] | [INFO] [stdout] 1495 | 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:1532:15 [INFO] [stdout] | [INFO] [stdout] 1532 | 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:1542:62 [INFO] [stdout] | [INFO] [stdout] 1542 | 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:1542:69 [INFO] [stdout] | [INFO] [stdout] 1542 | 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:1543:39 [INFO] [stdout] | [INFO] [stdout] 1543 | 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:1544:39 [INFO] [stdout] | [INFO] [stdout] 1544 | 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:1547:69 [INFO] [stdout] | [INFO] [stdout] 1547 | 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:1547:76 [INFO] [stdout] | [INFO] [stdout] 1547 | 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:1682:15 [INFO] [stdout] | [INFO] [stdout] 1682 | 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:1690:31 [INFO] [stdout] | [INFO] [stdout] 1690 | 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:1691:42 [INFO] [stdout] | [INFO] [stdout] 1691 | 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:750:29 [INFO] [stdout] | [INFO] [stdout] 750 | fn reshaped_for_copy(&self, shape: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `MutLayout::reshaped_for_copy` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1691 | 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:1691:42 [INFO] [stdout] | [INFO] [stdout] 1691 | 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:750:26 [INFO] [stdout] | [INFO] [stdout] 750 | fn reshaped_for_copy(&self, shape: S) -> Result { [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] 750 | fn reshaped_for_copy(&self, shape: S) -> Result { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `[usize]: IntoLayout` is not satisfied [INFO] [stdout] --> src/layout.rs:1693:42 [INFO] [stdout] | [INFO] [stdout] 1693 | 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:742:29 [INFO] [stdout] | [INFO] [stdout] 742 | fn reshaped_for_view(&self, shape: S) -> Result { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `MutLayout::reshaped_for_view` [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1693 | 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:1693:42 [INFO] [stdout] | [INFO] [stdout] 1693 | 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:742:26 [INFO] [stdout] | [INFO] [stdout] 742 | fn reshaped_for_view(&self, shape: S) -> Result { [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] 742 | fn reshaped_for_view(&self, shape: S) -> Result { [INFO] [stdout] | ++++++++ [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:1730:15 [INFO] [stdout] | [INFO] [stdout] 1730 | 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:1776:15 [INFO] [stdout] | [INFO] [stdout] 1776 | 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:1836:15 [INFO] [stdout] | [INFO] [stdout] 1836 | 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` in the current scope [INFO] [stdout] --> src/layout.rs:1924:15 [INFO] [stdout] | [INFO] [stdout] 1924 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `[usize; 2]` cannot be dereferenced [INFO] [stdout] --> src/layout.rs:1933:50 [INFO] [stdout] | [INFO] [stdout] 1933 | 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:1933:58 [INFO] [stdout] | [INFO] [stdout] 1933 | 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:1936:38 [INFO] [stdout] | [INFO] [stdout] 1936 | 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:1949:33 [INFO] [stdout] | [INFO] [stdout] 1949 | 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:1949:40 [INFO] [stdout] | [INFO] [stdout] 1949 | 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:1950:37 [INFO] [stdout] | [INFO] [stdout] 1950 | 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:1950:44 [INFO] [stdout] | [INFO] [stdout] 1950 | 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:2018:15 [INFO] [stdout] | [INFO] [stdout] 2018 | 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:639:15 [INFO] [stdout] | [INFO] [stdout] 639 | 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:646:52 [INFO] [stdout] | [INFO] [stdout] 646 | 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:692:15 [INFO] [stdout] | [INFO] [stdout] 692 | 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:279:15 [INFO] [stdout] | [INFO] [stdout] 279 | cases.test_each_clone(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[impl_debug::tests::test_debug::Case<'_>; 10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rten-tensor` (lib test) due to 39 previous errors [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0599, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29afe69f9142212b0c66639e29d9f18f8735d0de8eef88ee7824bfde07537278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29afe69f9142212b0c66639e29d9f18f8735d0de8eef88ee7824bfde07537278", kill_on_drop: false }` [INFO] [stdout] 29afe69f9142212b0c66639e29d9f18f8735d0de8eef88ee7824bfde07537278