[INFO] fetching crate zyx-core 0.1.1... [INFO] testing zyx-core-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate zyx-core 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate zyx-core 0.1.1 [INFO] finished tweaking crates.io crate zyx-core 0.1.1 [INFO] tweaked toml for crates.io crate zyx-core 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate zyx-core 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e8e0146b03e9e12a982e4ec6da4cff41c184f7cca56e8c4128a1fd9dea30ea0 [INFO] running `Command { std: "docker" "start" "-a" "0e8e0146b03e9e12a982e4ec6da4cff41c184f7cca56e8c4128a1fd9dea30ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e8e0146b03e9e12a982e4ec6da4cff41c184f7cca56e8c4128a1fd9dea30ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8e0146b03e9e12a982e4ec6da4cff41c184f7cca56e8c4128a1fd9dea30ea0", kill_on_drop: false }` [INFO] [stdout] 0e8e0146b03e9e12a982e4ec6da4cff41c184f7cca56e8c4128a1fd9dea30ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e90d7fc6ac6a959c54c88aedc2370422a86ae0a2a701845ab00fb746ed6cb3c [INFO] running `Command { std: "docker" "start" "-a" "7e90d7fc6ac6a959c54c88aedc2370422a86ae0a2a701845ab00fb746ed6cb3c", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zyx-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.46s [INFO] running `Command { std: "docker" "inspect" "7e90d7fc6ac6a959c54c88aedc2370422a86ae0a2a701845ab00fb746ed6cb3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e90d7fc6ac6a959c54c88aedc2370422a86ae0a2a701845ab00fb746ed6cb3c", kill_on_drop: false }` [INFO] [stdout] 7e90d7fc6ac6a959c54c88aedc2370422a86ae0a2a701845ab00fb746ed6cb3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b77f2c5e55ef5039496e608293fc7b3c98e84f1cc949e292c1c836da535ab1e8 [INFO] running `Command { std: "docker" "start" "-a" "b77f2c5e55ef5039496e608293fc7b3c98e84f1cc949e292c1c836da535ab1e8", kill_on_drop: false }` [INFO] [stderr] Compiling zyx-core v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "b77f2c5e55ef5039496e608293fc7b3c98e84f1cc949e292c1c836da535ab1e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b77f2c5e55ef5039496e608293fc7b3c98e84f1cc949e292c1c836da535ab1e8", kill_on_drop: false }` [INFO] [stdout] b77f2c5e55ef5039496e608293fc7b3c98e84f1cc949e292c1c836da535ab1e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 599b3b84074357ccfcac5fc7312f7d8fbf8926d2a1841068e478419a7766199e [INFO] running `Command { std: "docker" "start" "-a" "599b3b84074357ccfcac5fc7312f7d8fbf8926d2a1841068e478419a7766199e", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zyx_core-82c4dfea76423aeb) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests zyx_core [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/tensor.rs - tensor::Tensor::max (line 1130) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::pad (line 956) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::detach (line 481) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::shape (line 418) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::get (line 1239) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::sum (line 1100) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::numel (line 430) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::item (line 535) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::dtype (line 442) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::cast (line 582) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::pad (line 944) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::rank (line 454) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::backward (line 552) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::backend (line 466) ... FAILED [INFO] [stdout] test src/tensor.rs - tensor::Tensor::dot (line 851) ... FAILED [INFO] [stdout] test src/axes.rs - axes::IntoAxes::into_axes (line 82) ... ok [INFO] [stdout] test src/tensor.rs - tensor::Tensor::to_vec (line 514) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::max (line 1130) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:1131:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl; [INFO] [stdout] | ^^^^^^^^^^ no external crate `zyx_opencl` [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/tensor.rs - tensor::Tensor::pad (line 956) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:957:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl; [INFO] [stdout] | ^^^^^^^^^^ no external crate `zyx_opencl` [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/tensor.rs - tensor::Tensor::detach (line 481) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:482:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:492:10 [INFO] [stdout] | [INFO] [stdout] 13 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::shape (line 418) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:419:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:422:10 [INFO] [stdout] | [INFO] [stdout] 6 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::get (line 1239) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:1240:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl; [INFO] [stdout] | ^^^^^^^^^^ no external crate `zyx_opencl` [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/tensor.rs - tensor::Tensor::sum (line 1100) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:1101:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl; [INFO] [stdout] | ^^^^^^^^^^ no external crate `zyx_opencl` [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/tensor.rs - tensor::Tensor::numel (line 430) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:431:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 6 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::item (line 535) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:536:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:540:10 [INFO] [stdout] | [INFO] [stdout] 7 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::dtype (line 442) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:445:23 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(x.dtype(), zyx_opencl::DType::I32); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zyx_core::dtype::DType; [INFO] [stdout] | [INFO] [stdout] help: if you import `DType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - assert_eq!(x.dtype(), zyx_opencl::DType::I32); [INFO] [stdout] 5 + assert_eq!(x.dtype(), DType::I32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:446:10 [INFO] [stdout] | [INFO] [stdout] 6 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::cast (line 582) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl::DType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:584:11 [INFO] [stdout] | [INFO] [stdout] 4 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:589:10 [INFO] [stdout] | [INFO] [stdout] 9 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/tensor.rs - tensor::Tensor::pad (line 944) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:945:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl; [INFO] [stdout] | ^^^^^^^^^^ no external crate `zyx_opencl` [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/tensor.rs - tensor::Tensor::rank (line 454) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:455:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:458:10 [INFO] [stdout] | [INFO] [stdout] 6 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::backward (line 552) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:553:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:558:10 [INFO] [stdout] | [INFO] [stdout] 8 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::backend (line 466) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:469:38 [INFO] [stdout] | [INFO] [stdout] 5 | let y = x.backend().randn([2, 4, 3], zyx_opencl::DType::F32); [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use zyx_core::dtype::DType; [INFO] [stdout] | [INFO] [stdout] help: if you import `DType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 5 - let y = x.backend().randn([2, 4, 3], zyx_opencl::DType::F32); [INFO] [stdout] 5 + let y = x.backend().randn([2, 4, 3], DType::F32); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:467:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:470:10 [INFO] [stdout] | [INFO] [stdout] 6 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tensor.rs - tensor::Tensor::dot (line 851) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:852:5 [INFO] [stdout] | [INFO] [stdout] 3 | use zyx_opencl::DType; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:853:11 [INFO] [stdout] | [INFO] [stdout] 4 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:857:10 [INFO] [stdout] | [INFO] [stdout] 8 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/tensor.rs - tensor::Tensor::to_vec (line 514) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:515:11 [INFO] [stdout] | [INFO] [stdout] 3 | let dev = zyx_opencl::device()?; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] --> src/tensor.rs:519:10 [INFO] [stdout] | [INFO] [stdout] 7 | Ok::<(), zyx_opencl::ZyxError>(()) [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `zyx_opencl` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `zyx_opencl`, use `cargo add zyx_opencl` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [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/tensor.rs - tensor::Tensor::backend (line 466) [INFO] [stdout] src/tensor.rs - tensor::Tensor::backward (line 552) [INFO] [stdout] src/tensor.rs - tensor::Tensor::cast (line 582) [INFO] [stdout] src/tensor.rs - tensor::Tensor::detach (line 481) [INFO] [stdout] src/tensor.rs - tensor::Tensor::dot (line 851) [INFO] [stdout] src/tensor.rs - tensor::Tensor::dtype (line 442) [INFO] [stdout] src/tensor.rs - tensor::Tensor::get (line 1239) [INFO] [stdout] src/tensor.rs - tensor::Tensor::item (line 535) [INFO] [stdout] src/tensor.rs - tensor::Tensor::max (line 1130) [INFO] [stdout] src/tensor.rs - tensor::Tensor::numel (line 430) [INFO] [stdout] src/tensor.rs - tensor::Tensor::pad (line 944) [INFO] [stdout] src/tensor.rs - tensor::Tensor::pad (line 956) [INFO] [stdout] src/tensor.rs - tensor::Tensor::rank (line 454) [INFO] [stdout] src/tensor.rs - tensor::Tensor::shape (line 418) [INFO] [stdout] src/tensor.rs - tensor::Tensor::sum (line 1100) [INFO] [stdout] src/tensor.rs - tensor::Tensor::to_vec (line 514) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 16 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "599b3b84074357ccfcac5fc7312f7d8fbf8926d2a1841068e478419a7766199e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "599b3b84074357ccfcac5fc7312f7d8fbf8926d2a1841068e478419a7766199e", kill_on_drop: false }` [INFO] [stdout] 599b3b84074357ccfcac5fc7312f7d8fbf8926d2a1841068e478419a7766199e