[INFO] fetching crate spatial-maker 0.3.2... [INFO] testing spatial-maker-0.3.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate spatial-maker 0.3.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate spatial-maker 0.3.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate spatial-maker 0.3.2 [INFO] tweaked toml for crates.io crate spatial-maker 0.3.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spatial-maker 0.3.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate spatial-maker 0.3.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4d686027ab54e5198022b05ede524e61d883087e9e13590c7613a8301cb331e [INFO] running `Command { std: "docker" "start" "-a" "c4d686027ab54e5198022b05ede524e61d883087e9e13590c7613a8301cb331e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4d686027ab54e5198022b05ede524e61d883087e9e13590c7613a8301cb331e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4d686027ab54e5198022b05ede524e61d883087e9e13590c7613a8301cb331e", kill_on_drop: false }` [INFO] [stdout] c4d686027ab54e5198022b05ede524e61d883087e9e13590c7613a8301cb331e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39dc4297321eaa282dee2ea629a91fbc0867b1dd0587d96e36f4149773d84764 [INFO] running `Command { std: "docker" "start" "-a" "39dc4297321eaa282dee2ea629a91fbc0867b1dd0587d96e36f4149773d84764", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling syn v2.0.115 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling pxfm v0.1.27 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling clap_builder v4.5.58 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling zune-jpeg v0.5.12 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling moxcms v0.7.11 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling spatial-maker v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [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: `std::process::Command` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling serde_json v1.0.149 [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 tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling clap v4.5.58 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/video.rs:459:3 [INFO] [stdout] | [INFO] [stdout] 453 | / return Err(SpatialError::ConfigError( [INFO] [stdout] 454 | | "No depth backend enabled. Enable 'coreml' or 'onnx' feature.".to_string(), [INFO] [stdout] 455 | | )); [INFO] [stdout] | |__________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 459 | let (left, right) = generate_stereo_pair(&frame, &depth_map, config.max_disparity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 76 | / return Err(SpatialError::ConfigError( [INFO] [stdout] 77 | | "No depth backend enabled. Enable 'coreml' (macOS) or 'onnx' feature.".to_string(), [INFO] [stdout] 78 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 82 | let (left, right) = generate_stereo_pair(&input_image, &depth_map, config.max_disparity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkpoint_dir` [INFO] [stdout] --> src/model.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | let checkpoint_dir = get_checkpoint_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/video.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | let frame = frame_to_image(&frame_data, metadata.width, metadata.height)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_map` [INFO] [stdout] --> src/video.rs:444:7 [INFO] [stdout] | [INFO] [stdout] 444 | let depth_map = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> src/lib.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | output_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_options` [INFO] [stdout] --> src/lib.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | output_options: OutputOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_image` [INFO] [stdout] --> src/lib.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let input_image = load_image(input_path).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_map` [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | let depth_map = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_model` is never used [INFO] [stdout] --> src/model.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | async fn download_model( [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 2m 31s [INFO] running `Command { std: "docker" "inspect" "39dc4297321eaa282dee2ea629a91fbc0867b1dd0587d96e36f4149773d84764", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39dc4297321eaa282dee2ea629a91fbc0867b1dd0587d96e36f4149773d84764", kill_on_drop: false }` [INFO] [stdout] 39dc4297321eaa282dee2ea629a91fbc0867b1dd0587d96e36f4149773d84764 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd80f2f9afa2f4aaccdfca5d032e1d8f59091f7f17dd1236979c8d72be4042a3 [INFO] running `Command { std: "docker" "start" "-a" "dd80f2f9afa2f4aaccdfca5d032e1d8f59091f7f17dd1236979c8d72be4042a3", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> build.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [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: `std::process::Command` [INFO] [stdout] --> build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Compiling native-tls v0.2.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling spatial-maker v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/video.rs:459:3 [INFO] [stdout] | [INFO] [stdout] 453 | / return Err(SpatialError::ConfigError( [INFO] [stdout] 454 | | "No depth backend enabled. Enable 'coreml' or 'onnx' feature.".to_string(), [INFO] [stdout] 455 | | )); [INFO] [stdout] | |__________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 459 | let (left, right) = generate_stereo_pair(&frame, &depth_map, config.max_disparity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 76 | / return Err(SpatialError::ConfigError( [INFO] [stdout] 77 | | "No depth backend enabled. Enable 'coreml' (macOS) or 'onnx' feature.".to_string(), [INFO] [stdout] 78 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 82 | let (left, right) = generate_stereo_pair(&input_image, &depth_map, config.max_disparity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkpoint_dir` [INFO] [stdout] --> src/model.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | let checkpoint_dir = get_checkpoint_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/video.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | let frame = frame_to_image(&frame_data, metadata.width, metadata.height)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_map` [INFO] [stdout] --> src/video.rs:444:7 [INFO] [stdout] | [INFO] [stdout] 444 | let depth_map = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> src/lib.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | output_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_options` [INFO] [stdout] --> src/lib.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | output_options: OutputOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_image` [INFO] [stdout] --> src/lib.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let input_image = load_image(input_path).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_map` [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | let depth_map = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_model` is never used [INFO] [stdout] --> src/model.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | async fn download_model( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/video.rs:459:3 [INFO] [stdout] | [INFO] [stdout] 453 | / return Err(SpatialError::ConfigError( [INFO] [stdout] 454 | | "No depth backend enabled. Enable 'coreml' or 'onnx' feature.".to_string(), [INFO] [stdout] 455 | | )); [INFO] [stdout] | |__________________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 459 | let (left, right) = generate_stereo_pair(&frame, &depth_map, config.max_disparity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/lib.rs:82:2 [INFO] [stdout] | [INFO] [stdout] 76 | / return Err(SpatialError::ConfigError( [INFO] [stdout] 77 | | "No depth backend enabled. Enable 'coreml' (macOS) or 'onnx' feature.".to_string(), [INFO] [stdout] 78 | | )); [INFO] [stdout] | |______________- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 82 | let (left, right) = generate_stereo_pair(&input_image, &depth_map, config.max_disparity)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkpoint_dir` [INFO] [stdout] --> src/model.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | let checkpoint_dir = get_checkpoint_dir()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkpoint_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/video.rs:427:7 [INFO] [stdout] | [INFO] [stdout] 427 | let frame = frame_to_image(&frame_data, metadata.width, metadata.height)?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_map` [INFO] [stdout] --> src/video.rs:444:7 [INFO] [stdout] | [INFO] [stdout] 444 | let depth_map = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_path` [INFO] [stdout] --> src/lib.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | output_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_options` [INFO] [stdout] --> src/lib.rs:50:2 [INFO] [stdout] | [INFO] [stdout] 50 | output_options: OutputOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_image` [INFO] [stdout] --> src/lib.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let input_image = load_image(input_path).await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `depth_map` [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | let depth_map = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_depth_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `download_model` is never used [INFO] [stdout] --> src/model.rs:188:10 [INFO] [stdout] | [INFO] [stdout] 188 | async fn download_model( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `spatial_maker::CoreMLDepthEstimator` [INFO] [stdout] --> examples/photo_coreml.rs:2:58 [INFO] [stdout] | [INFO] [stdout] 2 | use spatial_maker::{generate_stereo_pair, model, output, CoreMLDepthEstimator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `CoreMLDepthEstimator` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(all(target_os = "macos", feature = "coreml"))] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 20 | pub use depth_coreml::CoreMLDepthEstimator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `spatial-maker` (example "photo_coreml") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "dd80f2f9afa2f4aaccdfca5d032e1d8f59091f7f17dd1236979c8d72be4042a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd80f2f9afa2f4aaccdfca5d032e1d8f59091f7f17dd1236979c8d72be4042a3", kill_on_drop: false }` [INFO] [stdout] dd80f2f9afa2f4aaccdfca5d032e1d8f59091f7f17dd1236979c8d72be4042a3