[INFO] fetching crate rten-tensor 0.21.0... [INFO] testing rten-tensor-0.21.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rten-tensor 0.21.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate rten-tensor 0.21.0 [INFO] finished tweaking crates.io crate rten-tensor 0.21.0 [INFO] tweaked toml for crates.io crate rten-tensor 0.21.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-tensor 0.21.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten-tensor 0.21.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe75cf92a153e5a014c444db5fbf760932af77bc7c5ecb81eec9675a7dd2523b [INFO] running `Command { std: "docker" "start" "-a" "fe75cf92a153e5a014c444db5fbf760932af77bc7c5ecb81eec9675a7dd2523b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe75cf92a153e5a014c444db5fbf760932af77bc7c5ecb81eec9675a7dd2523b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe75cf92a153e5a014c444db5fbf760932af77bc7c5ecb81eec9675a7dd2523b", kill_on_drop: false }` [INFO] [stdout] fe75cf92a153e5a014c444db5fbf760932af77bc7c5ecb81eec9675a7dd2523b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 745ac144df7eeb56e6b7de42133c8d41702be2d4e40f8395307ce1fc90c0fa25 [INFO] running `Command { std: "docker" "start" "-a" "745ac144df7eeb56e6b7de42133c8d41702be2d4e40f8395307ce1fc90c0fa25", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [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-core v1.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rten-base v0.21.0 [INFO] [stderr] Compiling rten-tensor v0.21.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.79s [INFO] running `Command { std: "docker" "inspect" "745ac144df7eeb56e6b7de42133c8d41702be2d4e40f8395307ce1fc90c0fa25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745ac144df7eeb56e6b7de42133c8d41702be2d4e40f8395307ce1fc90c0fa25", kill_on_drop: false }` [INFO] [stdout] 745ac144df7eeb56e6b7de42133c8d41702be2d4e40f8395307ce1fc90c0fa25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e7d2b51faf777fcf1807008c82c7f92f6b94d5f85a0a39e731454305fc91719 [INFO] running `Command { std: "docker" "start" "-a" "0e7d2b51faf777fcf1807008c82c7f92f6b94d5f85a0a39e731454305fc91719", 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 rten-tensor v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/copy.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | 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:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | 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:1857:13 [INFO] [stdout] | [INFO] [stdout] 1857 | 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:1910:13 [INFO] [stdout] | [INFO] [stdout] 1910 | 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:599:15 [INFO] [stdout] | [INFO] [stdout] 599 | 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:1454:15 [INFO] [stdout] | [INFO] [stdout] 1454 | 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:1491:15 [INFO] [stdout] | [INFO] [stdout] 1491 | 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:1501:62 [INFO] [stdout] | [INFO] [stdout] 1501 | 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:1501:69 [INFO] [stdout] | [INFO] [stdout] 1501 | 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:1502:39 [INFO] [stdout] | [INFO] [stdout] 1502 | 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:1503:39 [INFO] [stdout] | [INFO] [stdout] 1503 | 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:1506:69 [INFO] [stdout] | [INFO] [stdout] 1506 | 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:1506:76 [INFO] [stdout] | [INFO] [stdout] 1506 | 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:1641:15 [INFO] [stdout] | [INFO] [stdout] 1641 | 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:1649:31 [INFO] [stdout] | [INFO] [stdout] 1649 | 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:1650:42 [INFO] [stdout] | [INFO] [stdout] 1650 | 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:714:29 [INFO] [stdout] | [INFO] [stdout] 714 | 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] 1650 | 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:1650:42 [INFO] [stdout] | [INFO] [stdout] 1650 | 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:714:26 [INFO] [stdout] | [INFO] [stdout] 714 | 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] 714 | 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:1652:42 [INFO] [stdout] | [INFO] [stdout] 1652 | 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:706:29 [INFO] [stdout] | [INFO] [stdout] 706 | 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] 1652 | 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:1652:42 [INFO] [stdout] | [INFO] [stdout] 1652 | 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:706:26 [INFO] [stdout] | [INFO] [stdout] 706 | 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] 706 | 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:1689:15 [INFO] [stdout] | [INFO] [stdout] 1689 | 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:1735:15 [INFO] [stdout] | [INFO] [stdout] 1735 | 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:1795:15 [INFO] [stdout] | [INFO] [stdout] 1795 | 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:1883:15 [INFO] [stdout] | [INFO] [stdout] 1883 | 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:1892:50 [INFO] [stdout] | [INFO] [stdout] 1892 | 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:1892:58 [INFO] [stdout] | [INFO] [stdout] 1892 | 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:1895:38 [INFO] [stdout] | [INFO] [stdout] 1895 | 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:1908:33 [INFO] [stdout] | [INFO] [stdout] 1908 | 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:1908:40 [INFO] [stdout] | [INFO] [stdout] 1908 | 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:1909:37 [INFO] [stdout] | [INFO] [stdout] 1909 | 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:1909:44 [INFO] [stdout] | [INFO] [stdout] 1909 | 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:1977:15 [INFO] [stdout] | [INFO] [stdout] 1977 | 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:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | 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, 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 39 previous errors [INFO] running `Command { std: "docker" "inspect" "0e7d2b51faf777fcf1807008c82c7f92f6b94d5f85a0a39e731454305fc91719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e7d2b51faf777fcf1807008c82c7f92f6b94d5f85a0a39e731454305fc91719", kill_on_drop: false }` [INFO] [stdout] 0e7d2b51faf777fcf1807008c82c7f92f6b94d5f85a0a39e731454305fc91719