[INFO] fetching crate create-tauri-app 4.7.0... [INFO] checking create-tauri-app-4.7.0 against try#fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 for pr-145108-2 [INFO] extracting crate create-tauri-app 4.7.0 into /workspace/builds/worker-6-tc2/source [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate create-tauri-app 4.7.0 [INFO] finished tweaking crates.io crate create-tauri-app 4.7.0 [INFO] tweaked toml for crates.io crate create-tauri-app 4.7.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate create-tauri-app 4.7.0 on toolchain fa4dd1f19bfeb3fd235dc7f1406c42404436bef5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate create-tauri-app 4.7.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" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5dc40868d45424212296fa22b21b8e58d5ca6483a3b1e6ccd35970fd918ffd52 [INFO] running `Command { std: "docker" "start" "-a" "5dc40868d45424212296fa22b21b8e58d5ca6483a3b1e6ccd35970fd918ffd52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5dc40868d45424212296fa22b21b8e58d5ca6483a3b1e6ccd35970fd918ffd52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dc40868d45424212296fa22b21b8e58d5ca6483a3b1e6ccd35970fd918ffd52", kill_on_drop: false }` [INFO] [stdout] 5dc40868d45424212296fa22b21b8e58d5ca6483a3b1e6ccd35970fd918ffd52 [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+fa4dd1f19bfeb3fd235dc7f1406c42404436bef5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79ba96f58992c563053e98c18cb8741432ee45b8a767fffb713aa62565995cd5 [INFO] running `Command { std: "docker" "start" "-a" "79ba96f58992c563053e98c18cb8741432ee45b8a767fffb713aa62565995cd5", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling include-flate-codegen v0.2.0 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Checking include-flate v0.3.0 [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking create-tauri-app v4.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/template.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/template.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/template.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[folder = "templates"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(RustEmbed)] [INFO] [stdout] 23 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Embed` in this scope [INFO] [stdout] --> src/template.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Embed)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Embed` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/template.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `folder` in this scope [INFO] [stdout] --> src/template.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[folder = "templates"] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `folder` is an attribute that can be used by the derive macro `RustEmbed`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(RustEmbed)] [INFO] [stdout] 23 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 275 | EMBEDDED_TEMPLATES::get(&format!("template-{self}/{CTA_MANIFEST_FILENAME}")) [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:299:33 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 299 | EMBEDDED_TEMPLATES::get("_assets_/styles.css") [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:427:48 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 427 | let data = EMBEDDED_TEMPLATES::get(file).unwrap().data.to_vec(); [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 431 | let data = EMBEDDED_TEMPLATES::get(file).unwrap().data.to_vec(); [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:444:41 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:275:33 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 275 | EMBEDDED_TEMPLATES::get(&format!("template-{self}/{CTA_MANIFEST_FILENAME}")) [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | / for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] 445 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 446 | | .components() [INFO] [stdout] 447 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 452 | | write_file(&file, &template_data)?; [INFO] [stdout] 453 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/fa4dd1f19bfeb3fd235dc7f1406c42404436bef5/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:456:41 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | / for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] 457 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 458 | | .components() [INFO] [stdout] 459 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 464 | | write_file(&file, &template_data)?; [INFO] [stdout] 465 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/fa4dd1f19bfeb3fd235dc7f1406c42404436bef5/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 469 | let data = EMBEDDED_TEMPLATES::get(&format!("_assets_/{src}")) [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:299:33 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 299 | EMBEDDED_TEMPLATES::get("_assets_/styles.css") [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:427:48 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 427 | let data = EMBEDDED_TEMPLATES::get(file).unwrap().data.to_vec(); [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:431:48 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 431 | let data = EMBEDDED_TEMPLATES::get(file).unwrap().data.to_vec(); [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:444:41 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:444:9 [INFO] [stdout] | [INFO] [stdout] 444 | / for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] 445 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 446 | | .components() [INFO] [stdout] 447 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 452 | | write_file(&file, &template_data)?; [INFO] [stdout] 453 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/fa4dd1f19bfeb3fd235dc7f1406c42404436bef5/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `iter` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:456:41 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `iter` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `iter`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `bitflags::traits::Flags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/template.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | / for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] 457 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 458 | | .components() [INFO] [stdout] 459 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 464 | | write_file(&file, &template_data)?; [INFO] [stdout] 465 | | } [INFO] [stdout] | |_________^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/fa4dd1f19bfeb3fd235dc7f1406c42404436bef5/library/core/src/option.rs:600:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `EMBEDDED_TEMPLATES` in the current scope [INFO] [stdout] --> src/template.rs:469:44 [INFO] [stdout] | [INFO] [stdout] 22 | struct EMBEDDED_TEMPLATES; [INFO] [stdout] | ------------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 469 | let data = EMBEDDED_TEMPLATES::get(&format!("_assets_/{src}")) [INFO] [stdout] | ^^^ function or associated item not found in `EMBEDDED_TEMPLATES` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `SliceIndex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `create-tauri-app` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `create-tauri-app` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "79ba96f58992c563053e98c18cb8741432ee45b8a767fffb713aa62565995cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79ba96f58992c563053e98c18cb8741432ee45b8a767fffb713aa62565995cd5", kill_on_drop: false }` [INFO] [stdout] 79ba96f58992c563053e98c18cb8741432ee45b8a767fffb713aa62565995cd5