[INFO] fetching crate create-tauri-app 4.6.2... [INFO] checking create-tauri-app-4.6.2 against try#2278ef25f90817c20d6dd0d2da58a990eb6f53cb for pr-145108-1 [INFO] extracting crate create-tauri-app 4.6.2 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate create-tauri-app 4.6.2 on toolchain 2278ef25f90817c20d6dd0d2da58a990eb6f53cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ad1f88a5e427c2c3c6e40417c2766267f7acb01f35b54c9134d4e36f2968deb [INFO] running `Command { std: "docker" "start" "-a" "2ad1f88a5e427c2c3c6e40417c2766267f7acb01f35b54c9134d4e36f2968deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ad1f88a5e427c2c3c6e40417c2766267f7acb01f35b54c9134d4e36f2968deb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ad1f88a5e427c2c3c6e40417c2766267f7acb01f35b54c9134d4e36f2968deb", kill_on_drop: false }` [INFO] [stdout] 2ad1f88a5e427c2c3c6e40417c2766267f7acb01f35b54c9134d4e36f2968deb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2278ef25f90817c20d6dd0d2da58a990eb6f53cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3f63b87accd0eb04838453ef8a55c7131486ef8764ffdad6a00ff08e396022b [INFO] running `Command { std: "docker" "start" "-a" "f3f63b87accd0eb04838453ef8a55c7131486ef8764ffdad6a00ff08e396022b", kill_on_drop: false }` [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 generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling dary_heap v0.3.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling shellexpand v3.1.0 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stderr] Compiling include-flate-codegen v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [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 thiserror v1.0.63 [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 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: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: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[E0282]: type annotations needed [INFO] [stdout] --> src/template.rs:444:56 [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] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [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[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[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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:598: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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:594: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[E0282]: type annotations needed [INFO] [stdout] --> src/template.rs:456:56 [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] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:598: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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:594: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 `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[E0282]: type annotations needed [INFO] [stdout] --> src/template.rs:444:56 [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] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 444 | for file in EMBEDDED_TEMPLATES::iter().filter(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:598: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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:594: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[E0282]: type annotations needed [INFO] [stdout] --> src/template.rs:456:56 [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] | - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 456 | for file in EMBEDDED_TEMPLATES::iter().filter(|e: /* Type */| { [INFO] [stdout] | ++++++++++++ [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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:598: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/2278ef25f90817c20d6dd0d2da58a990eb6f53cb/library/core/src/option.rs:594: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, E0282, 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 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0282, 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 17 previous errors [INFO] running `Command { std: "docker" "inspect" "f3f63b87accd0eb04838453ef8a55c7131486ef8764ffdad6a00ff08e396022b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3f63b87accd0eb04838453ef8a55c7131486ef8764ffdad6a00ff08e396022b", kill_on_drop: false }` [INFO] [stdout] f3f63b87accd0eb04838453ef8a55c7131486ef8764ffdad6a00ff08e396022b