[INFO] fetching crate rten-tensor 0.19.0... [INFO] checking rten-tensor-0.19.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate rten-tensor 0.19.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rten-tensor 0.19.0 [INFO] finished tweaking crates.io crate rten-tensor 0.19.0 [INFO] tweaked toml for crates.io crate rten-tensor 0.19.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rten-tensor 0.19.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten-tensor 0.19.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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45cbe4338d66aad53870e775d0455eac8e7ba8fc0c377de4a41c89a4f3fa8f14 [INFO] running `Command { std: "docker" "start" "-a" "45cbe4338d66aad53870e775d0455eac8e7ba8fc0c377de4a41c89a4f3fa8f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45cbe4338d66aad53870e775d0455eac8e7ba8fc0c377de4a41c89a4f3fa8f14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45cbe4338d66aad53870e775d0455eac8e7ba8fc0c377de4a41c89a4f3fa8f14", kill_on_drop: false }` [INFO] [stdout] 45cbe4338d66aad53870e775d0455eac8e7ba8fc0c377de4a41c89a4f3fa8f14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead8a0c5f89827db812e79a8318f41a6dca3d7d94a4a17766cfa6262155c02fd [INFO] running `Command { std: "docker" "start" "-a" "ead8a0c5f89827db812e79a8318f41a6dca3d7d94a4a17766cfa6262155c02fd", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rten-tensor v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/copy.rs:543:9 [INFO] [stdout] | [INFO] [stdout] 543 | 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:1527:9 [INFO] [stdout] | [INFO] [stdout] 1527 | 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:1715:13 [INFO] [stdout] | [INFO] [stdout] 1715 | 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:1766:13 [INFO] [stdout] | [INFO] [stdout] 1766 | 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:658:15 [INFO] [stdout] | [INFO] [stdout] 658 | 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_try_from_shape_and_strides::Case<'_>; 2]` in the current scope [INFO] [stdout] --> src/layout.rs:1578:15 [INFO] [stdout] | [INFO] [stdout] 1578 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[layout::tests::test_try_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:1615:15 [INFO] [stdout] | [INFO] [stdout] 1615 | 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:1625:62 [INFO] [stdout] | [INFO] [stdout] 1625 | 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:1625:69 [INFO] [stdout] | [INFO] [stdout] 1625 | 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:1626:39 [INFO] [stdout] | [INFO] [stdout] 1626 | 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:1627:39 [INFO] [stdout] | [INFO] [stdout] 1627 | 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:1630:69 [INFO] [stdout] | [INFO] [stdout] 1630 | 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:1630:76 [INFO] [stdout] | [INFO] [stdout] 1630 | 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:1765:15 [INFO] [stdout] | [INFO] [stdout] 1765 | 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:1773:31 [INFO] [stdout] | [INFO] [stdout] 1773 | 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:1774:42 [INFO] [stdout] | [INFO] [stdout] 1774 | 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:976:29 [INFO] [stdout] | [INFO] [stdout] 976 | 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] 1774 | 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:1774:42 [INFO] [stdout] | [INFO] [stdout] 1774 | 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:976:26 [INFO] [stdout] | [INFO] [stdout] 976 | 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] 976 | 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:1776:42 [INFO] [stdout] | [INFO] [stdout] 1776 | 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:968:29 [INFO] [stdout] | [INFO] [stdout] 968 | 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] 1776 | 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:1776:42 [INFO] [stdout] | [INFO] [stdout] 1776 | 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:968:26 [INFO] [stdout] | [INFO] [stdout] 968 | 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] 968 | fn reshaped_for_view(&self, shape: S) -> Result { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | fn slice(&self, range: Range) -> ViewData { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | fn slice(&self, range: Range) -> ViewData<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | fn view(&self) -> ViewData { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 95 | fn view(&self) -> ViewData<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | fn slice_mut(&mut self, range: Range) -> ViewMutData { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 213 | fn slice_mut(&mut self, range: Range) -> ViewMutData<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/storage.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | fn view_mut(&mut self) -> ViewMutData { [INFO] [stdout] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | fn view_mut(&mut self) -> ViewMutData<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | fn view(&self) -> TensorBase, Self::Layout>; [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 74 | fn view(&self) -> TensorBase, Self::Layout>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn as_cow(&self) -> TensorBase, Self::Layout> [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 84 | fn as_cow(&self) -> TensorBase, Self::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:92:15 [INFO] [stdout] | [INFO] [stdout] 92 | fn as_dyn(&self) -> TensorBase, DynLayout> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | fn as_dyn(&self) -> TensorBase, DynLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:97:20 [INFO] [stdout] | [INFO] [stdout] 97 | fn axis_chunks(&self, dim: usize, chunk_size: usize) -> AxisChunks { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 97 | fn axis_chunks(&self, dim: usize, chunk_size: usize) -> AxisChunks<'_, Self::Elem, Self::Layout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | fn axis_iter(&self, dim: usize) -> AxisIter [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | fn axis_iter(&self, dim: usize) -> AxisIter<'_, Self::Elem, Self::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | fn broadcast(&self, shape: S) -> TensorBase, S::Layout> [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | fn broadcast(&self, shape: S) -> TensorBase, S::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 124 | shape: S, [INFO] [stdout] 125 | ) -> Result, S::Layout>, ExpandError> [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 125 | ) -> Result, S::Layout>, ExpandError> [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:1813:15 [INFO] [stdout] | [INFO] [stdout] 1813 | cases.test_each_clone(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[layout::tests::test_slice_axis::Case<'_>; 1]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 168 | ) -> TensorBase, ::Output> [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 168 | ) -> TensorBase, ::Output> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | fn inner_iter(&self) -> InnerIter> { [INFO] [stdout] | ^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 176 | fn inner_iter(&self) -> InnerIter<'_, Self::Elem, NdLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | fn inner_iter_dyn(&self, n: usize) -> InnerIter { [INFO] [stdout] | ^^^^^ -------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn inner_iter_dyn(&self, n: usize) -> InnerIter<'_, Self::Elem, DynLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | fn iter(&self) -> Iter; [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | fn iter(&self) -> Iter<'_, Self::Elem>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 209 | fn lanes(&self, dim: usize) -> Lanes { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 209 | fn lanes(&self, dim: usize) -> Lanes<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | fn nd_view(&self) -> TensorBase, NdLayout> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | fn nd_view(&self) -> TensorBase, NdLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:305:19 [INFO] [stdout] | [INFO] [stdout] 305 | fn transposed(&self) -> TensorBase, Self::Layout> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 305 | fn transposed(&self) -> TensorBase, Self::Layout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 327 | range: R, [INFO] [stdout] 328 | ) -> TensorBase, >::Layout> [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 328 | ) -> TensorBase, >::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 340 | ) -> TensorBase, Self::Layout> { [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 340 | ) -> TensorBase, Self::Layout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:348:9 [INFO] [stdout] | [INFO] [stdout] 348 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 351 | TensorBase, >::Layout>, [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 351 | TensorBase, >::Layout>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn squeezed(&self) -> TensorView { [INFO] [stdout] | ^^^^^ ---------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 434 | fn squeezed(&self) -> TensorView<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:457:22 [INFO] [stdout] | [INFO] [stdout] 457 | fn to_contiguous(&self) -> TensorBase, Self::Layout> [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 457 | fn to_contiguous(&self) -> TensorBase, Self::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:466:35 [INFO] [stdout] | [INFO] [stdout] 466 | fn to_contiguous_in(&self, alloc: A) -> TensorBase, Self::Layout> [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 466 | fn to_contiguous_in(&self, alloc: A) -> TensorBase, Self::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | fn to_slice(&self) -> Cow<[Self::Elem]> [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 484 | fn to_slice(&self) -> Cow<'_, [Self::Elem]> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:509:28 [INFO] [stdout] | [INFO] [stdout] 509 | fn weakly_checked_view(&self) -> WeaklyCheckedView, Self::Layout> { [INFO] [stdout] | ^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 509 | fn weakly_checked_view(&self) -> WeaklyCheckedView, Self::Layout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:617:26 [INFO] [stdout] | [INFO] [stdout] 617 | pub fn axis_iter_mut(&mut self, dim: usize) -> AxisIterMut [INFO] [stdout] | ^^^^^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 617 | pub fn axis_iter_mut(&mut self, dim: usize) -> AxisIterMut<'_, S::Elem, L> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:627:28 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn axis_chunks_mut(&mut self, dim: usize, chunk_size: usize) -> AxisChunksMut { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 627 | pub fn axis_chunks_mut(&mut self, dim: usize, chunk_size: usize) -> AxisChunksMut<'_, S::Elem, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:643:23 [INFO] [stdout] | [INFO] [stdout] 643 | pub fn as_dyn_mut(&mut self) -> TensorBase, DynLayout> { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 643 | pub fn as_dyn_mut(&mut self) -> TensorBase, DynLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:700:9 [INFO] [stdout] | [INFO] [stdout] 700 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 703 | ) -> TensorBase, ::Output> [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 703 | ) -> TensorBase, ::Output> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:747:32 [INFO] [stdout] | [INFO] [stdout] 747 | pub(crate) fn mut_view_ref(&mut self) -> MutViewRef { [INFO] [stdout] | ^^^^^^^^^ ---------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 747 | pub(crate) fn mut_view_ref(&mut self) -> MutViewRef<'_, S::Elem, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:752:43 [INFO] [stdout] | [INFO] [stdout] 752 | pub fn inner_iter_mut(&mut self) -> InnerIterMut> { [INFO] [stdout] | ^^^^^^^^^ ---------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 752 | pub fn inner_iter_mut(&mut self) -> InnerIterMut<'_, S::Elem, NdLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:760:31 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn inner_iter_dyn_mut(&mut self, n: usize) -> InnerIterMut { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 760 | pub fn inner_iter_dyn_mut(&mut self, n: usize) -> InnerIterMut<'_, S::Elem, DynLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:766:21 [INFO] [stdout] | [INFO] [stdout] 766 | pub fn iter_mut(&mut self) -> IterMut { [INFO] [stdout] | ^^^^^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 766 | pub fn iter_mut(&mut self) -> IterMut<'_, S::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:772:22 [INFO] [stdout] | [INFO] [stdout] 772 | pub fn lanes_mut(&mut self, dim: usize) -> LanesMut { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 772 | pub fn lanes_mut(&mut self, dim: usize) -> LanesMut<'_, S::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:779:40 [INFO] [stdout] | [INFO] [stdout] 779 | pub fn nd_view_mut(&mut self) -> TensorBase, NdLayout> { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 779 | pub fn nd_view_mut(&mut self) -> TensorBase, NdLayout> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:790:25 [INFO] [stdout] | [INFO] [stdout] 790 | pub fn permuted_mut(&mut self, order: L::Index<'_>) -> TensorBase, L> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 790 | pub fn permuted_mut(&mut self, order: L::Index<'_>) -> TensorBase, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 804 | shape: SH, [INFO] [stdout] 805 | ) -> Result, SH::Layout>, ReshapeError> { [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 805 | ) -> Result, SH::Layout>, ReshapeError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:815:9 [INFO] [stdout] | [INFO] [stdout] 815 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 818 | ) -> TensorBase, L> { [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 818 | ) -> TensorBase, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:832:9 [INFO] [stdout] | [INFO] [stdout] 832 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 833 | range: R, [INFO] [stdout] 834 | ) -> TensorBase, >::Layout> [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 834 | ) -> TensorBase, >::Layout> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:845:9 [INFO] [stdout] | [INFO] [stdout] 845 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 846 | range: R, [INFO] [stdout] 847 | ) -> Result, >::Layout>, SliceError> [INFO] [stdout] | -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 847 | ) -> Result, >::Layout>, SliceError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:859:21 [INFO] [stdout] | [INFO] [stdout] 859 | pub fn view_mut(&mut self) -> TensorBase, L> [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 859 | pub fn view_mut(&mut self) -> TensorBase, L> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:871:36 [INFO] [stdout] | [INFO] [stdout] 871 | pub fn weakly_checked_view_mut(&mut self) -> WeaklyCheckedView, L> { [INFO] [stdout] | ^^^^^^^^^ -------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 871 | pub fn weakly_checked_view_mut(&mut self) -> WeaklyCheckedView, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:1736:13 [INFO] [stdout] | [INFO] [stdout] 1736 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1736 | fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tensor.rs:1817:13 [INFO] [stdout] | [INFO] [stdout] 1817 | fn view(&self) -> TensorBase, L> { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1817 | fn view(&self) -> TensorBase, L> { [INFO] [stdout] | +++ [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:1859:15 [INFO] [stdout] | [INFO] [stdout] 1859 | 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:1919:15 [INFO] [stdout] | [INFO] [stdout] 1919 | 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:2007:15 [INFO] [stdout] | [INFO] [stdout] 2007 | 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:2016:54 [INFO] [stdout] | [INFO] [stdout] 2016 | NdLayout::try_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:2016:62 [INFO] [stdout] | [INFO] [stdout] 2016 | NdLayout::try_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:2019:38 [INFO] [stdout] | [INFO] [stdout] 2019 | 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:2032:33 [INFO] [stdout] | [INFO] [stdout] 2032 | 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:2032:40 [INFO] [stdout] | [INFO] [stdout] 2032 | 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:2033:37 [INFO] [stdout] | [INFO] [stdout] 2033 | 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:2033:44 [INFO] [stdout] | [INFO] [stdout] 2033 | 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:2101:15 [INFO] [stdout] | [INFO] [stdout] 2101 | 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" "ead8a0c5f89827db812e79a8318f41a6dca3d7d94a4a17766cfa6262155c02fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead8a0c5f89827db812e79a8318f41a6dca3d7d94a4a17766cfa6262155c02fd", kill_on_drop: false }` [INFO] [stdout] ead8a0c5f89827db812e79a8318f41a6dca3d7d94a4a17766cfa6262155c02fd