[INFO] fetching crate rten 0.22.1... [INFO] testing rten-0.22.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rten 0.22.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rten 0.22.1 [INFO] finished tweaking crates.io crate rten 0.22.1 [INFO] tweaked toml for crates.io crate rten 0.22.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rten 0.22.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rten 0.22.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49e66e043002e798beccd4699b2bdaa91c5f1190273142ffaf0e6ab5b7d9b77a [INFO] running `Command { std: "docker" "start" "-a" "49e66e043002e798beccd4699b2bdaa91c5f1190273142ffaf0e6ab5b7d9b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49e66e043002e798beccd4699b2bdaa91c5f1190273142ffaf0e6ab5b7d9b77a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e66e043002e798beccd4699b2bdaa91c5f1190273142ffaf0e6ab5b7d9b77a", kill_on_drop: false }` [INFO] [stdout] 49e66e043002e798beccd4699b2bdaa91c5f1190273142ffaf0e6ab5b7d9b77a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b35dccee63eaeedbb46c3831953990d09eb1a33110a0287257b8471757c1fadd [INFO] running `Command { std: "docker" "start" "-a" "b35dccee63eaeedbb46c3831953990d09eb1a33110a0287257b8471757c1fadd", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling rten-simd v0.22.1 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling flatbuffers v24.3.25 [INFO] [stderr] Compiling rten-base v0.22.1 [INFO] [stderr] Compiling rten-tensor v0.22.1 [INFO] [stderr] Compiling rten-vecmath v0.22.1 [INFO] [stderr] Compiling rten-model-file v0.22.1 [INFO] [stderr] Compiling rten-gemm v0.22.1 [INFO] [stderr] Compiling rten v0.22.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.34s [INFO] running `Command { std: "docker" "inspect" "b35dccee63eaeedbb46c3831953990d09eb1a33110a0287257b8471757c1fadd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b35dccee63eaeedbb46c3831953990d09eb1a33110a0287257b8471757c1fadd", kill_on_drop: false }` [INFO] [stdout] b35dccee63eaeedbb46c3831953990d09eb1a33110a0287257b8471757c1fadd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] babeb2bb8c396206a511ece468dad86384acebf14f30bfd186183e35228fb517 [INFO] running `Command { std: "docker" "start" "-a" "babeb2bb8c396206a511ece468dad86384acebf14f30bfd186183e35228fb517", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling rten v0.22.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rten_testing` [INFO] [stdout] --> src/optimize/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | 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:1003:9 [INFO] [stdout] | [INFO] [stdout] 1003 | 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:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | 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_transpose.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | 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:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | 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:703:9 [INFO] [stdout] | [INFO] [stdout] 703 | 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:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | 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:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | 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/grid_sample.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | 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:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | 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:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | 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:679:9 [INFO] [stdout] | [INFO] [stdout] 679 | 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:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | 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:576:9 [INFO] [stdout] | [INFO] [stdout] 576 | 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:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | 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:878:9 [INFO] [stdout] | [INFO] [stdout] 878 | 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:541:9 [INFO] [stdout] | [INFO] [stdout] 541 | 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/sequence.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | 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:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | 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:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | 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:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | 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:653:9 [INFO] [stdout] | [INFO] [stdout] 653 | 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:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | 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_transpose.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | use rten_bench::run_bench; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `rten_bench` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rten_bench`, use `cargo add rten_bench` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[optimize::tests::test_fuse_layer_norm::Case; 2]` in the current scope [INFO] [stdout] --> src/optimize/tests.rs:468:11 [INFO] [stdout] | [INFO] [stdout] 468 | 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:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | 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:1499:15 [INFO] [stdout] | [INFO] [stdout] 1499 | 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:1517:38 [INFO] [stdout] | [INFO] [stdout] 1506 | expect_equal(&result, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1517 | 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.22.1/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] 1517 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1517:38 [INFO] [stdout] | [INFO] [stdout] 1511 | expect_equal(&a, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1517 | 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.22.1/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] 1517 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1520:38 [INFO] [stdout] | [INFO] [stdout] 1506 | expect_equal(&result, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1520 | 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.22.1/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] 1520 | test_case!(a, b, &expected); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/binary_elementwise.rs:1520:38 [INFO] [stdout] | [INFO] [stdout] 1511 | expect_equal(&a, $expected).unwrap(); [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 1520 | 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.22.1/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] 1520 | 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:1033:15 [INFO] [stdout] | [INFO] [stdout] 1033 | 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:1184:15 [INFO] [stdout] | [INFO] [stdout] 1184 | 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:1282:15 [INFO] [stdout] | [INFO] [stdout] 1282 | 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:1422:23 [INFO] [stdout] | [INFO] [stdout] 1422 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_u8_u8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1446 | 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:1422:23 [INFO] [stdout] | [INFO] [stdout] 1422 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_u8_i8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1447 | 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:1422:23 [INFO] [stdout] | [INFO] [stdout] 1422 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_i8_u8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1448 | 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:1422:23 [INFO] [stdout] | [INFO] [stdout] 1422 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv::tests::test_conv_integer_i8_i8::Case; 7]` [INFO] [stdout] ... [INFO] [stdout] 1449 | 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_transpose::tests::test_conv_transpose_output_size_and_padding::Case; 14]` in the current scope [INFO] [stdout] --> src/ops/conv_transpose.rs:805:15 [INFO] [stdout] | [INFO] [stdout] 805 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[conv_transpose::tests::test_conv_transpose_output_size_and_padding::Case; 14]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for reference `&[ConvTransposeCase]` in the current scope [INFO] [stdout] --> src/ops/conv_transpose.rs:843:15 [INFO] [stdout] | [INFO] [stdout] 843 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `&[ConvTransposeCase]` [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:230:15 [INFO] [stdout] | [INFO] [stdout] 230 | 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:267:15 [INFO] [stdout] | [INFO] [stdout] 267 | 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:1046:15 [INFO] [stdout] | [INFO] [stdout] 1046 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[einsum::tests::test_einsum::Case<'_>; 42]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:59:22: 59:22 (#1897), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stdout] error[E0277]: can't compare `&Result, DynLayout>, OpError>` with `Result, DynLayout>, OpError>` [INFO] [stdout] --> src/ops/einsum.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | / assert_eq!( [INFO] [stdout] 1056 | | &output, expected, [INFO] [stdout] 1057 | | "result mismatch for equation {}", [INFO] [stdout] 1058 | | equation [INFO] [stdout] 1059 | | ); [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:1161:15 [INFO] [stdout] | [INFO] [stdout] 1161 | 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:737:15 [INFO] [stdout] | [INFO] [stdout] 737 | 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:818:15 [INFO] [stdout] | [INFO] [stdout] 818 | 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:865:15 [INFO] [stdout] | [INFO] [stdout] 865 | 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:945:15 [INFO] [stdout] | [INFO] [stdout] 945 | 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_elements::Case; 5]` in the current scope [INFO] [stdout] --> src/ops/gather.rs:1019:15 [INFO] [stdout] | [INFO] [stdout] 1019 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[gather::tests::test_scatter_elements::Case; 5]` [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:1116:15 [INFO] [stdout] | [INFO] [stdout] 1116 | 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:1172:15 [INFO] [stdout] | [INFO] [stdout] 1172 | 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:1229:15 [INFO] [stdout] | [INFO] [stdout] 1229 | 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:296:15 [INFO] [stdout] | [INFO] [stdout] 296 | 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:379:15 [INFO] [stdout] | [INFO] [stdout] 379 | 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 `[grid_sample::tests::test_grid_sample::Case; 10]` in the current scope [INFO] [stdout] --> src/ops/grid_sample.rs:269:15 [INFO] [stdout] | [INFO] [stdout] 269 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[grid_sample::tests::test_grid_sample::Case; 10]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[grid_sample::tests::test_grid_sample_invalid::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/grid_sample.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 306 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[grid_sample::tests::test_grid_sample_invalid::Case; 2]` [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_cast_scale::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/matmul.rs:774:15 [INFO] [stdout] | [INFO] [stdout] 774 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[matmul::tests::test_cast_scale::Case; 2]` [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:950:15 [INFO] [stdout] | [INFO] [stdout] 950 | 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:1048:15 [INFO] [stdout] | [INFO] [stdout] 1048 | 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:1057:28 [INFO] [stdout] | [INFO] [stdout] 1057 | 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:1061:72 [INFO] [stdout] | [INFO] [stdout] 1061 | 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:1061:79 [INFO] [stdout] | [INFO] [stdout] 1061 | 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:1100:15 [INFO] [stdout] | [INFO] [stdout] 1100 | 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:1114:41 [INFO] [stdout] | [INFO] [stdout] 1114 | 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] 1114 | 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:1133:15 [INFO] [stdout] | [INFO] [stdout] 1133 | 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:1285:15 [INFO] [stdout] | [INFO] [stdout] 1285 | 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:1318:46 [INFO] [stdout] | [INFO] [stdout] 1318 | 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:715:15 [INFO] [stdout] | [INFO] [stdout] 715 | 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:911:15 [INFO] [stdout] | [INFO] [stdout] 911 | 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:926:17 [INFO] [stdout] | [INFO] [stdout] 926 | *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:934:58 [INFO] [stdout] | [INFO] [stdout] 934 | (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 reference `&[pad::tests::Case]` in the current scope [INFO] [stdout] --> src/ops/pad.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `&[pad::tests::Case]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `pad::PadMode` cannot be dereferenced [INFO] [stdout] --> src/ops/pad.rs:363:65 [INFO] [stdout] | [INFO] [stdout] 363 | let result = pad(&pool, input.view(), &pads.view(), *mode, 0.); [INFO] [stdout] | ^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:46:22: 46:22 (#2263), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stdout] error[E0277]: can't compare `&Result, DynLayout>, OpError>` with `Result, DynLayout>, OpError>` [INFO] [stdout] --> src/ops/pad.rs:368:39 [INFO] [stdout] | [INFO] [stdout] 368 | (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:616:15 [INFO] [stdout] | [INFO] [stdout] 616 | 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:625:33 [INFO] [stdout] | [INFO] [stdout] 625 | op.run_simple::<_, Tensor>((input, pads, const_val)) [INFO] [stdout] | ---------- ^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From<(TensorBase, DynLayout>, TensorBase, DynLayout>, value::Value)>` is not implemented for `InputList<'_>` [INFO] [stdout] --> src/ops/mod.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub struct InputList<'a> { [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>, value::Value)` to implement `Into>` [INFO] [stdout] note: required by a bound in `OperatorExt::run_simple` [INFO] [stdout] --> src/ops/mod.rs:622:26 [INFO] [stdout] | [INFO] [stdout] 622 | 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/debug/deps/rten-c29d410e91a794a2.long-type-14894199876719771737.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:627:33 [INFO] [stdout] | [INFO] [stdout] 627 | op.run_simple::<_, Tensor>((input, pads)) [INFO] [stdout] | ---------- ^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `From<(TensorBase, DynLayout>, TensorBase, DynLayout>)>` is not implemented for `InputList<'_>` [INFO] [stdout] --> src/ops/mod.rs:666:1 [INFO] [stdout] | [INFO] [stdout] 666 | pub struct InputList<'a> { [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:622:26 [INFO] [stdout] | [INFO] [stdout] 622 | 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:630:47 [INFO] [stdout] | [INFO] [stdout] 630 | 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] 630 | 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:669:15 [INFO] [stdout] | [INFO] [stdout] 669 | 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:843:15 [INFO] [stdout] | [INFO] [stdout] 843 | 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; 16]` in the current scope [INFO] [stdout] --> src/ops/pooling.rs:1049:15 [INFO] [stdout] | [INFO] [stdout] 1049 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[pooling::tests::test_calc_output_size_and_padding::Case; 16]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `(usize, usize)` cannot be dereferenced [INFO] [stdout] --> src/ops/pooling.rs:1062:21 [INFO] [stdout] | [INFO] [stdout] 1062 | *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:1063:21 [INFO] [stdout] | [INFO] [stdout] 1063 | *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:1064:21 [INFO] [stdout] | [INFO] [stdout] 1064 | *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:1066:26 [INFO] [stdout] | [INFO] [stdout] 1066 | Some(*dilations), [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `RoundMode` cannot be dereferenced [INFO] [stdout] --> src/ops/pooling.rs:1067:21 [INFO] [stdout] | [INFO] [stdout] 1067 | *round_mode, [INFO] [stdout] | ^^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:46:22: 46:22 (#2329), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [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:1060:13 [INFO] [stdout] | [INFO] [stdout] 1060 | / assert_eq!( [INFO] [stdout] 1061 | | &calc_output_size_and_padding( [INFO] [stdout] 1062 | | *in_size, [INFO] [stdout] 1063 | | *kernel_size, [INFO] [stdout] ... | [INFO] [stdout] 1069 | | expected [INFO] [stdout] 1070 | | ); [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:506:15 [INFO] [stdout] | [INFO] [stdout] 506 | 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:525:25 [INFO] [stdout] | [INFO] [stdout] 525 | *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:527:40 [INFO] [stdout] | [INFO] [stdout] 527 | 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:537:29 [INFO] [stdout] | [INFO] [stdout] 537 | ... *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:540:49 [INFO] [stdout] | [INFO] [stdout] 540 | 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:551:25 [INFO] [stdout] | [INFO] [stdout] 551 | *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:553:40 [INFO] [stdout] | [INFO] [stdout] 553 | 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:563:29 [INFO] [stdout] | [INFO] [stdout] 563 | ... *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:566:49 [INFO] [stdout] | [INFO] [stdout] 566 | 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:620:15 [INFO] [stdout] | [INFO] [stdout] 620 | 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:636:63 [INFO] [stdout] | [INFO] [stdout] 636 | 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:636:75 [INFO] [stdout] | [INFO] [stdout] 636 | 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:961:15 [INFO] [stdout] | [INFO] [stdout] 961 | 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:970:55 [INFO] [stdout] | [INFO] [stdout] 970 | 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:970:62 [INFO] [stdout] | [INFO] [stdout] 970 | 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:972:32 [INFO] [stdout] | [INFO] [stdout] 972 | 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:1046:15 [INFO] [stdout] | [INFO] [stdout] 1046 | 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:1054:55 [INFO] [stdout] | [INFO] [stdout] 1054 | 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:1056:32 [INFO] [stdout] | [INFO] [stdout] 1056 | 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:1125:15 [INFO] [stdout] | [INFO] [stdout] 1125 | 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:1251:15 [INFO] [stdout] | [INFO] [stdout] 1251 | 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:1264:17 [INFO] [stdout] | [INFO] [stdout] 1264 | *keep_dims, [INFO] [stdout] | ^^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ops/reduce.rs:1269:43 [INFO] [stdout] | [INFO] [stdout] 1269 | 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.22.1/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] 1269 | 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:1271:58 [INFO] [stdout] | [INFO] [stdout] 1271 | (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:1589:15 [INFO] [stdout] | [INFO] [stdout] 1589 | 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:1603:17 [INFO] [stdout] | [INFO] [stdout] 1603 | *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:1604:17 [INFO] [stdout] | [INFO] [stdout] 1604 | *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:1605:17 [INFO] [stdout] | [INFO] [stdout] 1605 | *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:1615:41 [INFO] [stdout] | [INFO] [stdout] 1615 | 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:1617:58 [INFO] [stdout] | [INFO] [stdout] 1617 | (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:626:15 [INFO] [stdout] | [INFO] [stdout] 626 | 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:692:15 [INFO] [stdout] | [INFO] [stdout] 692 | 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:823:15 [INFO] [stdout] | [INFO] [stdout] 823 | 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; 15]` in the current scope [INFO] [stdout] --> src/ops/resize.rs:968:15 [INFO] [stdout] | [INFO] [stdout] 968 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[resize::tests::test_resize_scales_sizes::Case; 15]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs:46:22: 46:22 (#2570), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/macros/mod.rs" }) } [INFO] [stdout] error[E0277]: can't compare `&_` with `OpError` [INFO] [stdout] --> src/ops/resize.rs:988:21 [INFO] [stdout] | [INFO] [stdout] 988 | 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 `[sequence::tests::test_sequence_empty::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:342:15 [INFO] [stdout] | [INFO] [stdout] 342 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_sequence_empty::Case; 2]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[sequence::tests::test_sequence_at::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_sequence_at::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[sequence::tests::test_sequence_construct::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:421:15 [INFO] [stdout] | [INFO] [stdout] 421 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_sequence_construct::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[sequence::tests::test_sequence_erase::Case; 4]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:472:15 [INFO] [stdout] | [INFO] [stdout] 472 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_sequence_erase::Case; 4]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[sequence::tests::test_sequence_insert::Case; 6]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:542:15 [INFO] [stdout] | [INFO] [stdout] 542 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_sequence_insert::Case; 6]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[sequence::tests::test_concat_from_sequence::Case; 3]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:598:15 [INFO] [stdout] | [INFO] [stdout] 598 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_concat_from_sequence::Case; 3]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each` found for array `[sequence::tests::test_split_to_sequence::Case; 6]` in the current scope [INFO] [stdout] --> src/ops/sequence.rs:675:15 [INFO] [stdout] | [INFO] [stdout] 675 | cases.test_each(|case| { [INFO] [stdout] | ------^^^^^^^^^ method not found in `[sequence::tests::test_split_to_sequence::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:508:15 [INFO] [stdout] | [INFO] [stdout] 508 | 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:576:15 [INFO] [stdout] | [INFO] [stdout] 576 | 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:208:15 [INFO] [stdout] | [INFO] [stdout] 208 | 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:276:15 [INFO] [stdout] | [INFO] [stdout] 276 | 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:178:15 [INFO] [stdout] | [INFO] [stdout] 178 | 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:825:15 [INFO] [stdout] | [INFO] [stdout] 825 | 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:847:15 [INFO] [stdout] | [INFO] [stdout] 847 | 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:849:67 [INFO] [stdout] | [INFO] [stdout] 849 | 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:850:45 [INFO] [stdout] | [INFO] [stdout] 850 | test_unary_op_both(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:180:15 [INFO] [stdout] | [INFO] [stdout] 180 | 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:192:26 [INFO] [stdout] | [INFO] [stdout] 192 | .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:197:32 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(output, *expected); [INFO] [stdout] | ^^^^^^^^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `test_each_clone` found for array `[transform_inputs::tests::test_fused_transpose_in_place::Case; 2]` in the current scope [INFO] [stdout] --> src/ops/transform_inputs.rs:229:15 [INFO] [stdout] | [INFO] [stdout] 229 | cases.test_each_clone(|case| { [INFO] [stdout] | ------^^^^^^^^^^^^^^^ method not found in `[transform_inputs::tests::test_fused_transpose_in_place::Case; 2]` [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" "babeb2bb8c396206a511ece468dad86384acebf14f30bfd186183e35228fb517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "babeb2bb8c396206a511ece468dad86384acebf14f30bfd186183e35228fb517", kill_on_drop: false }` [INFO] [stdout] babeb2bb8c396206a511ece468dad86384acebf14f30bfd186183e35228fb517