[INFO] fetching crate rten 0.19.0... [INFO] testing rten-0.19.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rten 0.19.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rten 0.19.0 [INFO] finished tweaking crates.io crate rten 0.19.0 [INFO] tweaked toml for crates.io crate rten 0.19.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rten 0.19.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rten-simd v0.19.0 [INFO] [stderr] Downloaded fastrand-contrib v0.1.0 [INFO] [stderr] Downloaded rten-vecmath v0.19.0 [INFO] [stderr] Downloaded rten-tensor v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78d4fd36679adca1b95cbdc267608c6fcc7d309d58fd15e05985873c18e128b0 [INFO] running `Command { std: "docker" "start" "-a" "78d4fd36679adca1b95cbdc267608c6fcc7d309d58fd15e05985873c18e128b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78d4fd36679adca1b95cbdc267608c6fcc7d309d58fd15e05985873c18e128b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78d4fd36679adca1b95cbdc267608c6fcc7d309d58fd15e05985873c18e128b0", kill_on_drop: false }` [INFO] [stdout] 78d4fd36679adca1b95cbdc267608c6fcc7d309d58fd15e05985873c18e128b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1af999e0db270dbc8bce7c5b78a100bd7c9284fe36efa7596ac3159803838e95 [INFO] running `Command { std: "docker" "start" "-a" "1af999e0db270dbc8bce7c5b78a100bd7c9284fe36efa7596ac3159803838e95", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling rten-simd v0.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling rten-vecmath v0.19.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rten-tensor v0.19.0 [INFO] [stderr] Compiling rten v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gemm/kernels.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn slice_mut(&mut self, range: Range) -> MatVecOutput { [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] 460 | pub fn slice_mut(&mut self, range: Range) -> MatVecOutput<'_, T, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gemm/kernels.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn as_bool_beta(&mut self) -> MatVecOutput { [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] 471 | pub fn as_bool_beta(&mut self) -> MatVecOutput<'_, T, bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gemm/prepack.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | pub(super) fn block(&self, rows: Range, depth_block_idx: usize) -> LhsBlock { [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] 84 | pub(super) fn block(&self, rows: Range, depth_block_idx: usize) -> LhsBlock<'_, 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/gemm/prepack.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub(super) fn block(&self, cols: Range, depth_block_idx: usize) -> RhsBlock { [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] 133 | pub(super) fn block(&self, cols: Range, depth_block_idx: usize) -> RhsBlock<'_, 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/gemm/tiles.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe fn tile(&self, row: usize, col: usize) -> OutputTile { [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] 58 | pub unsafe fn tile(&self, row: usize, col: usize) -> OutputTile<'_, 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/graph/capture_env.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn child(&self) -> CaptureEnv { [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] 71 | pub fn child(&self) -> CaptureEnv<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/capture_env.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_input(&self, name: &str) -> Option { [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] 97 | pub fn get_input(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn as_view(&self) -> ValueView { [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] 198 | pub fn as_view(&self) -> ValueView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn view(&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] 231 | pub fn view(&self) -> TensorView<'_, 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/graph/node.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | fn as_view(&self) -> Option>; [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] 299 | fn as_view(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 328 | impl_typed_constant!(f32, Float); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 329 | impl_typed_constant!(i32, Int32); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 330 | impl_typed_constant!(i8, Int8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 331 | impl_typed_constant!(u8, UInt8); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:667:22 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn node_info(&self, id: NodeId) -> Option { [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] 667 | pub fn node_info(&self, id: NodeId) -> Option> { [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_pool.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 256 | fn auto_return(self, pool: &TensorPool) -> PoolRef [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] 256 | fn auto_return(self, pool: &TensorPool) -> PoolRef<'_, Self> [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_pool.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | fn auto_return(self, pool: &TensorPool) -> PoolRef { [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] 262 | fn auto_return(self, pool: &TensorPool) -> PoolRef<'_, EB> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/timing.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn display(&self, indent: usize) -> DisplayTable [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] 78 | fn display(&self, indent: usize) -> DisplayTable<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn as_view(&self) -> ValueView { [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] 534 | pub fn as_view(&self) -> ValueView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/mod.rs:691:20 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn as_view(&self) -> ValueView { [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] 691 | pub fn as_view(&self) -> ValueView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:11974:27 [INFO] [stdout] | [INFO] [stdout] 11974 | pub fn root_as_model(buf: &[u8]) -> Result { [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] 11974 | pub fn root_as_model(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:11984:41 [INFO] [stdout] | [INFO] [stdout] 11984 | pub fn size_prefixed_root_as_model(buf: &[u8]) -> Result { [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] 11984 | pub fn size_prefixed_root_as_model(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:12017:44 [INFO] [stdout] | [INFO] [stdout] 12017 | pub unsafe fn root_as_model_unchecked(buf: &[u8]) -> Model { [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] 12017 | pub unsafe fn root_as_model_unchecked(buf: &[u8]) -> Model<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:12024:58 [INFO] [stdout] | [INFO] [stdout] 12024 | pub unsafe fn size_prefixed_root_as_model_unchecked(buf: &[u8]) -> Model { [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] 12024 | pub unsafe fn size_prefixed_root_as_model_unchecked(buf: &[u8]) -> Model<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.60s [INFO] running `Command { std: "docker" "inspect" "1af999e0db270dbc8bce7c5b78a100bd7c9284fe36efa7596ac3159803838e95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1af999e0db270dbc8bce7c5b78a100bd7c9284fe36efa7596ac3159803838e95", kill_on_drop: false }` [INFO] [stdout] 1af999e0db270dbc8bce7c5b78a100bd7c9284fe36efa7596ac3159803838e95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7969f023677bff4b8dce306602591f28447fef2ba31b7ef6ed84dfd88db82605 [INFO] running `Command { std: "docker" "start" "-a" "7969f023677bff4b8dce306602591f28447fef2ba31b7ef6ed84dfd88db82605", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gemm/kernels.rs:460:22 [INFO] [stdout] | [INFO] [stdout] 460 | pub fn slice_mut(&mut self, range: Range) -> MatVecOutput { [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] 460 | pub fn slice_mut(&mut self, range: Range) -> MatVecOutput<'_, T, B> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gemm/kernels.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn as_bool_beta(&mut self) -> MatVecOutput { [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] 471 | pub fn as_bool_beta(&mut self) -> MatVecOutput<'_, T, bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/gemm/prepack.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | pub(super) fn block(&self, rows: Range, depth_block_idx: usize) -> LhsBlock { [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] 84 | pub(super) fn block(&self, rows: Range, depth_block_idx: usize) -> LhsBlock<'_, 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/gemm/prepack.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub(super) fn block(&self, cols: Range, depth_block_idx: usize) -> RhsBlock { [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] 133 | pub(super) fn block(&self, cols: Range, depth_block_idx: usize) -> RhsBlock<'_, 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/gemm/tiles.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | pub unsafe fn tile(&self, row: usize, col: usize) -> OutputTile { [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] 58 | pub unsafe fn tile(&self, row: usize, col: usize) -> OutputTile<'_, 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/graph/capture_env.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn child(&self) -> CaptureEnv { [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] 71 | pub fn child(&self) -> CaptureEnv<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/capture_env.rs:97:22 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_input(&self, name: &str) -> Option { [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] 97 | pub fn get_input(&self, name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn as_view(&self) -> ValueView { [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] 198 | pub fn as_view(&self) -> ValueView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn view(&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] 231 | pub fn view(&self) -> TensorView<'_, 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/graph/node.rs:299:16 [INFO] [stdout] | [INFO] [stdout] 299 | fn as_view(&self) -> Option>; [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] 299 | fn as_view(&self) -> Option>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 328 | impl_typed_constant!(f32, Float); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 329 | impl_typed_constant!(i32, Int32); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 330 | impl_typed_constant!(i8, Int8); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/node.rs:307:24 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 331 | impl_typed_constant!(u8, UInt8); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_typed_constant` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 307 | fn as_view(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/model.rs:667:22 [INFO] [stdout] | [INFO] [stdout] 667 | pub fn node_info(&self, id: NodeId) -> Option { [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] 667 | pub fn node_info(&self, id: NodeId) -> Option> { [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_pool.rs:256:32 [INFO] [stdout] | [INFO] [stdout] 256 | fn auto_return(self, pool: &TensorPool) -> PoolRef [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] 256 | fn auto_return(self, pool: &TensorPool) -> PoolRef<'_, Self> [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_pool.rs:262:32 [INFO] [stdout] | [INFO] [stdout] 262 | fn auto_return(self, pool: &TensorPool) -> PoolRef { [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] 262 | fn auto_return(self, pool: &TensorPool) -> PoolRef<'_, EB> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/timing.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 78 | fn display(&self, indent: usize) -> DisplayTable [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] 78 | fn display(&self, indent: usize) -> DisplayTable<'_, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/mod.rs:534:20 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn as_view(&self) -> ValueView { [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] 534 | pub fn as_view(&self) -> ValueView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ops/mod.rs:691:20 [INFO] [stdout] | [INFO] [stdout] 691 | pub fn as_view(&self) -> ValueView { [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] 691 | pub fn as_view(&self) -> ValueView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:11974:27 [INFO] [stdout] | [INFO] [stdout] 11974 | pub fn root_as_model(buf: &[u8]) -> Result { [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] 11974 | pub fn root_as_model(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:11984:41 [INFO] [stdout] | [INFO] [stdout] 11984 | pub fn size_prefixed_root_as_model(buf: &[u8]) -> Result { [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] 11984 | pub fn size_prefixed_root_as_model(buf: &[u8]) -> Result, flatbuffers::InvalidFlatbuffer> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:12017:44 [INFO] [stdout] | [INFO] [stdout] 12017 | pub unsafe fn root_as_model_unchecked(buf: &[u8]) -> Model { [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] 12017 | pub unsafe fn root_as_model_unchecked(buf: &[u8]) -> Model<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/schema_generated.rs:12024:58 [INFO] [stdout] | [INFO] [stdout] 12024 | pub unsafe fn size_prefixed_root_as_model_unchecked(buf: &[u8]) -> Model { [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] 12024 | pub unsafe fn size_prefixed_root_as_model_unchecked(buf: &[u8]) -> Model<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rten v0.19.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/gemm/packing.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | 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/gemm.rs:1154:9 [INFO] [stdout] | [INFO] [stdout] 1154 | 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_testing` [INFO] [stdout] --> src/gemm.rs:1159:9 [INFO] [stdout] | [INFO] [stdout] 1159 | 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/header.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_testing` [INFO] [stdout] --> src/optimize.rs:1117:9 [INFO] [stdout] | [INFO] [stdout] 1117 | 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/ops/attention.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 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/ops/binary_elementwise.rs:914:9 [INFO] [stdout] | [INFO] [stdout] 914 | 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/ops/concat.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | 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/ops/conv.rs:821:9 [INFO] [stdout] | [INFO] [stdout] 821 | 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/ops/convert.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | 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/ops/einsum.rs:706:9 [INFO] [stdout] | [INFO] [stdout] 706 | 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/ops/gather.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | 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/ops/generate.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | 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/ops/layout.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | 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_testing` [INFO] [stdout] --> src/ops/layout.rs:642:9 [INFO] [stdout] | [INFO] [stdout] 642 | 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/ops/matmul.rs:569:9 [INFO] [stdout] | [INFO] [stdout] 569 | 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_testing` [INFO] [stdout] --> src/ops/matmul.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | 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/ops/norm.rs:675:9 [INFO] [stdout] | [INFO] [stdout] 675 | 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/ops/pad.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | 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/ops/pooling.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | 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/ops/quantize.rs:418:9 [INFO] [stdout] | [INFO] [stdout] 418 | 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/ops/reduce.rs:812:9 [INFO] [stdout] | [INFO] [stdout] 812 | 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/ops/resize.rs:478:9 [INFO] [stdout] | [INFO] [stdout] 478 | 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/ops/rnn.rs:602:9 [INFO] [stdout] | [INFO] [stdout] 602 | 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/ops/slice.rs:180:9 [INFO] [stdout] | [INFO] [stdout] 180 | 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/ops/split.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | 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/ops/trilu.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | 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/ops/unary_elementwise.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | 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/ops/variadic_elementwise.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | 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/ops/transform_inputs.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | 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/ops/conv.rs:2013:13 [INFO] [stdout] | [INFO] [stdout] 2013 | 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_clone` found for array `[packing::tests::test_packing_buffer::Case; 1]` in the current scope [INFO] [stdout] --> src/gemm/packing.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 316 | cases.test_each_clone(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[packing::tests::test_packing_buffer::Case; 1]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemm_input_errors::Case; 2]` in the current scope [INFO] [stdout] --> src/gemm.rs:1441:15 [INFO] [stdout] | [INFO] [stdout] 1441 | cases.test_each( [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemm_input_errors::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/gemm.rs:1449:43 [INFO] [stdout] | [INFO] [stdout] 1449 | let mut output = vec![0.; *output_len]; [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gemm.rs:1460:45 [INFO] [stdout] | [INFO] [stdout] 1460 | assert_eq!(result.as_ref(), Err(expected)); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Result<&(), &GemmError>`, found `Result<_, GemmError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<&(), &GemmError>` [INFO] [stdout] found enum `Result<_, GemmError>` [INFO] [stdout] help: try using `.as_ref()` to convert `Result<_, GemmError>` to `Result<&(), &GemmError>` [INFO] [stdout] | [INFO] [stdout] 1460 | assert_eq!(result.as_ref(), Err(expected).as_ref()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemm_u8i8_i32_zero_point::Case; 6]` in the current scope [INFO] [stdout] --> src/gemm.rs:1587:15 [INFO] [stdout] | [INFO] [stdout] 1587 | cases.test_each(|&Case { m, n, k }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemm_u8i8_i32_zero_point::Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemv_u8i8_i32_transposed::Case; 2]` in the current scope [INFO] [stdout] --> src/gemm.rs:1684:15 [INFO] [stdout] | [INFO] [stdout] 1684 | cases.test_each(|&Case { k, n }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemv_u8i8_i32_transposed::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemm_beta::Case; 2]` in the current scope [INFO] [stdout] --> src/gemm.rs:1732:15 [INFO] [stdout] | [INFO] [stdout] 1732 | cases.test_each(|&Case { m, n, k }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemm_beta::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemm_beta_zero::Case; 3]` in the current scope [INFO] [stdout] --> src/gemm.rs:1783:15 [INFO] [stdout] | [INFO] [stdout] 1783 | cases.test_each(|&Case { m, n, k }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemm_beta_zero::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemm_bias::Case; 4]` in the current scope [INFO] [stdout] --> src/gemm.rs:1827:15 [INFO] [stdout] | [INFO] [stdout] 1827 | cases.test_each(|&Case { m, n, k }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemm_bias::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each_clone` found for array `[gemm::tests::test_gemm_prepack::Case; 4]` in the current scope [INFO] [stdout] --> src/gemm.rs:1880:15 [INFO] [stdout] | [INFO] [stdout] 1880 | cases.test_each_clone(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[gemm::tests::test_gemm_prepack::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gemm::tests::test_gemv::Case; 17]` in the current scope [INFO] [stdout] --> src/gemm.rs:2237:15 [INFO] [stdout] | [INFO] [stdout] 2237 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gemm::tests::test_gemv::Case; 17]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[header::tests::test_invalid_header::Case; 6]` in the current scope [INFO] [stdout] --> src/header.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | cases.test_each(|Case { buf, expected }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[header::tests::test_invalid_header::Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/header.rs:249:43 [INFO] [stdout] | [INFO] [stdout] 249 | let result = Header::from_buf(buf); [INFO] [stdout] | ---------------- ^^^ expected `&[u8]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/header.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn from_buf(buf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^ ---------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 249 | let result = Header::from_buf(&buf); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/header.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(result.as_ref(), Err(expected)); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Result<&Header, &HeaderError>`, found `Result<_, HeaderError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<&Header, &HeaderError>` [INFO] [stdout] found enum `Result<_, HeaderError>` [INFO] [stdout] help: try using `.as_ref()` to convert `Result<_, HeaderError>` to `Result<&Header, &HeaderError>` [INFO] [stdout] | [INFO] [stdout] 250 | assert_eq!(result.as_ref(), Err(expected).as_ref()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[optimize::tests::test_fuse_layer_norm::Case; 2]` in the current scope [INFO] [stdout] --> src/optimize.rs:1504:15 [INFO] [stdout] | [INFO] [stdout] 1504 | cases.test_each(|&Case { with_bias }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[optimize::tests::test_fuse_layer_norm::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[attention::tests::test_add_softmax::Case; 5]` in the current scope [INFO] [stdout] --> src/ops/attention.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 192 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[attention::tests::test_add_softmax::Case; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[binary_elementwise::tests::test_pow::Case; 5]` in the current scope [INFO] [stdout] --> src/ops/binary_elementwise.rs:1410:15 [INFO] [stdout] | [INFO] [stdout] 1410 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[binary_elementwise::tests::test_pow::Case; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1428:38 [INFO] [stdout] | [INFO] [stdout] 1417 | expect_equal(&result, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1428 | test_case!(a, b, expected); [INFO] [stdout] | ^^^^^^^^ expected `&TensorBase, DynLayout>`, found `TensorBase, DynLayout>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TensorBase<_, _>` [INFO] [stdout] found struct `TensorBase<_, _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rten-tensor-0.19.0/src/test_util.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn expect_equal(x: &V, y: &V) -> Result<(), ExpectEqualError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1428 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1428:38 [INFO] [stdout] | [INFO] [stdout] 1422 | expect_equal(&a, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1428 | test_case!(a, b, expected); [INFO] [stdout] | ^^^^^^^^ expected `&TensorBase, DynLayout>`, found `TensorBase, DynLayout>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TensorBase<_, _>` [INFO] [stdout] found struct `TensorBase<_, _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rten-tensor-0.19.0/src/test_util.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn expect_equal(x: &V, y: &V) -> Result<(), ExpectEqualError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1428 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1431:38 [INFO] [stdout] | [INFO] [stdout] 1417 | expect_equal(&result, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1431 | test_case!(a, b, expected); [INFO] [stdout] | ^^^^^^^^ expected `&TensorBase, DynLayout>`, found `TensorBase, DynLayout>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TensorBase<_, _>` [INFO] [stdout] found struct `TensorBase<_, _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rten-tensor-0.19.0/src/test_util.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn expect_equal(x: &V, y: &V) -> Result<(), ExpectEqualError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1431 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1431:38 [INFO] [stdout] | [INFO] [stdout] 1422 | expect_equal(&a, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1431 | test_case!(a, b, expected); [INFO] [stdout] | ^^^^^^^^ expected `&TensorBase, DynLayout>`, found `TensorBase, DynLayout>` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TensorBase<_, _>` [INFO] [stdout] found struct `TensorBase<_, _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rten-tensor-0.19.0/src/test_util.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn expect_equal(x: &V, y: &V) -> Result<(), ExpectEqualError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1431 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[concat::tests::test_tile::Case; 8]` in the current scope [INFO] [stdout] --> src/ops/concat.rs:466:15 [INFO] [stdout] | [INFO] [stdout] 466 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[concat::tests::test_tile::Case; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[concat::tests::test_tile_invalid_repeats::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/concat.rs:503:15 [INFO] [stdout] | [INFO] [stdout] 503 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[concat::tests::test_tile_invalid_repeats::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/concat.rs:512:47 [INFO] [stdout] | [INFO] [stdout] 512 | assert_eq!(result.err().as_ref(), Some(expected_error)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Option<&OpError>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&OpError>` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: try using `.as_ref()` to convert `Option` to `Option<&OpError>` [INFO] [stdout] | [INFO] [stdout] 512 | assert_eq!(result.err().as_ref(), Some(expected_error).as_ref()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for struct `Vec` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1318:15 [INFO] [stdout] | [INFO] [stdout] 1318 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_invalid::Case<'_>; 5]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1469:15 [INFO] [stdout] | [INFO] [stdout] 1469 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_invalid::Case<'_>; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_1d::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1567:15 [INFO] [stdout] | [INFO] [stdout] 1567 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_1d::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_integer_u8_u8::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1698:23 [INFO] [stdout] | [INFO] [stdout] 1698 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_u8_u8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1722 | impl_conv_integer_test!(test_conv_integer_u8_u8, u8, u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_conv_integer_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_integer_u8_i8::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1698:23 [INFO] [stdout] | [INFO] [stdout] 1698 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_u8_i8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1723 | impl_conv_integer_test!(test_conv_integer_u8_i8, u8, i8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_conv_integer_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_integer_i8_u8::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1698:23 [INFO] [stdout] | [INFO] [stdout] 1698 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_i8_u8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1724 | impl_conv_integer_test!(test_conv_integer_i8_u8, i8, u8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_conv_integer_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_integer_i8_i8::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1698:23 [INFO] [stdout] | [INFO] [stdout] 1698 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_i8_i8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1725 | impl_conv_integer_test!(test_conv_integer_i8_i8, i8, i8); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `impl_conv_integer_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[conv::tests::test_conv_transpose_output_size_and_padding::Case; 11]` in the current scope [INFO] [stdout] --> src/ops/conv.rs:1957:15 [INFO] [stdout] | [INFO] [stdout] 1957 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_transpose_output_size_and_padding::Case; 11]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[ops::convert::tests::test_cast::Case; 8]` in the current scope [INFO] [stdout] --> src/ops/convert.rs:183:15 [INFO] [stdout] | [INFO] [stdout] 183 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[ops::convert::tests::test_cast::Case; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[ops::convert::tests::test_cast_like::Case; 1]` in the current scope [INFO] [stdout] --> src/ops/convert.rs:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[ops::convert::tests::test_cast_like::Case; 1]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[einsum::tests::test_einsum::Case<'_>; 42]` in the current scope [INFO] [stdout] --> src/ops/einsum.rs:1049:15 [INFO] [stdout] | [INFO] [stdout] 1049 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[einsum::tests::test_einsum::Case<'_>; 42]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&Result, DynLayout>, OpError>` with `Result, DynLayout>, OpError>` [INFO] [stdout] --> src/ops/einsum.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | / assert_eq!( [INFO] [stdout] 1059 | | &output, expected, [INFO] [stdout] 1060 | | "result mismatch for equation {}", [INFO] [stdout] 1061 | | equation [INFO] [stdout] 1062 | | ); [INFO] [stdout] | |_____________^ no implementation for `&Result, DynLayout>, OpError> == Result, DynLayout>, OpError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, DynLayout>, OpError>>` is not implemented for `&Result, DynLayout>, OpError>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[einsum::tests::test_einsum_path::Case<'_>; 5]` in the current scope [INFO] [stdout] --> src/ops/einsum.rs:1164:15 [INFO] [stdout] | [INFO] [stdout] 1164 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[einsum::tests::test_einsum_path::Case<'_>; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gather::tests::test_gather_invalid_indices::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:735:15 [INFO] [stdout] | [INFO] [stdout] 735 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_gather_invalid_indices::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gather::tests::test_gather_elements::Case; 8]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:816:15 [INFO] [stdout] | [INFO] [stdout] 816 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_gather_elements::Case; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each_value` found for array `[gather::tests::test_gather_elements_invalid_inputs::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:863:15 [INFO] [stdout] | [INFO] [stdout] 863 | cases.test_each_value(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[gather::tests::test_gather_elements_invalid_inputs::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gather::tests::test_gather_nd::Case; 8]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:943:15 [INFO] [stdout] | [INFO] [stdout] 943 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_gather_nd::Case; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gather::tests::test_scatter_nd::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:1079:15 [INFO] [stdout] | [INFO] [stdout] 1079 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_scatter_nd::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gather::tests::test_scatter_nd_reduce::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:1135:15 [INFO] [stdout] | [INFO] [stdout] 1135 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_scatter_nd_reduce::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[gather::tests::test_scatter_nd_invalid::Case; 5]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:1192:15 [INFO] [stdout] | [INFO] [stdout] 1192 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_scatter_nd_invalid::Case; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[generate::tests::test_eye_like::Case; 5]` in the current scope [INFO] [stdout] --> src/ops/generate.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 291 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[generate::tests::test_eye_like::Case; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[generate::tests::test_onehot::Case; 5]` in the current scope [INFO] [stdout] --> src/ops/generate.rs:374:15 [INFO] [stdout] | [INFO] [stdout] 374 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[generate::tests::test_onehot::Case; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_depth_to_space::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/layout.rs:713:15 [INFO] [stdout] | [INFO] [stdout] 713 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[layout::tests::test_depth_to_space::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_flatten::Case; 9]` in the current scope [INFO] [stdout] --> src/ops/layout.rs:842:15 [INFO] [stdout] | [INFO] [stdout] 842 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[layout::tests::test_flatten::Case; 9]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[layout::tests::test_shape::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/layout.rs:1090:15 [INFO] [stdout] | [INFO] [stdout] 1090 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[layout::tests::test_shape::Case; 7]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[matmul::tests::test_matmul::Case<'_>; 10]` in the current scope [INFO] [stdout] --> src/ops/matmul.rs:862:15 [INFO] [stdout] | [INFO] [stdout] 862 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[matmul::tests::test_matmul::Case<'_>; 10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[matmul::tests::test_matmul_fused::Case<'_>; 2]` in the current scope [INFO] [stdout] --> src/ops/matmul.rs:964:15 [INFO] [stdout] | [INFO] [stdout] 964 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[matmul::tests::test_matmul_fused::Case<'_>; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option` cannot be dereferenced [INFO] [stdout] --> src/ops/matmul.rs:973:28 [INFO] [stdout] | [INFO] [stdout] 973 | alpha: *alpha, [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option>` cannot be dereferenced [INFO] [stdout] --> src/ops/matmul.rs:977:72 [INFO] [stdout] | [INFO] [stdout] 977 | let result = matmul_fused(&pool, a.view(), b.view(), None, *bias, *alpha).unwrap(); [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option` cannot be dereferenced [INFO] [stdout] --> src/ops/matmul.rs:977:79 [INFO] [stdout] | [INFO] [stdout] 977 | let result = matmul_fused(&pool, a.view(), b.view(), None, *bias, *alpha).unwrap(); [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[matmul::tests::test_matmul_invalid::Case<'_>; 4]` in the current scope [INFO] [stdout] --> src/ops/matmul.rs:1016:15 [INFO] [stdout] | [INFO] [stdout] 1016 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[matmul::tests::test_matmul_invalid::Case<'_>; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/matmul.rs:1030:41 [INFO] [stdout] | [INFO] [stdout] 1030 | assert_eq!(result.as_ref(), Err(error)); [INFO] [stdout] | ^^^^^^^^^^ expected `Result<&TensorBase, ...>, ...>`, found `Result<_, OpError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<&TensorBase, DynLayout>, &OpError>` [INFO] [stdout] found enum `Result<_, OpError>` [INFO] [stdout] help: try using `.as_ref()` to convert `Result<_, OpError>` to `Result<&TensorBase, DynLayout>, &OpError>` [INFO] [stdout] | [INFO] [stdout] 1030 | assert_eq!(result.as_ref(), Err(error).as_ref()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each_clone` found for array `[matmul::tests::test_matmul_zero_sized_dim::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/matmul.rs:1049:15 [INFO] [stdout] | [INFO] [stdout] 1049 | cases.test_each_clone(|Case { m, n, k }| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[matmul::tests::test_matmul_zero_sized_dim::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[matmul::tests::test_matmul_integer::Case; 15]` in the current scope [INFO] [stdout] --> src/ops/matmul.rs:1201:15 [INFO] [stdout] | [INFO] [stdout] 1201 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[matmul::tests::test_matmul_integer::Case; 15]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option` cannot be dereferenced [INFO] [stdout] --> src/ops/matmul.rs:1234:46 [INFO] [stdout] | [INFO] [stdout] 1234 | assert_eq!(result.err(), *expected_err); [INFO] [stdout] | ^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[norm::tests::test_batch_norm::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/norm.rs:711:15 [INFO] [stdout] | [INFO] [stdout] 711 | cases.test_each(|Case { input }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[norm::tests::test_batch_norm::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[norm::tests::test_layer_normalization::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/norm.rs:907:15 [INFO] [stdout] | [INFO] [stdout] 907 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[norm::tests::test_layer_normalization::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/norm.rs:922:17 [INFO] [stdout] | [INFO] [stdout] 922 | *axis, [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result, DynLayout>, OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/norm.rs:930:58 [INFO] [stdout] | [INFO] [stdout] 930 | (result, expected) => assert_eq!(result, *expected), [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pad::tests::test_pad_reflect::Case; 11]` in the current scope [INFO] [stdout] --> src/ops/pad.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pad::tests::test_pad_reflect::Case; 11]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&Result, DynLayout>, OpError>` with `Result, DynLayout>, OpError>` [INFO] [stdout] --> src/ops/pad.rs:390:39 [INFO] [stdout] | [INFO] [stdout] 390 | (result, expected) => assert_eq!(&result, expected), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&Result, DynLayout>, OpError> == Result, DynLayout>, OpError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq, DynLayout>, OpError>>` is not implemented for `&Result, DynLayout>, OpError>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pad::tests::test_pad_invalid_inputs::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/pad.rs:475:15 [INFO] [stdout] | [INFO] [stdout] 475 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pad::tests::test_pad_invalid_inputs::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `InputList<'_>: From<(TensorBase, DynLayout>, ..., ...)>` is not satisfied [INFO] [stdout] --> src/ops/pad.rs:484:33 [INFO] [stdout] | [INFO] [stdout] 484 | op.run_simple::<_, Tensor>((input, pads, const_val)) [INFO] [stdout] | ---------- ^ the trait `From<(TensorBase, DynLayout>, TensorBase, DynLayout>, ops::Value)>` is not implemented for `InputList<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `InputList<'_>` implements `From<()>` [INFO] [stdout] `InputList<'_>` implements `From<(I1, I2)>` [INFO] [stdout] `InputList<'_>` implements `From<(I1, I2, I3)>` [INFO] [stdout] `InputList<'_>` implements `From<(I1,)>` [INFO] [stdout] `InputList<'_>` implements `From` [INFO] [stdout] = note: required for `(TensorBase, DynLayout>, TensorBase, DynLayout>, ops::Value)` to implement `Into>` [INFO] [stdout] note: required by a bound in `OperatorExt::run_simple` [INFO] [stdout] --> src/ops/mod.rs:1139:26 [INFO] [stdout] | [INFO] [stdout] 1139 | fn run_simple<'a, I: Into>, O: TryFrom>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `OperatorExt::run_simple` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rten-05fec335478e5bcd.long-type-3975921141934300851.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `InputList<'_>: From<(TensorBase, DynLayout>, TensorBase, DynLayout>)>` is not satisfied [INFO] [stdout] --> src/ops/pad.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | op.run_simple::<_, Tensor>((input, pads)) [INFO] [stdout] | ---------- ^ the trait `From<(TensorBase, DynLayout>, TensorBase, DynLayout>)>` is not implemented for `InputList<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `InputList<'_>` implements `From<()>` [INFO] [stdout] `InputList<'_>` implements `From<(I1, I2)>` [INFO] [stdout] `InputList<'_>` implements `From<(I1, I2, I3)>` [INFO] [stdout] `InputList<'_>` implements `From<(I1,)>` [INFO] [stdout] `InputList<'_>` implements `From` [INFO] [stdout] = note: required for `(TensorBase, DynLayout>, TensorBase, DynLayout>)` to implement `Into>` [INFO] [stdout] note: required by a bound in `OperatorExt::run_simple` [INFO] [stdout] --> src/ops/mod.rs:1139:26 [INFO] [stdout] | [INFO] [stdout] 1139 | fn run_simple<'a, I: Into>, O: TryFrom>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ required by this bound in `OperatorExt::run_simple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/pad.rs:489:47 [INFO] [stdout] | [INFO] [stdout] 489 | assert_eq!(result.err().as_ref(), Some(expected_error)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected `Option<&OpError>`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&OpError>` [INFO] [stdout] found enum `Option` [INFO] [stdout] help: try using `.as_ref()` to convert `Option` to `Option<&OpError>` [INFO] [stdout] | [INFO] [stdout] 489 | assert_eq!(result.err().as_ref(), Some(expected_error).as_ref()); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pooling::tests::test_average_pool::Case<'_>; 6]` in the current scope [INFO] [stdout] --> src/ops/pooling.rs:579:15 [INFO] [stdout] | [INFO] [stdout] 579 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pooling::tests::test_average_pool::Case<'_>; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pooling::tests::test_max_pool::Case<'_>; 6]` in the current scope [INFO] [stdout] --> src/ops/pooling.rs:750:15 [INFO] [stdout] | [INFO] [stdout] 750 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pooling::tests::test_max_pool::Case<'_>; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[pooling::tests::test_calc_output_size_and_padding::Case; 10]` in the current scope [INFO] [stdout] --> src/ops/pooling.rs:893:15 [INFO] [stdout] | [INFO] [stdout] 893 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pooling::tests::test_calc_output_size_and_padding::Case; 10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `(usize, usize)` cannot be dereferenced [INFO] [stdout] --> src/ops/pooling.rs:905:21 [INFO] [stdout] | [INFO] [stdout] 905 | *in_size, [INFO] [stdout] | ^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `(usize, usize)` cannot be dereferenced [INFO] [stdout] --> src/ops/pooling.rs:906:21 [INFO] [stdout] | [INFO] [stdout] 906 | *kernel_size, [INFO] [stdout] | ^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `(usize, usize)` cannot be dereferenced [INFO] [stdout] --> src/ops/pooling.rs:907:21 [INFO] [stdout] | [INFO] [stdout] 907 | *strides, [INFO] [stdout] | ^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `(usize, usize)` cannot be dereferenced [INFO] [stdout] --> src/ops/pooling.rs:909:26 [INFO] [stdout] | [INFO] [stdout] 909 | Some(*dilations), [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&Result<(usize, usize, [usize; 4]), OpError>` with `Result<(usize, usize, [usize; 4]), OpError>` [INFO] [stdout] --> src/ops/pooling.rs:903:13 [INFO] [stdout] | [INFO] [stdout] 903 | / assert_eq!( [INFO] [stdout] 904 | | &calc_output_size_and_padding( [INFO] [stdout] 905 | | *in_size, [INFO] [stdout] 906 | | *kernel_size, [INFO] [stdout] ... | [INFO] [stdout] 911 | | expected [INFO] [stdout] 912 | | ); [INFO] [stdout] | |_____________^ no implementation for `&Result<(usize, usize, [usize; 4]), OpError> == Result<(usize, usize, [usize; 4]), OpError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `&Result<(usize, usize, [usize; 4]), OpError>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[quantize::tests::test_dequantize_quantize_linear::Case; 6]` in the current scope [INFO] [stdout] --> src/ops/quantize.rs:493:15 [INFO] [stdout] | [INFO] [stdout] 493 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[quantize::tests::test_dequantize_quantize_linear::Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:512:25 [INFO] [stdout] | [INFO] [stdout] 512 | *axis, [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result, DynLayout>, OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:514:40 [INFO] [stdout] | [INFO] [stdout] 514 | assert_eq!(result, *expected); [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:524:29 [INFO] [stdout] | [INFO] [stdout] 524 | ... *axis, [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TensorBase, DynLayout>` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:527:49 [INFO] [stdout] | [INFO] [stdout] 527 | assert_eq!(requantized, *input); [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | *axis, [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result, DynLayout>, OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:540:40 [INFO] [stdout] | [INFO] [stdout] 540 | assert_eq!(result, *expected); [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:550:29 [INFO] [stdout] | [INFO] [stdout] 550 | ... *axis, [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TensorBase, DynLayout>` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:553:49 [INFO] [stdout] | [INFO] [stdout] 553 | assert_eq!(requantized, *input); [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[quantize::tests::test_dynamic_quantize_linear::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/quantize.rs:607:15 [INFO] [stdout] | [INFO] [stdout] 607 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[quantize::tests::test_dynamic_quantize_linear::Case; 7]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `f32` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:623:63 [INFO] [stdout] | [INFO] [stdout] 623 | expect_equal_with_tolerance(&dequantized, &input, *max_error, *max_error).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `f32` cannot be dereferenced [INFO] [stdout] --> src/ops/quantize.rs:623:75 [INFO] [stdout] | [INFO] [stdout] 623 | expect_equal_with_tolerance(&dequantized, &input, *max_error, *max_error).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[reduce::tests::test_arg_max::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/reduce.rs:895:15 [INFO] [stdout] | [INFO] [stdout] 895 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[reduce::tests::test_arg_max::Case; 7]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:904:55 [INFO] [stdout] | [INFO] [stdout] 904 | let result = arg_max(&pool, input.view(), *axis, *keep_dims); [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:904:62 [INFO] [stdout] | [INFO] [stdout] 904 | let result = arg_max(&pool, input.view(), *axis, *keep_dims); [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result, DynLayout>, OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:906:32 [INFO] [stdout] | [INFO] [stdout] 906 | assert_eq!(result, *expected); [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[reduce::tests::test_cum_sum::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/reduce.rs:980:15 [INFO] [stdout] | [INFO] [stdout] 980 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[reduce::tests::test_cum_sum::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `isize` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:988:55 [INFO] [stdout] | [INFO] [stdout] 988 | let result = cum_sum(&pool, input.view(), *axis); [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result, DynLayout>, OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:990:32 [INFO] [stdout] | [INFO] [stdout] 990 | assert_eq!(result, *expected); [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[reduce::tests::test_reduce_axes_via_input::Case; 7]` in the current scope [INFO] [stdout] --> src/ops/reduce.rs:1059:15 [INFO] [stdout] | [INFO] [stdout] 1059 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[reduce::tests::test_reduce_axes_via_input::Case; 7]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[reduce::tests::test_reduce_mean::Case; 8]` in the current scope [INFO] [stdout] --> src/ops/reduce.rs:1185:15 [INFO] [stdout] | [INFO] [stdout] 1185 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[reduce::tests::test_reduce_mean::Case; 8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | *keep_dims, [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/reduce.rs:1203:43 [INFO] [stdout] | [INFO] [stdout] 1203 | expect_equal(&result, expected).unwrap(); [INFO] [stdout] | ------------ ^^^^^^^^ expected `&TensorBase, DynLayout>`, found `TensorBase, DynLayout>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&TensorBase<_, _>` [INFO] [stdout] found struct `TensorBase<_, _>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rten-tensor-0.19.0/src/test_util.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn expect_equal(x: &V, y: &V) -> Result<(), ExpectEqualError> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 1203 | expect_equal(&result, &expected).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result, DynLayout>, OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1205:58 [INFO] [stdout] | [INFO] [stdout] 1205 | (result, expected) => assert_eq!(result, *expected), [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[reduce::tests::test_topk::Case; 11]` in the current scope [INFO] [stdout] --> src/ops/reduce.rs:1523:15 [INFO] [stdout] | [INFO] [stdout] 1523 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[reduce::tests::test_topk::Case; 11]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1537:17 [INFO] [stdout] | [INFO] [stdout] 1537 | *k, [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Option` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1538:17 [INFO] [stdout] | [INFO] [stdout] 1538 | *axis, [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1539:17 [INFO] [stdout] | [INFO] [stdout] 1539 | *largest, [INFO] [stdout] | ^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TensorBase, DynLayout>` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1549:41 [INFO] [stdout] | [INFO] [stdout] 1549 | assert_eq!(indices, *expected_indices, "indices differ"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Result<(TensorBase, DynLayout>, TensorBase, DynLayout>), OpError>` cannot be dereferenced [INFO] [stdout] --> src/ops/reduce.rs:1551:58 [INFO] [stdout] | [INFO] [stdout] 1551 | (result, expected) => assert_eq!(result, *expected), [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[resize::tests::test_resize_nearest::Case; 6]` in the current scope [INFO] [stdout] --> src/ops/resize.rs:563:15 [INFO] [stdout] | [INFO] [stdout] 563 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[resize::tests::test_resize_nearest::Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[resize::tests::test_resize_nearest_mode::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/resize.rs:629:15 [INFO] [stdout] | [INFO] [stdout] 629 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[resize::tests::test_resize_nearest_mode::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[resize::tests::test_resize_bilinear::Case<'_>; 9]` in the current scope [INFO] [stdout] --> src/ops/resize.rs:760:15 [INFO] [stdout] | [INFO] [stdout] 760 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[resize::tests::test_resize_bilinear::Case<'_>; 9]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[resize::tests::test_resize_scales_sizes::Case; 12]` in the current scope [INFO] [stdout] --> src/ops/resize.rs:884:15 [INFO] [stdout] | [INFO] [stdout] 884 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[resize::tests::test_resize_scales_sizes::Case; 12]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `&_` with `OpError` [INFO] [stdout] --> src/ops/resize.rs:904:21 [INFO] [stdout] | [INFO] [stdout] 904 | assert_eq!(&err, expected_err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no implementation for `&_ == OpError` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `&_` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each_clone` found for array `[rnn::tests::test_rnn_ops_with_random_input::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/rnn.rs:695:15 [INFO] [stdout] | [INFO] [stdout] 695 | cases.test_each_clone(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[rnn::tests::test_rnn_ops_with_random_input::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for reference `&[rnn::tests::test_rnn_pytorch::Case; 6]` in the current scope [INFO] [stdout] --> src/ops/rnn.rs:987:15 [INFO] [stdout] | [INFO] [stdout] 987 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `&[rnn::tests::test_rnn_pytorch::Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[ops::slice::tests::test_slice_with_step::Case<'_>; 4]` in the current scope [INFO] [stdout] --> src/ops/slice.rs:507:15 [INFO] [stdout] | [INFO] [stdout] 507 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[ops::slice::tests::test_slice_with_step::Case<'_>; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[ops::slice::tests::test_slice_invalid_lengths::Case<'_>; 4]` in the current scope [INFO] [stdout] --> src/ops/slice.rs:575:15 [INFO] [stdout] | [INFO] [stdout] 575 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[ops::slice::tests::test_slice_invalid_lengths::Case<'_>; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[split::tests::test_split::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/split.rs:196:15 [INFO] [stdout] | [INFO] [stdout] 196 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[split::tests::test_split::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[split::tests::test_split_invalid_inputs::Case<'_>; 5]` in the current scope [INFO] [stdout] --> src/ops/split.rs:262:15 [INFO] [stdout] | [INFO] [stdout] 262 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[split::tests::test_split_invalid_inputs::Case<'_>; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[trilu::tests::test_trilu::Case; 9]` in the current scope [INFO] [stdout] --> src/ops/trilu.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[trilu::tests::test_trilu::Case; 9]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[unary_elementwise::tests::test_clip::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/unary_elementwise.rs:793:15 [INFO] [stdout] | [INFO] [stdout] 793 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[unary_elementwise::tests::test_clip::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[unary_elementwise::tests::test_elu::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/unary_elementwise.rs:815:15 [INFO] [stdout] | [INFO] [stdout] 815 | cases.test_each(|Case { alpha }| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[unary_elementwise::tests::test_elu::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `f32` cannot be dereferenced [INFO] [stdout] --> src/ops/unary_elementwise.rs:817:67 [INFO] [stdout] | [INFO] [stdout] 817 | let reference_op = |&x: &f32| if x >= 0. { x } else { *alpha * (x.exp() - 1.) }; [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `f32` cannot be dereferenced [INFO] [stdout] --> src/ops/unary_elementwise.rs:818:45 [INFO] [stdout] | [INFO] [stdout] 818 | test_unary_op_impl(Elu { alpha: *alpha }, reference_op, input).unwrap(); [INFO] [stdout] | ^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[variadic_elementwise::tests::test_max::Case; 9]` in the current scope [INFO] [stdout] --> src/ops/variadic_elementwise.rs:245:15 [INFO] [stdout] | [INFO] [stdout] 245 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[variadic_elementwise::tests::test_max::Case; 9]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[transform_inputs::tests::test_fused_transpose::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/transform_inputs.rs:143:15 [INFO] [stdout] | [INFO] [stdout] 143 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[transform_inputs::tests::test_fused_transpose::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `usize` cannot be dereferenced [INFO] [stdout] --> src/ops/transform_inputs.rs:155:26 [INFO] [stdout] | [INFO] [stdout] 155 | .permute(*transpose_input, Some([1, 0].into())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `TensorBase, DynLayout>` cannot be dereferenced [INFO] [stdout] --> src/ops/transform_inputs.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(output, *expected); [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, 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` (lib test) due to 158 previous errors [INFO] running `Command { std: "docker" "inspect" "7969f023677bff4b8dce306602591f28447fef2ba31b7ef6ed84dfd88db82605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7969f023677bff4b8dce306602591f28447fef2ba31b7ef6ed84dfd88db82605", kill_on_drop: false }` [INFO] [stdout] 7969f023677bff4b8dce306602591f28447fef2ba31b7ef6ed84dfd88db82605