[INFO] fetching crate qlora-rs 0.1.0... [INFO] testing qlora-rs-0.1.0 against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] extracting crate qlora-rs 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate qlora-rs 0.1.0 [INFO] finished tweaking crates.io crate qlora-rs 0.1.0 [INFO] tweaked toml for crates.io crate qlora-rs 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qlora-rs 0.1.0 on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate qlora-rs 0.1.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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusty-fork v0.3.1 [INFO] [stderr] Downloaded ug v0.4.0 [INFO] [stderr] Downloaded num_enum_derive v0.7.5 [INFO] [stderr] Downloaded bindgen_cuda v0.1.5 [INFO] [stderr] Downloaded dyn-stack-macros v0.1.3 [INFO] [stderr] Downloaded dyn-stack v0.13.2 [INFO] [stderr] Downloaded ug-cuda v0.4.0 [INFO] [stderr] Downloaded num_enum v0.7.5 [INFO] [stderr] Downloaded candle-kernels v0.9.1 [INFO] [stderr] Downloaded candle-nn v0.9.1 [INFO] [stderr] Downloaded peft-rs v0.4.0 [INFO] [stderr] Downloaded candle-core v0.9.1 [INFO] [stderr] Downloaded cudarc v0.16.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 968f67a1cd3d2b2d44c4c2a1fdc002b3c94d3638fdcd90948903bbd5cd0c57f0 [INFO] running `Command { std: "docker" "start" "-a" "968f67a1cd3d2b2d44c4c2a1fdc002b3c94d3638fdcd90948903bbd5cd0c57f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "968f67a1cd3d2b2d44c4c2a1fdc002b3c94d3638fdcd90948903bbd5cd0c57f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "968f67a1cd3d2b2d44c4c2a1fdc002b3c94d3638fdcd90948903bbd5cd0c57f0", kill_on_drop: false }` [INFO] [stdout] 968f67a1cd3d2b2d44c4c2a1fdc002b3c94d3638fdcd90948903bbd5cd0c57f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2979b2d523e283bb0342f419e7e54ecf1e2c37fd6bbb30f7b23f55d1c177e3a [INFO] running `Command { std: "docker" "start" "-a" "b2979b2d523e283bb0342f419e7e54ecf1e2c37fd6bbb30f7b23f55d1c177e3a", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.33 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling reborrow v0.5.5 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dyn-stack-macros v0.1.3 [INFO] [stderr] Compiling pulp v0.21.5 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling raw-cpuid v10.7.0 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling zip v1.1.4 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.33 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling num_enum_derive v0.7.5 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling num_enum v0.7.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling dyn-stack v0.13.2 [INFO] [stderr] Compiling dyn-stack v0.10.0 [INFO] [stderr] Compiling pulp v0.18.22 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_distr v0.5.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling ug v0.4.0 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling candle-core v0.9.1 [INFO] [stderr] Compiling candle-nn v0.9.1 [INFO] [stderr] Compiling peft-rs v0.4.0 [INFO] [stderr] Compiling qlora-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/qlora.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuantizedLinear { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | config: QLoraConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.18s [INFO] running `Command { std: "docker" "inspect" "b2979b2d523e283bb0342f419e7e54ecf1e2c37fd6bbb30f7b23f55d1c177e3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2979b2d523e283bb0342f419e7e54ecf1e2c37fd6bbb30f7b23f55d1c177e3a", kill_on_drop: false }` [INFO] [stdout] b2979b2d523e283bb0342f419e7e54ecf1e2c37fd6bbb30f7b23f55d1c177e3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77452d677b1f520624e2f54b28ad03d28cb1e8a9df04bebe8ffe0e9c2584ed13 [INFO] running `Command { std: "docker" "start" "-a" "77452d677b1f520624e2f54b28ad03d28cb1e8a9df04bebe8ffe0e9c2584ed13", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling raw-cpuid v11.6.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling clap_lex v0.7.6 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling safetensors v0.4.5 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling rusty-fork v0.3.1 [INFO] [stderr] Compiling proptest v1.9.0 [INFO] [stderr] Compiling gemm-common v0.18.2 [INFO] [stderr] Compiling gemm-common v0.17.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling gemm-f32 v0.17.1 [INFO] [stderr] Compiling gemm-f64 v0.17.1 [INFO] [stderr] Compiling gemm-c32 v0.17.1 [INFO] [stderr] Compiling gemm-c64 v0.17.1 [INFO] [stderr] Compiling gemm-f32 v0.18.2 [INFO] [stderr] Compiling gemm-c64 v0.18.2 [INFO] [stderr] Compiling gemm-c32 v0.18.2 [INFO] [stderr] Compiling gemm-f64 v0.18.2 [INFO] [stderr] Compiling gemm-f16 v0.17.1 [INFO] [stderr] Compiling gemm-f16 v0.18.2 [INFO] [stderr] Compiling gemm v0.17.1 [INFO] [stderr] Compiling gemm v0.18.2 [INFO] [stderr] Compiling ug v0.4.0 [INFO] [stderr] Compiling candle-core v0.9.1 [INFO] [stderr] Compiling candle-nn v0.9.1 [INFO] [stderr] Compiling peft-rs v0.4.0 [INFO] [stderr] Compiling qlora-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/qlora.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuantizedLinear { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | config: QLoraConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/qlora.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct QuantizedLinear { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | config: QLoraConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 42.89s [INFO] running `Command { std: "docker" "inspect" "77452d677b1f520624e2f54b28ad03d28cb1e8a9df04bebe8ffe0e9c2584ed13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77452d677b1f520624e2f54b28ad03d28cb1e8a9df04bebe8ffe0e9c2584ed13", kill_on_drop: false }` [INFO] [stdout] 77452d677b1f520624e2f54b28ad03d28cb1e8a9df04bebe8ffe0e9c2584ed13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d4da26d3c8d79219670146cc43b3ed234256d14c2a3ef9b804d9100116b85b45 [INFO] running `Command { std: "docker" "start" "-a" "d4da26d3c8d79219670146cc43b3ed234256d14c2a3ef9b804d9100116b85b45", kill_on_drop: false }` [INFO] [stderr] warning: field `config` is never read [INFO] [stderr] --> src/qlora.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct QuantizedLinear { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 39 | config: QLoraConfig, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `qlora-rs` (lib) generated 1 warning [INFO] [stderr] warning: `qlora-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/qlora_rs-0bfcf7b20c07214a) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test formats::tests::test_export_config_builder ... ok [INFO] [stdout] test quantization::tests::test_double_quant_disabled_still_works ... ok [INFO] [stdout] test quantization::tests::test_double_quantize_roundtrip ... ok [INFO] [stdout] test quantization::tests::test_double_quantize_compression ... ok [INFO] [stdout] test quantization::tests::test_nf4_levels_sorted ... ok [INFO] [stdout] test quantization::tests::test_per_channel_quantization ... ok [INFO] [stdout] test quantization::tests::test_quantize_dequantize_roundtrip ... ok [INFO] [stdout] test quantization::tests::test_per_channel_with_zero_point ... ok [INFO] [stdout] test quantization::tests::test_quantize_preserves_shape ... ok [INFO] [stdout] test quantization::tests::test_zero_point_quantization ... ok [INFO] [stdout] test export::tests::test_export_gguf_with_metadata ... ok [INFO] [stdout] test formats::tests::test_export_gguf_via_unified_api ... ok [INFO] [stdout] test formats::tests::test_export_model_with_config ... ok [INFO] [stdout] test native::tests::test_export_native_with_metadata ... ok [INFO] [stdout] test formats::tests::test_export_native_via_unified_api ... ok [INFO] [stdout] test export::tests::test_export_gguf_header ... ok [INFO] [stdout] test native::tests::test_export_native_multiple_tensors ... ok [INFO] [stdout] test quantization::tests::test_per_channel_with_double_quant ... ok [INFO] [stdout] test native::tests::test_export_native_basic ... ok [INFO] [stdout] test export::tests::test_export_gguf_multiple_tensors ... ok [INFO] [stdout] test qlora::tests::test_qlora_creation ... ok [INFO] [stdout] test quantization::tests::test_memory_reduction ... ok [INFO] [stdout] test qlora::tests::test_qlora_forward_shape ... FAILED [INFO] [stdout] test qlora::tests::test_qlora_memory_reduction ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- qlora::tests::test_qlora_forward_shape stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'qlora::tests::test_qlora_forward_shape' (36) panicked at src/qlora.rs:177:44: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Candle(shape mismatch in matmul, lhs: [1, 10, 768], rhs: [768, 768] [INFO] [stdout] 0: ::bt [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.9.1/src/error.rs:255:25 [INFO] [stdout] 1: ::matmul [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/candle-core-0.9.1/src/tensor.rs:1258:14 [INFO] [stdout] 2: ::forward [INFO] [stdout] at ./src/qlora.rs:101:33 [INFO] [stdout] 3: qlora_rs::qlora::tests::test_qlora_forward_shape [INFO] [stdout] at ./src/qlora.rs:177:28 [INFO] [stdout] 4: qlora_rs::qlora::tests::test_qlora_forward_shape::{closure#0} [INFO] [stdout] at ./src/qlora.rs:171:34 [INFO] [stdout] 5: >::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 6: core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 7: test::__rust_begin_short_backtrace::, fn() -> core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:663:18 [INFO] [stdout] 8: test::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:74 [INFO] [stdout] 9: as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 10: std::panicking::catch_unwind::do_call::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 11: std::panicking::catch_unwind::, core::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 12: std::panic::catch_unwind::, core::result::Result<(), alloc::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 13: test::run_test_in_process [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:27 [INFO] [stdout] 14: test::run_test::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:607:43 [INFO] [stdout] 15: test::run_test::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:637:41 [INFO] [stdout] 16: std::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 17: std::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 18: ::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 19: std::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 20: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 21: std::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 22: std::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 23: ::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 25: ::new::thread_start [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 26: [INFO] [stdout] 27: clone [INFO] [stdout] ) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x62829171f952 - std[ed5b486fa4cdb954]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x62829171f952 - std[ed5b486fa4cdb954]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x62829171f952 - std[ed5b486fa4cdb954]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x62829171f952 - <::print::DisplayBacktrace as core[ab67b43d93431064]::fmt::Display>::fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x628291735d9a - ::fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x628291735d9a - core[ab67b43d93431064]::fmt::write [INFO] [stdout] 6: 0x628291724f86 - std[ed5b486fa4cdb954]::io::default_write_fmt::> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x628291724f86 - as std[ed5b486fa4cdb954]::io::Write>::write_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/io/mod.rs:1994:13 [INFO] [stdout] 8: 0x6282916fcb5f - ::print [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x6282916fcb5f - std[ed5b486fa4cdb954]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x628291717409 - std[ed5b486fa4cdb954]::panicking::default_hook [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x628290aecfde - core[ab67b43d93431064]::ops::function::Fn<(&'a std[ed5b486fa4cdb954]::panic::PanicHookInfo<'b>,), Output = ()> + core[ab67b43d93431064]::marker::Send + core[ab67b43d93431064]::marker::Sync> as core[ab67b43d93431064]::ops::function::Fn<(&std[ed5b486fa4cdb954]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 12: 0x628290aecfde - test[f0ec78552bebb08e]::test_main_with_exit_callback::::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x628291717672 - core[ab67b43d93431064]::ops::function::Fn<(&'a std[ed5b486fa4cdb954]::panic::PanicHookInfo<'b>,), Output = ()> + core[ab67b43d93431064]::marker::Send + core[ab67b43d93431064]::marker::Sync> as core[ab67b43d93431064]::ops::function::Fn<(&std[ed5b486fa4cdb954]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2220:9 [INFO] [stdout] 14: 0x628291717672 - std[ed5b486fa4cdb954]::panicking::panic_with_hook [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x6282916fcc18 - std[ed5b486fa4cdb954]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x6282916f3ed9 - std[ed5b486fa4cdb954]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x6282916fdb5d - __rustc[5067f77124470312]::rust_begin_unwind [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x6282917364ac - core[ab67b43d93431064]::panicking::panic_fmt [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x628291736222 - core[ab67b43d93431064]::result::unwrap_failed [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/result.rs:1867:5 [INFO] [stdout] 20: 0x628290adebd3 - >::unwrap [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x628290adebd3 - qlora_rs[27d237b68a5fe0fa]::qlora::tests::test_qlora_forward_shape [INFO] [stdout] at /opt/rustwide/workdir/src/qlora.rs:177:44 [INFO] [stdout] 22: 0x628290ade077 - qlora_rs[27d237b68a5fe0fa]::qlora::tests::test_qlora_forward_shape::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/qlora.rs:171:34 [INFO] [stdout] 23: 0x628290ae0fe6 - >::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x628290ae138b - core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x628290ae138b - test[f0ec78552bebb08e]::__rust_begin_short_backtrace::, fn() -> core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x628290aedbea - test[f0ec78552bebb08e]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x628290aedbea - as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x628290aedbea - std[ed5b486fa4cdb954]::panicking::catch_unwind::do_call::, core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x628290aedbea - std[ed5b486fa4cdb954]::panicking::catch_unwind::, core[ab67b43d93431064]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x628290aedbea - std[ed5b486fa4cdb954]::panic::catch_unwind::, core[ab67b43d93431064]::result::Result<(), alloc[8787631d7fe8ec5a]::string::String>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x628290aedbea - test[f0ec78552bebb08e]::run_test_in_process [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x628290aedbea - test[f0ec78552bebb08e]::run_test::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x628290ae9194 - test[f0ec78552bebb08e]::run_test::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x628290ae9194 - std[ed5b486fa4cdb954]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x628290af06e2 - std[ed5b486fa4cdb954]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stdout] 36: 0x628290af06e2 - ::{closure#1}::{closure#0}> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x628290af06e2 - std[ed5b486fa4cdb954]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x628290af06e2 - std[ed5b486fa4cdb954]::panicking::catch_unwind::<(), core[ab67b43d93431064]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x628290af06e2 - std[ed5b486fa4cdb954]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x628290af06e2 - std[ed5b486fa4cdb954]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stdout] 41: 0x628290af06e2 - ::{closure#1} as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x62829171ee1f - + core[ab67b43d93431064]::marker::Send> as core[ab67b43d93431064]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/alloc/src/boxed.rs:2206:9 [INFO] [stdout] 43: 0x62829171ee1f - ::new::thread_start [INFO] [stdout] at /rustc/7704328ba5ae8d6ce0ac303c9d5a1a1605906766/library/std/src/sys/thread/unix.rs:127:17 [INFO] [stdout] 44: 0x7539c706aaa4 - [INFO] [stdout] 45: 0x7539c70f7a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] qlora::tests::test_qlora_forward_shape [INFO] [stdout] [INFO] [stdout] test result: FAILED. 23 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.17s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "d4da26d3c8d79219670146cc43b3ed234256d14c2a3ef9b804d9100116b85b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4da26d3c8d79219670146cc43b3ed234256d14c2a3ef9b804d9100116b85b45", kill_on_drop: false }` [INFO] [stdout] d4da26d3c8d79219670146cc43b3ed234256d14c2a3ef9b804d9100116b85b45