[INFO] cloning repository https://github.com/imperatormk/candle-birefnet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imperatormk/candle-birefnet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimperatormk%2Fcandle-birefnet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimperatormk%2Fcandle-birefnet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c3f45870c0db4c5d9c84f8777b20dfcf331a756c
[INFO] checking imperatormk/candle-birefnet against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimperatormk%2Fcandle-birefnet" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/imperatormk/candle-birefnet
[INFO] finished tweaking git repo https://github.com/imperatormk/candle-birefnet
[INFO] tweaked toml for git repo https://github.com/imperatormk/candle-birefnet written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/imperatormk/candle-birefnet on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/imperatormk/candle-birefnet 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating git repository `https://github.com/mpsops/candle-mps-flash-attention`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 1 package to highest compatible version
[INFO] [stderr]       Adding candle-mps-flash-attention v0.1.2 (https://github.com/mpsops/candle-mps-flash-attention?branch=git-candle#20c303c5)
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded zune-jpeg v0.5.12
[INFO] [stderr]   Downloaded aligned v0.4.3
[INFO] [stderr]   Downloaded zmij v1.0.18
[INFO] [stderr]   Downloaded flate2 v1.1.8
[INFO] [stderr]   Downloaded hf-hub v0.3.2
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.37
[INFO] [stderr]   Downloaded moxcms v0.7.11
[INFO] [stderr]   Downloaded zerocopy v0.8.37
[INFO] [stderr]   Downloaded webpki-roots v1.0.5
[INFO] [stderr]   Downloaded rustls v0.23.36
[INFO] [stderr]   Downloaded gemm v0.19.0
[INFO] [stderr]   Downloaded gemm-common v0.19.0
[INFO] [stderr]   Downloaded gemm-f64 v0.19.0
[INFO] [stderr]   Downloaded typed-path v0.12.2
[INFO] [stderr]   Downloaded zip v7.2.0
[INFO] [stderr]   Downloaded pulp-wasm-simd-flag v0.1.0
[INFO] [stderr]   Downloaded pulp v0.22.2
[INFO] [stderr]   Downloaded gemm-c64 v0.19.0
[INFO] [stderr]   Downloaded gemm-f32 v0.19.0
[INFO] [stderr]   Downloaded float8 v0.6.0
[INFO] [stderr]   Downloaded gemm-f16 v0.19.0
[INFO] [stderr]   Downloaded ug-metal v0.5.0
[INFO] [stderr]   Downloaded ug v0.5.0
[INFO] [stderr]   Downloaded gemm-c32 v0.19.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5
[INFO] running `Command { std: "docker" "start" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling libm v0.2.16
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling zerocopy v0.8.37
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling cc v1.2.55
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling pulp v0.22.2
[INFO] [stderr]     Checking raw-cpuid v11.6.0
[INFO] [stderr]     Checking pulp-wasm-simd-flag v0.1.0
[INFO] [stderr]     Checking reborrow v0.5.5
[INFO] [stderr]    Compiling dyn-stack-macros v0.1.3
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling zmij v1.0.18
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking rand_core v0.9.5
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking as-slice v0.2.1
[INFO] [stderr]     Checking flate2 v1.1.8
[INFO] [stderr]    Compiling built v0.8.0
[INFO] [stderr]    Compiling av-scenechange v0.14.1
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]     Checking aligned v0.4.3
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]    Compiling rav1e v0.8.1
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking y4m v0.8.0
[INFO] [stderr]     Checking quick-error v2.0.1
[INFO] [stderr]    Compiling pastey v0.1.1
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking typed-path v0.12.2
[INFO] [stderr]    Compiling portable-atomic v1.13.1
[INFO] [stderr]    Compiling rustls v0.23.36
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking bitstream-io v4.9.0
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking maybe-rayon v0.1.1
[INFO] [stderr]     Checking webpki-roots v1.0.5
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking memmap2 v0.9.9
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking imgref v1.12.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]     Checking new_debug_unreachable v1.0.6
[INFO] [stderr]     Checking zune-core v0.4.12
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking zune-jpeg v0.4.21
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking loop9 v0.1.5
[INFO] [stderr]     Checking webpki-roots v0.26.11
[INFO] [stderr]     Checking avif-serialize v0.8.6
[INFO] [stderr]     Checking zip v7.2.0
[INFO] [stderr]     Checking pxfm v0.1.27
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking bit_field v0.10.3
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking rgb v0.8.52
[INFO] [stderr]     Checking lebe v0.5.3
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking zune-jpeg v0.5.12
[INFO] [stderr]     Checking rustls-webpki v0.103.9
[INFO] [stderr]     Checking gif v0.14.1
[INFO] [stderr]     Checking png v0.18.0
[INFO] [stderr]     Checking image-webp v0.2.4
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]    Compiling zerocopy-derive v0.8.37
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.2
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling equator-macro v0.4.2
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking equator v0.4.2
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]     Checking aligned-vec v0.6.4
[INFO] [stderr]     Checking v_frame v0.3.9
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking dyn-stack v0.13.2
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling profiling-procmacros v1.0.17
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking av1-grain v0.2.5
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling fax_derive v0.2.0
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking fax v0.2.6
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]     Checking moxcms v0.7.11
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking safetensors v0.7.0
[INFO] [stderr]     Checking ureq v2.12.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.5.1
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking hf-hub v0.3.2
[INFO] [stderr]     Checking gemm-common v0.19.0
[INFO] [stderr]     Checking float8 v0.6.0
[INFO] [stderr]     Checking exr v1.74.0
[INFO] [stderr]     Checking tiff v0.10.3
[INFO] [stderr]     Checking gemm-f32 v0.19.0
[INFO] [stderr]     Checking gemm-c64 v0.19.0
[INFO] [stderr]     Checking gemm-f64 v0.19.0
[INFO] [stderr]     Checking gemm-c32 v0.19.0
[INFO] [stderr]     Checking ravif v0.12.0
[INFO] [stderr]     Checking gemm-f16 v0.19.0
[INFO] [stderr]     Checking gemm v0.19.0
[INFO] [stderr]     Checking candle-core v0.9.2 (https://github.com/imperatormk/candle?branch=main#674fa161)
[INFO] [stderr]     Checking image v0.25.9
[INFO] [stderr]     Checking candle-nn v0.9.2 (https://github.com/imperatormk/candle?branch=main#674fa161)
[INFO] [stderr]     Checking candle-birefnet v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `DType`
[INFO] [stdout]  --> src/deform_conv.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | use candle_core::{Result, Tensor, Module, DType};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DType`
[INFO] [stdout]  --> src/aspp.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 | use candle_core::{Result, Tensor, Module, ModuleT, D, DType};
[INFO] [stdout]   |                                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DType`
[INFO] [stdout]  --> src/deform_conv.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 | use candle_core::{Result, Tensor, Module, DType};
[INFO] [stdout]   |                                           ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DType`
[INFO] [stdout]  --> src/aspp.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 | use candle_core::{Result, Tensor, Module, ModuleT, D, DType};
[INFO] [stdout]   |                                                       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kernel_size`, `padding`, `in_channels`, and `out_channels` are never read
[INFO] [stdout]   --> src/aspp.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DeformConvASPP {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     kernel_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 18 |     padding: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     in_channels: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     out_channels: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `relative_position_bias_table`, `relative_position_index`, and `window_size` are never read
[INFO] [stdout]    --> src/swin.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct WindowAttention {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     relative_position_bias_table: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 115 |     relative_position_index: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     window_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `lateral_channels` on type `BiRefNetConfig`
[INFO] [stdout]   --> examples/test_decoder.rs:21:49
[INFO] [stdout]    |
[INFO] [stdout] 21 |     println!("  Lateral channels: {:?}", config.lateral_channels);
[INFO] [stdout]    |                                                 ^^^^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 21 |     println!("  Lateral channels: {:?}", config.lateral_channels());
[INFO] [stdout]    |                                                                 ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `kernel_size`, `padding`, `in_channels`, and `out_channels` are never read
[INFO] [stdout]   --> src/aspp.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct DeformConvASPP {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     kernel_size: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 18 |     padding: usize,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 19 |     in_channels: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 20 |     out_channels: usize,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `relative_position_bias_table`, `relative_position_index`, and `window_size` are never read
[INFO] [stdout]    --> src/swin.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 111 | struct WindowAttention {
[INFO] [stdout]     |        --------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 114 |     relative_position_bias_table: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 115 |     relative_position_index: Tensor,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 |     window_size: usize,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `lateral_channels` on type `BiRefNetConfig`
[INFO] [stdout]   --> examples/test_decoder.rs:39:56
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let x1 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels[3], h / 4, w / 4), &device)?;
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let x1 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels()[3], h / 4, w / 4), &device)?;
[INFO] [stdout]    |                                                                        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `lateral_channels` on type `BiRefNetConfig`
[INFO] [stdout]   --> examples/test_decoder.rs:40:56
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let x2 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels[2], h / 8, w / 8), &device)?;
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let x2 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels()[2], h / 8, w / 8), &device)?;
[INFO] [stdout]    |                                                                        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `lateral_channels` on type `BiRefNetConfig`
[INFO] [stdout]   --> examples/test_decoder.rs:41:56
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let x3 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels[1], h / 16, w / 16), &device)?;
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let x3 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels()[1], h / 16, w / 16), &device)?;
[INFO] [stdout]    |                                                                        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `lateral_channels` on type `BiRefNetConfig`
[INFO] [stdout]   --> examples/test_decoder.rs:42:56
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let x4 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels[0], h / 32, w / 32), &device)?;
[INFO] [stdout]    |                                                        ^^^^^^^^^^^^^^^^ method, not a field
[INFO] [stdout]    |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let x4 = Tensor::randn(0.0f32, 1.0, (batch, config.lateral_channels()[0], h / 32, w / 32), &device)?;
[INFO] [stdout]    |                                                                        ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `forward_with_features` found for struct `BiRefNet` in the current scope
[INFO] [stdout]   --> examples/test_decoder.rs:53:24
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let output = model.forward_with_features(&x, &x1, &x2, &x3, &x4)?;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^ method not found in `BiRefNet`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/test_swin.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 |         m.wait_until_completed()?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0599, E0615.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/test_swin.rs:49:11
[INFO] [stdout]    |
[INFO] [stdout] 49 |         m.wait_until_completed()?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `candle-birefnet` (example "test_decoder") due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `candle-birefnet` (example "test_swin") due to 2 previous errors
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:34:43
[INFO] [stdout]    |
[INFO] [stdout] 34 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:39:43
[INFO] [stdout]    |
[INFO] [stdout] 39 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:65:43
[INFO] [stdout]    |
[INFO] [stdout] 65 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:68:43
[INFO] [stdout]    |
[INFO] [stdout] 68 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:74:43
[INFO] [stdout]    |
[INFO] [stdout] 74 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `swin_t` found for struct `BiRefNetConfig` in the current scope
[INFO] [stdout]   --> examples/test_birefnet.rs:14:34
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let config = BiRefNetConfig::swin_t();
[INFO] [stdout]    |                                  ^^^^^^ associated function or constant not found in `BiRefNetConfig`
[INFO] [stdout]    |
[INFO] [stdout] note: if you're trying to build a new `BiRefNetConfig`, consider using `BiRefNetConfig::swin_l` which returns `BiRefNetConfig`
[INFO] [stdout]   --> src/birefnet.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     pub fn swin_l() -> Self {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `swin_l` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 14 -     let config = BiRefNetConfig::swin_t();
[INFO] [stdout] 14 +     let config = BiRefNetConfig::swin_l();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:80:43
[INFO] [stdout]    |
[INFO] [stdout] 80 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/test_birefnet.rs:39:11
[INFO] [stdout]    |
[INFO] [stdout] 39 |         m.wait_until_completed()?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:86:43
[INFO] [stdout]    |
[INFO] [stdout] 86 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/test_birefnet.rs:51:11
[INFO] [stdout]    |
[INFO] [stdout] 51 |         m.wait_until_completed()?;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:91:43
[INFO] [stdout]    |
[INFO] [stdout] 91 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Module`
[INFO] [stdout]  --> examples/test_birefnet.rs:3:42
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candle_core::{Device, DType, Tensor, Module};
[INFO] [stdout]   |                                          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `wait_until_completed` found for reference `&MetalDevice` in the current scope
[INFO] [stdout]   --> examples/bench_swin_attn.rs:96:43
[INFO] [stdout]    |
[INFO] [stdout] 96 |     if let Device::Metal(m) = &device { m.wait_until_completed()?; }
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^^^^^ method not found in `&MetalDevice`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `candle-birefnet` (example "bench_swin_attn") due to 10 previous errors
[INFO] [stderr] error: could not compile `candle-birefnet` (example "test_birefnet") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5", kill_on_drop: false }`
[INFO] [stdout] d5a16daaeb61e6a2c5c97714efa26151543f06fb165d7ef7c24721a917f6fed5
