[INFO] fetching crate rten-tensor 0.22.1... [INFO] testing rten-tensor-0.22.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rten-tensor 0.22.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rten-tensor 0.22.1 [INFO] finished tweaking crates.io crate rten-tensor 0.22.1 [INFO] tweaked toml for crates.io crate rten-tensor 0.22.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-tensor 0.22.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten-tensor 0.22.1 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b773ef98ec7163748264a06ab0ce45c77129608b954dfafb0277956671064673 [INFO] running `Command { std: "docker" "start" "-a" "b773ef98ec7163748264a06ab0ce45c77129608b954dfafb0277956671064673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b773ef98ec7163748264a06ab0ce45c77129608b954dfafb0277956671064673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b773ef98ec7163748264a06ab0ce45c77129608b954dfafb0277956671064673", kill_on_drop: false }` [INFO] [stdout] b773ef98ec7163748264a06ab0ce45c77129608b954dfafb0277956671064673 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ba7fbfe5430005bc35c6839a117dacc7080f3465f3523d466e37e5c7f07879f [INFO] running `Command { std: "docker" "start" "-a" "3ba7fbfe5430005bc35c6839a117dacc7080f3465f3523d466e37e5c7f07879f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [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.22.1 [INFO] [stderr] Compiling rten-tensor v0.22.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s [INFO] running `Command { std: "docker" "inspect" "3ba7fbfe5430005bc35c6839a117dacc7080f3465f3523d466e37e5c7f07879f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba7fbfe5430005bc35c6839a117dacc7080f3465f3523d466e37e5c7f07879f", kill_on_drop: false }` [INFO] [stdout] 3ba7fbfe5430005bc35c6839a117dacc7080f3465f3523d466e37e5c7f07879f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad1b65e0b70c5dcacde4b7afca499ce4131a4de90d5adaff89c57b6f8866e607 [INFO] running `Command { std: "docker" "start" "-a" "ad1b65e0b70c5dcacde4b7afca499ce4131a4de90d5adaff89c57b6f8866e607", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling rten-tensor v0.22.1 (/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] 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(&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] 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(&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] 745 | 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: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(&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] 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(&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] 737 | 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: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` 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` [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, 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" "ad1b65e0b70c5dcacde4b7afca499ce4131a4de90d5adaff89c57b6f8866e607", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad1b65e0b70c5dcacde4b7afca499ce4131a4de90d5adaff89c57b6f8866e607", kill_on_drop: false }` [INFO] [stdout] ad1b65e0b70c5dcacde4b7afca499ce4131a4de90d5adaff89c57b6f8866e607