[INFO] fetching crate create-tauri-app 4.6.2... [INFO] checking create-tauri-app-4.6.2 against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] extracting crate create-tauri-app 4.6.2 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking crates.io crate create-tauri-app 4.6.2 [INFO] finished tweaking crates.io crate create-tauri-app 4.6.2 [INFO] tweaked toml for crates.io crate create-tauri-app 4.6.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate create-tauri-app 4.6.2 on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate create-tauri-app 4.6.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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fbacf4d601d4c279a7bc4021e79da7bab9f43824c2ce53910dfa7f733e0a422 [INFO] running `Command { std: "docker" "start" "-a" "2fbacf4d601d4c279a7bc4021e79da7bab9f43824c2ce53910dfa7f733e0a422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fbacf4d601d4c279a7bc4021e79da7bab9f43824c2ce53910dfa7f733e0a422", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fbacf4d601d4c279a7bc4021e79da7bab9f43824c2ce53910dfa7f733e0a422", kill_on_drop: false }` [INFO] [stdout] 2fbacf4d601d4c279a7bc4021e79da7bab9f43824c2ce53910dfa7f733e0a422 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2f1bf68d62d6827511cdd9aabe1c4288cc208b695524f6b8e383ce4fbeacec6 [INFO] running `Command { std: "docker" "start" "-a" "d2f1bf68d62d6827511cdd9aabe1c4288cc208b695524f6b8e383ce4fbeacec6", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking once_cell v1.19.0 [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 libc v0.2.174 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling rust-embed-utils v8.7.2 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking ctrlc v3.4.7 [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.6.2 (/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 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 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[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 a bound in `None` [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:597:5 [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:21 [INFO] [stdout] | [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 445 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 446 | | .components() [INFO] [stdout] 447 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 450 | | == "_base_" [INFO] [stdout] 451 | | }) { [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/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:593:1 [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 a bound in `None` [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:597:5 [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:21 [INFO] [stdout] | [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 457 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 458 | | .components() [INFO] [stdout] 459 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 462 | | == path::PathBuf::from(format!("template-{self}")) [INFO] [stdout] 463 | | }) { [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/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:593:1 [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: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[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 a bound in `None` [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:597:5 [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:21 [INFO] [stdout] | [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 445 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 446 | | .components() [INFO] [stdout] 447 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 450 | | == "_base_" [INFO] [stdout] 451 | | }) { [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/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:593:1 [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 a bound in `None` [INFO] [stdout] --> /rustc/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:597:5 [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:21 [INFO] [stdout] | [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 457 | | path::PathBuf::from(e.to_string()) [INFO] [stdout] 458 | | .components() [INFO] [stdout] 459 | | .next() [INFO] [stdout] ... | [INFO] [stdout] 462 | | == path::PathBuf::from(format!("template-{self}")) [INFO] [stdout] 463 | | }) { [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/ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1/library/core/src/option.rs:593:1 [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 15 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 15 previous errors [INFO] running `Command { std: "docker" "inspect" "d2f1bf68d62d6827511cdd9aabe1c4288cc208b695524f6b8e383ce4fbeacec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2f1bf68d62d6827511cdd9aabe1c4288cc208b695524f6b8e383ce4fbeacec6", kill_on_drop: false }` [INFO] [stdout] d2f1bf68d62d6827511cdd9aabe1c4288cc208b695524f6b8e383ce4fbeacec6