[INFO] cloning repository https://github.com/iturner72/bb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iturner72/bb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiturner72%2Fbb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiturner72%2Fbb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7baad820a8daf71dba3432db420929635077416 [INFO] testing iturner72/bb against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiturner72%2Fbb" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/iturner72/bb [INFO] finished tweaking git repo https://github.com/iturner72/bb [INFO] tweaked toml for git repo https://github.com/iturner72/bb written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/iturner72/bb on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/iturner72/bb 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccdc82354dd9987d68d677c6a93532d053e586daf7421d308cad62e9e1d0ee0c [INFO] running `Command { std: "docker" "start" "-a" "ccdc82354dd9987d68d677c6a93532d053e586daf7421d308cad62e9e1d0ee0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccdc82354dd9987d68d677c6a93532d053e586daf7421d308cad62e9e1d0ee0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccdc82354dd9987d68d677c6a93532d053e586daf7421d308cad62e9e1d0ee0c", kill_on_drop: false }` [INFO] [stdout] ccdc82354dd9987d68d677c6a93532d053e586daf7421d308cad62e9e1d0ee0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad003a1f108c2bf9d7f111e7ff69ec9c72d06a605c1e1cc83db4948b770aadf8 [INFO] running `Command { std: "docker" "start" "-a" "ad003a1f108c2bf9d7f111e7ff69ec9c72d06a605c1e1cc83db4948b770aadf8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling throw_error v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling or_poisoned v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling server_fn_macro v0.8.7 [INFO] [stderr] Compiling reactive_graph v0.2.7 [INFO] [stderr] Compiling send_wrapper v0.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling guardian v1.3.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling camino v1.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling tachys v0.2.8 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling toml_parser v1.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling event-listener-strategy v0.5.3 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling either_of v0.1.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling server_fn v0.8.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling const_str_slice_concat v0.1.0 [INFO] [stderr] Compiling drain_filter_polyfill v0.1.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling linear-map v1.2.0 [INFO] [stderr] Compiling erased v0.1.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Compiling next_tuple v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling leptos_macro v0.8.8 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling const-str v0.6.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling leptos v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling async-once-cell v0.5.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling leptos_router v0.8.7 [INFO] [stderr] Compiling leptos-fetch v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pulldown-cmark v0.13.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling task-local v0.1.0 [INFO] [stderr] Compiling pulldown-cmark-escape v0.11.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling syn_derive v0.2.0 [INFO] [stderr] Compiling reactive_stores_macro v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tracing-attributes v0.1.29 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling server_fn_macro_default v0.8.5 [INFO] [stderr] Compiling typed-builder-macro v0.21.2 [INFO] [stderr] Compiling leptos_router_macro v0.8.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling quote-use-macros v0.8.0 [INFO] [stderr] Compiling rstml v0.12.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling quote-use v0.8.0 [INFO] [stderr] Compiling attribute-derive-macro v0.10.3 [INFO] [stderr] Compiling typed-builder v0.21.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling wasm_split_macros v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling attribute-derive v0.10.3 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling wasm_split_helpers v0.1.2 [INFO] [stderr] Compiling oco_ref v0.2.1 [INFO] [stderr] Compiling serde_spanned v1.0.0 [INFO] [stderr] Compiling toml_datetime v0.7.0 [INFO] [stderr] Compiling serde_qs v0.15.0 [INFO] [stderr] Compiling codee v0.3.2 [INFO] [stderr] Compiling leptos_hot_reload v0.8.5 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.9.4 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling config v0.15.13 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling chrono-humanize v0.2.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hydration_context v0.3.0 [INFO] [stderr] Compiling leptos_config v0.8.7 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling any_spawner v0.3.0 [INFO] [stderr] Compiling hyper v0.14.29 [INFO] [stderr] Compiling reactive_stores v0.2.5 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling postgrest v1.6.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-net v0.6.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling leptos_dom v0.8.6 [INFO] [stderr] Compiling leptos_server v0.8.5 [INFO] [stderr] Compiling leptos_meta v0.8.5 [INFO] [stderr] Compiling bb v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `models::RoomPlayerView` [INFO] [stdout] --> src/components/room_page.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | }, models::RoomPlayerView}; [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 variable: `is_authenticated` [INFO] [stdout] --> src/components/auth_nav.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | let (is_authenticated, set_is_authenticated) = signal(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_authenticated` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_checking` [INFO] [stdout] --> src/components/auth_nav.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (is_checking, set_is_checking) = signal(true); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_checking` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_touch_x` [INFO] [stdout] --> src/components/canvas.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | let (last_touch_x, set_last_touch_x) = signal(0.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_touch_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_last_touch_x` [INFO] [stdout] --> src/components/canvas.rs:38:24 [INFO] [stdout] | [INFO] [stdout] 38 | let (last_touch_x, set_last_touch_x) = signal(0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_last_touch_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_touch_y` [INFO] [stdout] --> src/components/canvas.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | let (last_touch_y, set_last_touch_y) = signal(0.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_touch_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set_last_touch_y` [INFO] [stdout] --> src/components/canvas.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | let (last_touch_y, set_last_touch_y) = signal(0.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_set_last_touch_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `url` [INFO] [stdout] --> src/components/canvas.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | CanvasMessage::CanvasSaved { url } => { [INFO] [stdout] | ^^^ help: try ignoring the field: `url: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_user` [INFO] [stdout] --> src/components/room_browser.rs:498:9 [INFO] [stdout] | [INFO] [stdout] 498 | let current_user = auth.current_user.get(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_user` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `code_lang` is never read [INFO] [stdout] --> src/components/markdown.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | let mut code_lang = String::new(); [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: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/bin/model_inspector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [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: `dotenv::dotenv` [INFO] [stdout] --> src/bin/test_embedding.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv::dotenv; [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::env` [INFO] [stdout] --> src/bin/hash_password.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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: `dotenv::dotenv` [INFO] [stdout] --> src/bin/test_local_insert.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dotenv::dotenv; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `sha2` [INFO] [stdout] --> src/bin/download_models.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sha2::{Digest, Sha256}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `sha2` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `sha2`, use `cargo add sha2` 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 `tokio` [INFO] [stdout] --> src/bin/download_models.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | info!("Checking existing file: {}", filename); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | info!("File {} already exists and hash matches", filename); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | info!("File {} exists but hash doesn't match, re-downloading", filename); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | info!("Downloading {} to {}", url, file_path.display()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | info!("Successfully downloaded to {}", file_path.display()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> src/bin/download_models.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | error!("Hash verification failed for {}", filename); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing one of these macros [INFO] [stdout] | [INFO] [stdout] 3 + use leptos::logging::error; [INFO] [stdout] | [INFO] [stdout] 3 + use log::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | info!("Successfully verified {}", filename); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/bin/download_models.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | info!("All model files downloaded and verified successfully!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use log::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] --> src/bin/download_models.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let response = reqwest::get(url).await?; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `reqwest` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `reqwest`, use `cargo add reqwest` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/bin/download_models.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | async fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bb` (bin "download_models") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "ad003a1f108c2bf9d7f111e7ff69ec9c72d06a605c1e1cc83db4948b770aadf8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad003a1f108c2bf9d7f111e7ff69ec9c72d06a605c1e1cc83db4948b770aadf8", kill_on_drop: false }` [INFO] [stdout] ad003a1f108c2bf9d7f111e7ff69ec9c72d06a605c1e1cc83db4948b770aadf8