Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 247.7 error[E0412]: cannot find type `SystemTrayConfig` in module `crate::helpers::config`
- 247.7 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1030:54
- 247.7 |
- 247.7 1030 | system_tray_config: Option<crate::helpers::config::SystemTrayConfig>,
- 247.7 | ^^^^^^^^^^^^^^^^ not found in `crate::helpers::config`
- 247.7
- 247.8 error[E0308]: mismatched types
- 247.8 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/helpers/web_dev_server.rs:183:47
- 247.8 |
- 247.8 183 | f = tauri_utils::html::serialize_node(&document);
- 247.8 | --------------------------------- ^^^^^^^^^ expected `tauri_utils::html::NodeRef`, found `kuchiki::NodeRef`
- 247.8 | |
- 247.8 | arguments to this function are incorrect
- 247.8 |
- 247.8 = note: `kuchiki::NodeRef` and `tauri_utils::html::NodeRef` have similar names, but are actually distinct types
- 247.8 note: `kuchiki::NodeRef` is defined in crate `kuchiki`
- 247.8 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kuchiki-0.8.1/src/tree.rs:96:1
- 247.8 |
- 247.8 96 | pub struct NodeRef(pub Rc<Node>);
- 247.8 | ^^^^^^^^^^^^^^^^^^
- 247.8 note: `tauri_utils::html::NodeRef` is defined in crate `kuchikiki`
- 247.8 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/kuchikiki-0.8.2/src/tree.rs:96:1
- 247.8 |
- 247.8 96 | pub struct NodeRef(pub Rc<Node>);
- 247.8 | ^^^^^^^^^^^^^^^^^^
- 247.8 note: function defined here
- 247.8 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-alpha.12/src/html.rs:104:8
- 247.8 |
- 247.8 104 | pub fn serialize_node(node: &NodeRef) -> Vec<u8> {
- 247.8 | ^^^^^^^^^^^^^^
- 247.8
- 247.9 error[E0609]: no field `system_tray` on type `tauri_utils::config::TauriConfig`
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/build.rs:145:24
- 247.9 |
- 247.9 145 | if config_.tauri.system_tray.is_some() {
- 247.9 | ^^^^^^^^^^^ unknown field
- 247.9 |
- 247.9 = note: available fields are: `pattern`, `windows`, `bundle`, `security`, `tray_icon`, `macos_private_api`
- 247.9
- 247.9 error[E0061]: this function takes 2 arguments but 1 argument was supplied
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/helpers/app_paths.rs:71:23
- 247.9 |
- 247.9 71 | lookup(&cwd, |path| folder_has_configuration_file(path) || is_configuration_file(path))
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- an argument of type `tauri_utils::platform::Target` is missing
- 247.9 |
- 247.9 note: function defined here
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-alpha.12/src/config/parse.rs:140:8
- 247.9 |
- 247.9 140 | pub fn folder_has_configuration_file(target: Target, folder: &Path) -> bool {
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 247.9 help: provide the argument
- 247.9 |
- 247.9 71 | lookup(&cwd, |path| folder_has_configuration_file(/* tauri_utils::platform::Target */, path) || is_configuration_file(path))
- 247.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 247.9
- 247.9 error[E0061]: this function takes 2 arguments but 1 argument was supplied
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/helpers/app_paths.rs:71:62
- 247.9 |
- 247.9 71 | lookup(&cwd, |path| folder_has_configuration_file(path) || is_configuration_file(path))
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^ ---- an argument of type `tauri_utils::platform::Target` is missing
- 247.9 |
- 247.9 note: function defined here
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-alpha.12/src/config/parse.rs:151:8
- 247.9 |
- 247.9 151 | pub fn is_configuration_file(target: Target, path: &Path) -> bool {
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^
- 247.9 help: provide the argument
- 247.9 |
- 247.9 71 | lookup(&cwd, |path| folder_has_configuration_file(path) || is_configuration_file(/* tauri_utils::platform::Target */, path))
- 247.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 247.9
- 247.9 error[E0063]: missing fields `compression`, `custom_language_files` and `template` in initializer of `NsisSettings`
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/helpers/config.rs:101:3
- 247.9 |
- 247.9 101 | tauri_bundler::NsisSettings {
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `compression`, `custom_language_files` and `template`
- 247.9
- 247.9 error[E0061]: this function takes 2 arguments but 1 argument was supplied
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/helpers/config.rs:125:5
- 247.9 |
- 247.9 125 | tauri_utils::config::parse::parse_value(tauri_dir.join("tauri.conf.json"))?;
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------------- an argument of type `tauri_utils::platform::Target` is missing
- 247.9 |
- 247.9 note: function defined here
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-alpha.12/src/config/parse.rs:242:8
- 247.9 |
- 247.9 242 | pub fn parse_value(
- 247.9 | ^^^^^^^^^^^
- 247.9 help: provide the argument
- 247.9 |
- 247.9 125 | tauri_utils::config::parse::parse_value(/* tauri_utils::platform::Target */, tauri_dir.join("tauri.conf.json"))?;
- 247.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 247.9
- 247.9 error[E0061]: this function takes 2 arguments but 1 argument was supplied
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/helpers/config.rs:130:5
- 247.9 |
- 247.9 130 | tauri_utils::config::parse::read_platform(tauri_dir)?
- 247.9 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------- an argument of type `tauri_utils::platform::Target` is missing
- 247.9 |
- 247.9 note: function defined here
- 247.9 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-alpha.12/src/config/parse.rs:189:8
- 247.9 |
- 247.9 189 | pub fn read_platform(
- 247.9 | ^^^^^^^^^^^^^
- 247.9 help: provide the argument
- 247.9 |
- 247.9 130 | tauri_utils::config::parse::read_platform(/* tauri_utils::platform::Target */, tauri_dir)?
- 247.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 247.9
- 248.1 error[E0061]: this function takes 2 arguments but 1 argument was supplied
- 248.1 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:504:16
- 248.1 |
- 248.1 504 | if is_configuration_file(&event_path) {
- 248.1 | ^^^^^^^^^^^^^^^^^^^^^ ----------- an argument of type `tauri_utils::platform::Target` is missing
- 248.1 |
- 248.1 note: function defined here
- 248.1 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-alpha.12/src/config/parse.rs:151:8
- 248.1 |
- 248.1 151 | pub fn is_configuration_file(target: Target, path: &Path) -> bool {
- 248.1 | ^^^^^^^^^^^^^^^^^^^^^
- 248.1 help: provide the argument
- 248.1 |
- 248.1 504 | if is_configuration_file(/* tauri_utils::platform::Target */, &event_path) {
- 248.1 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 248.1
- 248.1 error[E0609]: no field `system_tray` on type `tauri_utils::config::TauriConfig`
- 248.1 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:695:20
- 248.1 |
- 248.1 695 | config.tauri.system_tray.clone(),
- 248.1 | ^^^^^^^^^^^ unknown field
- 248.1 |
- 248.1 = note: available fields are: `pattern`, `windows`, `bundle`, `security`, `tray_icon`, `macos_private_api`
- 248.1
- 248.1 error[E0277]: the trait bound `BundleResources: std::default::Default` is not satisfied
- 248.1 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1047:40
- 248.1 |
- 248.1 1047 | let mut resources = config.resources.unwrap_or_default();
- 248.1 | ^^^^^^^^^^^^^^^^^ the trait `std::default::Default` is not implemented for `BundleResources`
- 248.1 |
- 248.1 note: required by a bound in `std::option::Option::<T>::unwrap_or_default`
- 248.1 --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/option.rs:1001:5
- 248.1
- 248.2 error[E0599]: no method named `is_empty` found for enum `BundleResources` in the current scope
- 248.2 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1102:29
- 248.2 |
- 248.2 1102 | resources: if resources.is_empty() {
- 248.2 | ^^^^^^^^ method not found in `BundleResources`
- 248.2
- 248.2 error[E0308]: mismatched types
- 248.2 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1105:12
- 248.2 |
- 248.2 1105 | Some(resources)
- 248.2 | ---- ^^^^^^^^^ expected `Vec<String>`, found `BundleResources`
- 248.2 | |
- 248.2 | arguments to this enum variant are incorrect
- 248.2 |
- 248.2 = note: expected struct `Vec<std::string::String>`
- 248.2 found enum `BundleResources`
- 248.2 help: the type constructed contains `BundleResources` due to the type of the argument passed
- 248.2 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1105:7
- 248.2 |
- 248.2 1105 | Some(resources)
- 248.2 | ^^^^^---------^
- 248.2 | |
- 248.2 | this argument influences the type of `Some`
- 248.2 note: tuple variant defined here
- 248.2 --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/option.rs:577:5
- 248.2
- 248.2 error[E0063]: missing field `desktop_template` in initializer of `DebianSettings`
- 248.2 --> /home/vscode/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-cli-2.0.0-alpha.9/src/interface/rust.rs:1118:10
- 248.2 |
- 248.2 1118 | deb: DebianSettings {
- 248.2 | ^^^^^^^^^^^^^^ missing `desktop_template`
- 248.2
- 248.3 Some errors have detailed explanations: E0061, E0063, E0277, E0308, E0412, E0599, E0609.
- 248.3 For more information about an error, try `rustc --explain E0061`.
- 248.3 error: could not compile `tauri-cli` (lib) due to 14 previous errors
- 248.3 warning: build failed, waiting for other jobs to finish...
- 259.8 error: failed to compile `tauri-cli v2.0.0-alpha.9`, intermediate artifacts can be found at `/tmp/cargo-installBveZ88`.
- 259.8 To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
- ------
- Dockerfile:189
- --------------------
- 188 | # Update Rust and install required Android targets
- 189 | >>> RUN rustup update \
- 190 | >>> # Android targets
- 191 | >>> && rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android \
- 192 | >>> # Add WASM support
- 193 | >>> && rustup target add wasm32-unknown-unknown \
- 194 | >>> # Install Trunk
- 195 | >>> && cargo install trunk --git https://github.com/amrbashir/trunk \
- 196 | >>> # Install Tauri CLI
- 197 | >>> && cargo install tauri-cli@${TAURI_CLI_VERSION}
- 198 |
- --------------------
- ERROR: failed to solve: process "/bin/sh -c rustup update && rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android && rustup target add wasm32-unknown-unknown && cargo install trunk --git https://github.com/amrbashir/trunk && cargo install tauri-cli@${TAURI_CLI_VERSION}" did not complete successfully: exit code: 101
Advertisement
Add Comment
Please, Sign In to add comment