[INFO] fetching crate hpt-common 0.1.3... [INFO] testing hpt-common-0.1.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate hpt-common 0.1.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate hpt-common 0.1.3 [INFO] finished tweaking crates.io crate hpt-common 0.1.3 [INFO] tweaked toml for crates.io crate hpt-common 0.1.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hpt-common 0.1.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hpt-common 0.1.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd76800c1071d01a3af0bee12f7592a31741d9b817b1937d4a8c49e211e42576 [INFO] running `Command { std: "docker" "start" "-a" "bd76800c1071d01a3af0bee12f7592a31741d9b817b1937d4a8c49e211e42576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd76800c1071d01a3af0bee12f7592a31741d9b817b1937d4a8c49e211e42576", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd76800c1071d01a3af0bee12f7592a31741d9b817b1937d4a8c49e211e42576", kill_on_drop: false }` [INFO] [stdout] bd76800c1071d01a3af0bee12f7592a31741d9b817b1937d4a8c49e211e42576 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa89f5ae1eac793722722cec0e29aeebf699cefa7d7b4b51fac80df2c10c73b [INFO] running `Command { std: "docker" "start" "-a" "dfa89f5ae1eac793722722cec0e29aeebf699cefa7d7b4b51fac80df2c10c73b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling hpt-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling half v2.5.0 [INFO] [stderr] Compiling hpt-types v0.1.3 [INFO] [stderr] Compiling hpt-common v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.95s [INFO] running `Command { std: "docker" "inspect" "dfa89f5ae1eac793722722cec0e29aeebf699cefa7d7b4b51fac80df2c10c73b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa89f5ae1eac793722722cec0e29aeebf699cefa7d7b4b51fac80df2c10c73b", kill_on_drop: false }` [INFO] [stdout] dfa89f5ae1eac793722722cec0e29aeebf699cefa7d7b4b51fac80df2c10c73b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75be3a580671d12e65216c3a128cb9da18c2faaeab9d9dc952bf15570e17637f [INFO] running `Command { std: "docker" "start" "-a" "75be3a580671d12e65216c3a128cb9da18c2faaeab9d9dc952bf15570e17637f", kill_on_drop: false }` [INFO] [stderr] Compiling hpt-common v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "75be3a580671d12e65216c3a128cb9da18c2faaeab9d9dc952bf15570e17637f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75be3a580671d12e65216c3a128cb9da18c2faaeab9d9dc952bf15570e17637f", kill_on_drop: false }` [INFO] [stdout] 75be3a580671d12e65216c3a128cb9da18c2faaeab9d9dc952bf15570e17637f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 705ad6428a71d03daa86e1becd4b2b9c8643d077423da70f43bcfc55adc005e9 [INFO] running `Command { std: "docker" "start" "-a" "705ad6428a71d03daa86e1becd4b2b9c8643d077423da70f43bcfc55adc005e9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hpt_common-fc3becf3d59464e7) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests hpt_common [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 151) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 103) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::mt_intervals_simd (line 821) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::yield_one_before (line 27) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::try_pad_shape (line 187) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::try_pad_shape (line 226) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 138) ... FAILED [INFO] [stdout] test src/layout/layout_utils.rs - layout::layout_utils::Layout::is_reshape_possible (line 42) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 639) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::get_broadcast_axes_from (line 440) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::predict_broadcast_shape (line 328) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::yield_one_before (line 66) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 647) ... FAILED [INFO] [stdout] test src/slice.rs - slice::slice_process (line 29) ... FAILED [INFO] [stdout] test src/utils/pointer.rs - utils::pointer::Pointer::get_ptr (line 47) ... FAILED [INFO] [stdout] test src/utils/pointer.rs - utils::pointer::Pointer::offset (line 151) ... FAILED [INFO] [stdout] test src/utils/pointer.rs - utils::pointer::Pointer::new (line 68) ... FAILED [INFO] [stdout] test src/utils/pointer.rs - utils::pointer::Pointer::add (line 129) ... FAILED [INFO] [stdout] test src/utils/pointer.rs - utils::pointer::Pointer::modify (line 108) ... FAILED [INFO] [stdout] test src/strides/strides.rs - strides::strides::Strides (line 15) ... FAILED [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 684) ... ok [INFO] [stdout] test src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 703) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 151) stdout ---- [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/shape/shape_utils.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn yield_one_before(shape: &[i64], idx: usize) -> Vec [INFO] [stdout] | ---------------- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 4 | } _doctest_main_src_shape_shape_utils_rs_151_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/shape/shape_utils.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn yield_one_before(shape: &[i64], idx: usize) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 103) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `yield_one_after` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 6 | let new_shape = yield_one_after(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_after; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_one_after` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 12 | let new_shape = yield_one_after(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_after; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_one_after` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 18 | let new_shape = yield_one_after(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_after; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::mt_intervals_simd (line 821) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `mt_intervals_simd` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:827:21 [INFO] [stdout] | [INFO] [stdout] 7 | let intervals = mt_intervals_simd(outer_loop_size, num_threads, vec_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::mt_intervals_simd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::yield_one_before (line 27) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `yield_one_before` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 6 | let new_shape = yield_one_before(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_before; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_one_before` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 11 | let new_shape = yield_one_before(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_before; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_one_before` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 16 | let new_shape = yield_one_before(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_before; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `yield_one_before` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 21 | let new_shape = yield_one_before(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_before; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::try_pad_shape (line 187) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `try_pad_shape` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 5 | let padded_shape = try_pad_shape(&shape, 4); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::try_pad_shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `try_pad_shape` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 10 | let padded_shape = try_pad_shape(&shape, 2); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::try_pad_shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::try_pad_shape (line 226) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `try_pad_shape` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 9 | let padded_b_shape = try_pad_shape(&b_shape, a_shape.len()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::try_pad_shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 138) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `yield_one_after` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 5 | let new_shape = yield_one_after(&shape, idx); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::yield_one_after; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layout/layout_utils.rs - layout::layout_utils::Layout::is_reshape_possible (line 42) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `hpt_common::layout::Layout` [INFO] [stdout] --> src/layout/layout_utils.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hpt_common::layout::Layout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Layout` in `layout` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 - use hpt_common::layout::Layout; [INFO] [stdout] 5 + use hpt_common::layout::layout; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs instead [INFO] [stdout] | [INFO] [stdout] 5 - use hpt_common::layout::Layout; [INFO] [stdout] 5 + use std::alloc::Layout; [INFO] [stdout] | [INFO] [stdout] 5 | use hpt_common::layout::layout::Layout; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hpt_common::shape::Shape` [INFO] [stdout] --> src/layout/layout_utils.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hpt_common::shape::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ no `Shape` in `shape` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module (notice the capitalization) [INFO] [stdout] | [INFO] [stdout] 6 - use hpt_common::shape::Shape; [INFO] [stdout] 6 + use hpt_common::shape::shape; [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 6 - use hpt_common::shape::Shape; [INFO] [stdout] 6 + use hpt_common::error::base::TensorError::Shape; [INFO] [stdout] | [INFO] [stdout] 6 | use hpt_common::shape::shape::Shape; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `strides` [INFO] [stdout] --> src/layout/layout_utils.rs:49:15 [INFO] [stdout] | [INFO] [stdout] 10 | let strides = strides::strides::from(vec![12, 4, 1]); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `strides` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strides`, use `cargo add strides` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `strides` [INFO] [stdout] --> src/layout/layout_utils.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(new_strides, strides::strides::from(vec![8, 4, 1])); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `strides` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `strides`, use `cargo add strides` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 639) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:1 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `outer_loop_size` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:6 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `num_threads` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:24 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `min` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:39 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use std::cmp::min; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:43 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `outer_loop_size` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:46 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `num_threads` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:640:64 [INFO] [stdout] | [INFO] [stdout] 3 | i * (outer_loop_size / num_threads) + min(i, outer_loop_size % num_threads) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::get_broadcast_axes_from (line 440) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `anyhow` [INFO] [stdout] --> src/shape/shape_utils.rs:441:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Result; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `anyhow` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Location` [INFO] [stdout] --> src/shape/shape_utils.rs:447:20 [INFO] [stdout] | [INFO] [stdout] 8 | let location = Location::new("module_name", "function_name"); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Location` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::panic::Location; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_broadcast_axes_from` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:449:16 [INFO] [stdout] | [INFO] [stdout] 10 | let axes = get_broadcast_axes_from(a_shape, res_shape, location)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::get_broadcast_axes_from; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::predict_broadcast_shape (line 328) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `predict_broadcast_shape` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:334:7 [INFO] [stdout] | [INFO] [stdout] 8 | match predict_broadcast_shape(a_shape, b_shape) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::predict_broadcast_shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Shape` [INFO] [stdout] --> src/shape/shape_utils.rs:336:34 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(result_shape, Shape::from(vec![8, 7, 6, 5])); [INFO] [stdout] | ^^^^^ use of undeclared type `Shape` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape::Shape; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::yield_one_before (line 66) stdout ---- [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/shape/shape_utils.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn yield_one_after(shape: &[i64], idx: usize) -> Vec [INFO] [stdout] | --------------- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 4 | } _doctest_main_src_shape_shape_utils_rs_66_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/shape/shape_utils.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 3 | fn yield_one_after(shape: &[i64], idx: usize) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 647) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `mt_intervals` in this scope [INFO] [stdout] --> src/shape/shape_utils.rs:652:21 [INFO] [stdout] | [INFO] [stdout] 6 | let intervals = mt_intervals(outer_loop_size, num_threads); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use hpt_common::shape::shape_utils::mt_intervals; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/slice.rs - slice::slice_process (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `hpt_common::slice_process` [INFO] [stdout] --> src/slice.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hpt_common::slice_process; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no `slice_process` in the root [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hpt_types::Slice` [INFO] [stdout] --> src/slice.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 6 | use hpt_types::Slice; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Slice` in the root [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/pointer.rs - utils::pointer::Pointer::get_ptr (line 47) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tensor_pointer` [INFO] [stdout] --> src/utils/pointer.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tensor_pointer::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tensor_pointer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensor_pointer`, use `cargo add tensor_pointer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/pointer.rs - utils::pointer::Pointer::offset (line 151) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tensor_pointer` [INFO] [stdout] --> src/utils/pointer.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tensor_pointer::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tensor_pointer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensor_pointer`, use `cargo add tensor_pointer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/pointer.rs - utils::pointer::Pointer::new (line 68) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tensor_pointer` [INFO] [stdout] --> src/utils/pointer.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tensor_pointer::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tensor_pointer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensor_pointer`, use `cargo add tensor_pointer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/pointer.rs - utils::pointer::Pointer::add (line 129) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tensor_pointer` [INFO] [stdout] --> src/utils/pointer.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tensor_pointer::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tensor_pointer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensor_pointer`, use `cargo add tensor_pointer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utils/pointer.rs - utils::pointer::Pointer::modify (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `tensor_pointer` [INFO] [stdout] --> src/utils/pointer.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tensor_pointer::Pointer; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tensor_pointer` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tensor_pointer`, use `cargo add tensor_pointer` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/strides/strides.rs - strides::strides::Strides (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `strides` [INFO] [stdout] --> src/strides/strides.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 6 | let strides = strides::strides::from(&[1, 2, 3]); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `strides` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/strides/strides.rs, use `mod strides` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod strides; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/layout/layout_utils.rs - layout::layout_utils::Layout::is_reshape_possible (line 42) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::get_broadcast_axes_from (line 440) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 639) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::mt_intervals (line 647) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::mt_intervals_simd (line 821) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::predict_broadcast_shape (line 328) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::try_pad_shape (line 187) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::try_pad_shape (line 226) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 103) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 138) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::yield_one_after (line 151) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::yield_one_before (line 27) [INFO] [stdout] src/shape/shape_utils.rs - shape::shape_utils::yield_one_before (line 66) [INFO] [stdout] src/slice.rs - slice::slice_process (line 29) [INFO] [stdout] src/strides/strides.rs - strides::strides::Strides (line 15) [INFO] [stdout] src/utils/pointer.rs - utils::pointer::Pointer::add (line 129) [INFO] [stdout] src/utils/pointer.rs - utils::pointer::Pointer::get_ptr (line 47) [INFO] [stdout] src/utils/pointer.rs - utils::pointer::Pointer::modify (line 108) [INFO] [stdout] src/utils/pointer.rs - utils::pointer::Pointer::new (line 68) [INFO] [stdout] src/utils/pointer.rs - utils::pointer::Pointer::offset (line 151) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 20 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "705ad6428a71d03daa86e1becd4b2b9c8643d077423da70f43bcfc55adc005e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "705ad6428a71d03daa86e1becd4b2b9c8643d077423da70f43bcfc55adc005e9", kill_on_drop: false }` [INFO] [stdout] 705ad6428a71d03daa86e1becd4b2b9c8643d077423da70f43bcfc55adc005e9