[INFO] fetching crate candle-core-temp 0.3.0... [INFO] testing candle-core-temp-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate candle-core-temp 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate candle-core-temp 0.3.0 [INFO] finished tweaking crates.io crate candle-core-temp 0.3.0 [INFO] tweaked toml for crates.io crate candle-core-temp 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate candle-core-temp 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate candle-core-temp 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded synstructure v0.13.0 [INFO] [stderr] Downloaded yoke-derive v0.7.2 [INFO] [stderr] Downloaded gemm-f16 v0.16.14 [INFO] [stderr] Downloaded zerofrom-derive v0.1.3 [INFO] [stderr] Downloaded safetensors v0.3.3 [INFO] [stderr] Downloaded reborrow v0.5.5 [INFO] [stderr] Downloaded serde_derive v1.0.190 [INFO] [stderr] Downloaded intel-mkl-tool v0.8.1 [INFO] [stderr] Downloaded gemm-c32 v0.16.14 [INFO] [stderr] Downloaded candle-kernels v0.3.0 [INFO] [stderr] Downloaded clap v4.4.7 [INFO] [stderr] Downloaded ocipkg v0.2.8 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded pulp v0.16.4 [INFO] [stderr] Downloaded half v2.3.1 [INFO] [stderr] Downloaded uuid v1.5.0 [INFO] [stderr] Downloaded rustls v0.21.8 [INFO] [stderr] Downloaded webpki-roots v0.25.2 [INFO] [stderr] Downloaded dyn-stack v0.10.0 [INFO] [stderr] Downloaded cudarc v0.9.15 [INFO] [stderr] Downloaded clap_builder v4.4.7 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded ureq v2.8.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded intel-mkl-src v0.8.1 [INFO] [stderr] Downloaded memmap2 v0.7.1 [INFO] [stderr] Downloaded serde v1.0.190 [INFO] [stderr] Downloaded gemm-c64 v0.16.14 [INFO] [stderr] Downloaded gemm-f32 v0.16.14 [INFO] [stderr] Downloaded gemm-common v0.16.14 [INFO] [stderr] Downloaded seq-macro v0.3.5 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded oci-spec v0.5.8 [INFO] [stderr] Downloaded yoke v0.7.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded gemm-f64 v0.16.14 [INFO] [stderr] Downloaded gemm v0.16.14 [INFO] [stderr] Downloaded zerofrom v0.1.3 [INFO] [stderr] Downloaded ring v0.17.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16ce8a7c48f6983e143cfed254919bef6e538ebaf49dfd9be3d918a8ed78e74b [INFO] running `Command { std: "docker" "start" "-a" "16ce8a7c48f6983e143cfed254919bef6e538ebaf49dfd9be3d918a8ed78e74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16ce8a7c48f6983e143cfed254919bef6e538ebaf49dfd9be3d918a8ed78e74b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ce8a7c48f6983e143cfed254919bef6e538ebaf49dfd9be3d918a8ed78e74b", kill_on_drop: false }` [INFO] [stdout] 16ce8a7c48f6983e143cfed254919bef6e538ebaf49dfd9be3d918a8ed78e74b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ee4c41b6c45cfb28e84a4d09bb8368add3e1e34c9b8bdfcea4f0d7320b6350d [INFO] running `Command { std: "docker" "start" "-a" "6ee4c41b6c45cfb28e84a4d09bb8368add3e1e34c9b8bdfcea4f0d7320b6350d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling seq-macro v0.3.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling memmap2 v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling zerofrom-derive v0.1.3 [INFO] [stderr] Compiling yoke-derive v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling zerofrom v0.1.3 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling yoke v0.7.2 [INFO] [stderr] Compiling pulp v0.16.4 [INFO] [stderr] Compiling gemm-common v0.16.14 [INFO] [stderr] Compiling gemm-f32 v0.16.14 [INFO] [stderr] Compiling gemm-c64 v0.16.14 [INFO] [stderr] Compiling gemm-f64 v0.16.14 [INFO] [stderr] Compiling gemm-c32 v0.16.14 [INFO] [stderr] Compiling gemm-f16 v0.16.14 [INFO] [stderr] Compiling gemm v0.16.14 [INFO] [stderr] Compiling safetensors v0.3.3 [INFO] [stderr] Compiling candle-core-temp v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `dims` is never read [INFO] [stdout] --> src/error.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | OnlySingleDimension { op: &'static str, dims: Vec }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Cpu` is never used [INFO] [stdout] --> src/cpu/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CpuF16` is never used [INFO] [stdout] --> src/cpu/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait CpuF16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/op.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | Cmp(Tensor, CmpOp), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Cmp(Tensor, CmpOp), [INFO] [stdout] 74 + Cmp(Tensor, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/op.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | Elu(Tensor, f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 144 - Elu(Tensor, f64), [INFO] [stdout] 144 + Elu(Tensor, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn strided_index(&self) -> crate::StridedIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn strided_index(&self) -> crate::StridedIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn strided_blocks(&self) -> crate::StridedBlocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn strided_blocks(&self) -> crate::StridedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/safetensors.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn data(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn data(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/safetensors.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | fn data(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn data(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensor.rs:1418:26 [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn strided_index(&self) -> crate::StridedIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn strided_index(&self) -> crate::StridedIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensor.rs:1426:27 [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn strided_blocks(&self) -> crate::StridedBlocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn strided_blocks(&self) -> crate::StridedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "6ee4c41b6c45cfb28e84a4d09bb8368add3e1e34c9b8bdfcea4f0d7320b6350d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee4c41b6c45cfb28e84a4d09bb8368add3e1e34c9b8bdfcea4f0d7320b6350d", kill_on_drop: false }` [INFO] [stdout] 6ee4c41b6c45cfb28e84a4d09bb8368add3e1e34c9b8bdfcea4f0d7320b6350d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca52d5bcdcdedd01c6783e29d0e2ef408584fa7a691721b40c0543a6b279a57b [INFO] running `Command { std: "docker" "start" "-a" "ca52d5bcdcdedd01c6783e29d0e2ef408584fa7a691721b40c0543a6b279a57b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling clap_builder v4.4.7 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling bytemuck_derive v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling zerofrom-derive v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling yoke-derive v0.7.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling half v2.3.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling pulp v0.16.4 [INFO] [stderr] Compiling zerofrom v0.1.3 [INFO] [stderr] Compiling yoke v0.7.2 [INFO] [stderr] Compiling clap v4.4.7 [INFO] [stderr] Compiling gemm-common v0.16.14 [INFO] [stderr] Compiling gemm-f32 v0.16.14 [INFO] [stderr] Compiling gemm-c32 v0.16.14 [INFO] [stderr] Compiling gemm-c64 v0.16.14 [INFO] [stderr] Compiling gemm-f64 v0.16.14 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling gemm-f16 v0.16.14 [INFO] [stderr] Compiling gemm v0.16.14 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling safetensors v0.3.3 [INFO] [stderr] Compiling candle-core-temp v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `dims` is never read [INFO] [stdout] --> src/error.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | OnlySingleDimension { op: &'static str, dims: Vec }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `dims` is never read [INFO] [stdout] --> src/error.rs:90:45 [INFO] [stdout] | [INFO] [stdout] 90 | OnlySingleDimension { op: &'static str, dims: Vec }, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Cpu` is never used [INFO] [stdout] --> src/cpu/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CpuF16` is never used [INFO] [stdout] --> src/cpu/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait CpuF16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/op.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | Cmp(Tensor, CmpOp), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Cmp(Tensor, CmpOp), [INFO] [stdout] 74 + Cmp(Tensor, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/op.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | Elu(Tensor, f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 144 - Elu(Tensor, f64), [INFO] [stdout] 144 + Elu(Tensor, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn strided_index(&self) -> crate::StridedIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn strided_index(&self) -> crate::StridedIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn strided_blocks(&self) -> crate::StridedBlocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn strided_blocks(&self) -> crate::StridedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/safetensors.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn data(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn data(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/safetensors.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | fn data(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn data(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensor.rs:1418:26 [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn strided_index(&self) -> crate::StridedIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn strided_index(&self) -> crate::StridedIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensor.rs:1426:27 [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn strided_blocks(&self) -> crate::StridedBlocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn strided_blocks(&self) -> crate::StridedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Cpu` is never used [INFO] [stdout] --> src/cpu/mod.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | trait Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CpuF16` is never used [INFO] [stdout] --> src/cpu/mod.rs:21:7 [INFO] [stdout] | [INFO] [stdout] 21 | trait CpuF16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/op.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | Cmp(Tensor, CmpOp), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 74 - Cmp(Tensor, CmpOp), [INFO] [stdout] 74 + Cmp(Tensor, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/op.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | Elu(Tensor, f64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Op` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 144 - Elu(Tensor, f64), [INFO] [stdout] 144 + Elu(Tensor, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:183:33 [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn strided_index(&self) -> crate::StridedIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 183 | pub(crate) fn strided_index(&self) -> crate::StridedIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn strided_blocks(&self) -> crate::StridedBlocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 187 | pub(crate) fn strided_blocks(&self) -> crate::StridedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/safetensors.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | fn data(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 46 | fn data(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/safetensors.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | fn data(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 67 | fn data(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensor.rs:1418:26 [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn strided_index(&self) -> crate::StridedIndex { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1418 | pub fn strided_index(&self) -> crate::StridedIndex<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tensor.rs:1426:27 [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn strided_blocks(&self) -> crate::StridedBlocks { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn strided_blocks(&self) -> crate::StridedBlocks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> examples/cuda_basics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use candle_core::{Device, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> tests/tensor_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candle_core::{test_device, test_utils, DType, Device, IndexOp, Result, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> tests/tensor_tests.rs:1092:9 [INFO] [stdout] | [INFO] [stdout] 1092 | candle_core::bail!("all values in tensors are non-negative") [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (example "cuda_basics") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> tests/pool_tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candle_core::{test_device, test_utils, Device, IndexOp, Result, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> examples/basics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use candle_core::{Device, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> tests/conv_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_core::{test_device, test_utils, Device, IndexOp, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> tests/conv_tests.rs:350:9 [INFO] [stdout] | [INFO] [stdout] 350 | use candle_core::Var; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (example "basics") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> examples/cuda_sum_benchmark.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use candle_core::{Device, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (test "pool_tests") due to 1 previous error [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> examples/cuda_sum_benchmark.rs:13:41 [INFO] [stdout] | [INFO] [stdout] 13 | let thetas: Vec<_> = (0..n).map(|i| (i as f32 / n as f32)).collect(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - let thetas: Vec<_> = (0..n).map(|i| (i as f32 / n as f32)).collect(); [INFO] [stdout] 13 + let thetas: Vec<_> = (0..n).map(|i| i as f32 / n as f32).collect(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candle_core::quantized::{gguf_file, k_quants, QTensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tensor_tests.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | tensor.sum_keepdim((0, 1, 2))?.to_vec3::()?, [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> tests/display_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_core::{DType, Device::Cpu, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> tests/display_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_core::{DType, Device::Cpu, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use candle_core::{Device, Result, Tensor}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | candle_core::bail!("only a single in-file can be used when quantizing gguf files") [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | candle_core::bail!("the generated file cannot use the safetensors extension") [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | candle_core::bail!("no specified input files") [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (example "cuda_sum_benchmark") due to 1 previous error; 1 warning emitted [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tensor_tests.rs:321:13 [INFO] [stdout] | [INFO] [stdout] 321 | tensor [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tensor_tests.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | tensor [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (test "display_tests") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tensor_tests.rs:457:13 [INFO] [stdout] | [INFO] [stdout] 457 | tensor [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | let tensors = candle_core::npy::NpzTensors::new(file)?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::npy::NpzTensors; [INFO] [stdout] | [INFO] [stdout] help: if you import `NpzTensors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 143 - let tensors = candle_core::npy::NpzTensors::new(file)?; [INFO] [stdout] 143 + let tensors = NpzTensors::new(file)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:155:36 [INFO] [stdout] | [INFO] [stdout] 155 | let tensors = unsafe { candle_core::safetensors::MmapedSafetensors::new(file)? }; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::safetensors::MmapedSafetensors; [INFO] [stdout] | [INFO] [stdout] help: if you import `MmapedSafetensors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 155 - let tensors = unsafe { candle_core::safetensors::MmapedSafetensors::new(file)? }; [INFO] [stdout] 155 + let tensors = unsafe { MmapedSafetensors::new(file)? }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 160 | let dtype = match candle_core::DType::try_from(dtype) { [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::DType; [INFO] [stdout] | [INFO] [stdout] help: if you import `DType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 160 - let dtype = match candle_core::DType::try_from(dtype) { [INFO] [stdout] 160 + let dtype = match DType::try_from(dtype) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:169:31 [INFO] [stdout] | [INFO] [stdout] 169 | let mut tensors = candle_core::pickle::read_pth_tensor_info(file, verbose)?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::pickle; [INFO] [stdout] | [INFO] [stdout] help: if you import `pickle`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 169 - let mut tensors = candle_core::pickle::read_pth_tensor_info(file, verbose)?; [INFO] [stdout] 169 + let mut tensors = pickle::read_pth_tensor_info(file, verbose)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:186:29 [INFO] [stdout] | [INFO] [stdout] 186 | let mut stack = candle_core::pickle::Stack::empty(); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::pickle::Stack; [INFO] [stdout] | [INFO] [stdout] help: if you import `Stack`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 186 - let mut stack = candle_core::pickle::Stack::empty(); [INFO] [stdout] 186 + let mut stack = Stack::empty(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:194:27 [INFO] [stdout] | [INFO] [stdout] 194 | let content = candle_core::quantized::ggml_file::Content::read(&mut file)?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::quantized::ggml_file::Content; [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::quantized::gguf_file::Content; [INFO] [stdout] | [INFO] [stdout] help: if you import `Content`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 194 - let content = candle_core::quantized::ggml_file::Content::read(&mut file)?; [INFO] [stdout] 194 + let content = Content::read(&mut file)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] --> examples/tensor-tools.rs:230:26 [INFO] [stdout] | [INFO] [stdout] 230 | let in_tensors = candle_core::safetensors::load(in_file, &Device::Cpu)?; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `candle_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candle_core`, use `cargo add candle_core` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use candle_core_temp::safetensors; [INFO] [stdout] | [INFO] [stdout] help: if you import `safetensors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 230 - let in_tensors = candle_core::safetensors::load(in_file, &Device::Cpu)?; [INFO] [stdout] 230 + let in_tensors = safetensors::load(in_file, &Device::Cpu)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tensor_tests.rs:531:13 [INFO] [stdout] | [INFO] [stdout] 531 | tensor [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tensor-tools.rs:149:33 [INFO] [stdout] | [INFO] [stdout] 149 | Err(err) => err.to_string(), [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tensor-tools.rs:159:29 [INFO] [stdout] | [INFO] [stdout] 159 | let dtype = view.dtype(); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/tensor-tools.rs:198:50 [INFO] [stdout] | [INFO] [stdout] 198 | println!("{name}: [{:?}; {:?}]", qtensor.shape(), qtensor.dtype()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `HashMap<_, _>` [INFO] [stdout] --> examples/tensor-tools.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let mut tensors = std::collections::HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | let should_quantize = tensor.rank() == 2 && tensor.dim(1)? % block_size == 0; [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tensors` an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 228 | let mut tensors: HashMap = std::collections::HashMap::new(); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (test "conv_tests") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/tensor-tools.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 282 | .map(|(k, v)| (k.as_str(), v)) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 282 | .map(|(k, v): (_, _)| (k.as_str(), v)) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/tensor-tools.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 348 | .map(|(k, v)| (k.as_str(), v)) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 348 | .map(|(k, v): (_, _)| (k.as_str(), v)) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> examples/tensor-tools.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | .map(|(k, v)| (k.as_str(), v)) [INFO] [stdout] | ^^^^^^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 354 | .map(|(k, v): (_, _)| (k.as_str(), v)) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `candle-core-temp` (test "tensor_tests") due to 7 previous errors [INFO] [stderr] error: could not compile `candle-core-temp` (example "tensor-tools") due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "ca52d5bcdcdedd01c6783e29d0e2ef408584fa7a691721b40c0543a6b279a57b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca52d5bcdcdedd01c6783e29d0e2ef408584fa7a691721b40c0543a6b279a57b", kill_on_drop: false }` [INFO] [stdout] ca52d5bcdcdedd01c6783e29d0e2ef408584fa7a691721b40c0543a6b279a57b