tauri-apps / tauri

Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
https://tauri.app
Apache License 2.0
84.5k stars 2.54k forks source link

[bug] All RC Rust Builds Fail With "error Command failed with exit code 101" #10460

Closed slimandslam closed 3 months ago

slimandslam commented 3 months ago

Describe the bug

JS frontend (React) builds easily. But "yarn tauri dev" always fails mysteriously with the "error Command failed with exit code 101" message.

Reproduction

clone my open source repo here: https://github.com/slimandslam/openaiimages Update everything to RC and try to compile it.

Expected behavior

It should easily compile.

Full tauri info output

$ yarn tauri info
yarn run v1.22.22
$ tauri info

[✔] Environment
    - OS: Mac OS 14.6.0 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.80.0 (051478957 2024-07-21)
    ✔ cargo: 1.80.0 (376290515 2024-07-16)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 22.5.1
    - pnpm: 9.0.5
    - yarn: 1.22.22
    - npm: 10.8.2
    - bun: 1.1.7

[-] Packages
    - tauri [RUST]: 2.0.0-rc.0
    - tauri-build [RUST]: 2.0.0-rc.0
    - wry [RUST]: 0.41.0
    - tao [RUST]: 0.28.1
    - @tauri-apps/api [NPM]: 2.0.0-rc.0
    - @tauri-apps/cli [NPM]: 2.0.0-rc.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: React
    - bundler: Vite
✨  Done in 3.36s.
$

Stack trace

cargo build --verbose output:
==============================

 Fresh unicode-ident v1.0.12
       Fresh autocfg v1.3.0
       Fresh proc-macro2 v1.0.86
       Fresh quote v1.0.36
       Fresh libc v0.2.155
       Fresh syn v2.0.72
       Fresh syn v1.0.109
       Fresh getrandom v0.1.16
       Fresh cc v1.1.7
       Fresh serde_derive v1.0.204
       Fresh zerocopy-derive v0.7.35
       Fresh rand_core v0.6.4
       Fresh rand_core v0.5.1
       Fresh zerocopy v0.7.35
       Fresh serde v1.0.204
       Fresh rand_pcg v0.2.1
       Fresh proc-macro-hack v0.5.20+deprecated
       Fresh thiserror-impl v1.0.63
       Fresh convert_case v0.4.0
       Fresh ppv-lite86 v0.2.20
       Fresh derive_more v0.99.18
       Fresh cssparser-macros v0.6.1
       Fresh strsim v0.11.1
       Fresh ident_case v1.0.1
       Fresh rand_chacha v0.3.1
       Fresh rand_chacha v0.2.2
       Fresh darling_core v0.20.10
       Fresh rand v0.8.5
       Fresh rand v0.7.3
       Fresh darling_macro v0.20.10
       Fresh cfg-if v1.0.0
       Fresh phf_generator v0.8.0
       Fresh phf_generator v0.10.0
       Fresh darling v0.20.10
       Fresh phf_generator v0.11.2
       Fresh phf_codegen v0.10.0
       Fresh string_cache_codegen v0.5.2
       Fresh phf_macros v0.8.0
       Fresh phf_codegen v0.8.0
       Fresh serde_with_macros v3.9.0
       Fresh phf_macros v0.11.2
       Fresh ctor v0.2.8
       Fresh serde_derive_internals v0.29.1
       Fresh schemars_derive v0.8.21
       Fresh camino v1.1.7
       Fresh cargo-platform v0.1.8
       Fresh itoa v1.0.11
       Fresh base64 v0.21.7
       Fresh cargo_metadata v0.18.1
       Fresh swift-rs v1.0.6
       Fresh once_cell v1.19.0
       Fresh bitflags v1.3.2
       Fresh bytes v1.7.1
       Fresh quick-xml v0.32.0
       Fresh siphasher v0.3.11
       Fresh smallvec v1.13.2
       Fresh version_check v0.9.5
       Fresh fnv v1.0.7
       Fresh memchr v2.7.4
       Fresh core-foundation-sys v0.8.6
       Fresh tinyvec_macros v0.1.1
       Fresh rustc_version v0.4.0
       Fresh toml_edit v0.19.15
       Fresh plist v1.7.0
       Fresh tinyvec v1.8.0
       Fresh getrandom v0.2.15
       Fresh pin-project-lite v0.2.14
       Fresh core-foundation v0.9.4
       Fresh embed-resource v2.4.3
       Fresh unicode-normalization v0.1.23
       Fresh objc_exception v0.1.2
       Fresh toml v0.7.8
       Fresh malloc_buf v0.0.6
       Fresh hashbrown v0.14.5
       Fresh equivalent v1.0.1
       Fresh unicode-bidi v0.3.15
       Fresh percent-encoding v2.3.1
       Fresh log v0.4.22
       Fresh indexmap v2.3.0
       Fresh tauri-winres v0.1.1
       Fresh objc v0.2.7
       Fresh tauri-plugin v2.0.0-rc.0
       Fresh http v1.1.0
       Fresh cargo_toml v0.17.2
       Fresh ryu v1.0.18
       Fresh futures-core v0.3.30
       Fresh scopeguard v1.2.0
       Fresh form_urlencoded v1.2.1
       Fresh tauri-build v2.0.0-rc.0
       Fresh tokio-macros v2.4.0
       Fresh socket2 v0.5.7
       Fresh mio v1.0.1
       Fresh new_debug_unreachable v1.0.6
       Fresh block v0.1.6
       Fresh slab v0.4.9
       Fresh lock_api v0.4.12
       Fresh parking_lot_core v0.9.10
   Compiling tokio v1.39.2
       Fresh serde_json v1.0.122
       Fresh idna v0.5.0
       Fresh core-graphics-types v0.1.3
       Fresh phf_shared v0.10.0
       Fresh foreign-types-macros v0.2.3
     Running `/Users/slimandslam/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name tokio --edition=2021 /Users/slimandslam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.39.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="io-std"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="macros"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' --cfg 'feature="tokio-macros"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bytes", "default", "fs", "full", "io-std", "io-util", "libc", "macros", "mio", "net", "parking_lot", "process", "rt", "rt-multi-thread", "signal", "signal-hook-registry", "socket2", "sync", "test-util", "time", "tokio-macros", "tracing", "windows-sys"))' -C metadata=3066254a64ea51bd -C extra-filename=-3066254a64ea51bd --out-dir /Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps --target aarch64-apple-darwin -L dependency=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps -L dependency=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/deps --extern bytes=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libbytes-ce490d2d52a2f772.rmeta --extern libc=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/liblibc-d01d24d264dd2b62.rmeta --extern mio=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libmio-cd23c7102556e520.rmeta --extern pin_project_lite=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libpin_project_lite-3847e1bc9c8fc63d.rmeta --extern socket2=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libsocket2-d7078e42a135b8dd.rmeta --extern tokio_macros=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/deps/libtokio_macros-46107b8236acc95a.dylib --cap-lints allow`
       Fresh byteorder v1.5.0
       Fresh precomputed-hash v0.1.1
       Fresh foreign-types-shared v0.3.1
       Fresh mac v0.1.1
       Fresh typenum v1.17.0
       Fresh url v2.5.2
       Fresh foreign-types v0.5.0
       Fresh futf v0.1.5
       Dirty ring v0.17.8: the env variable MACOSX_DEPLOYMENT_TARGET changed
   Compiling ring v0.17.8
       Fresh parking_lot v0.12.3
       Fresh phf_shared v0.8.0
     Running `/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/build/ring-38f8657be3a88529/build-script-build`
       Fresh futures-macro v0.3.30
       Fresh dtoa v1.0.9
       Fresh futures-task v0.3.30
       Fresh rustls-pki-types v1.7.0
       Fresh pin-utils v0.1.0
       Fresh utf-8 v0.7.6
       Fresh dtoa-short v0.3.5
       Fresh futures-util v0.3.30
       Fresh phf v0.8.0
       Fresh string_cache v0.8.7
       Fresh tendril v0.4.3
       Fresh core-graphics v0.23.2
       Fresh thiserror v1.0.63
       Fresh generic-array v0.14.7
       Fresh phf v0.10.1
       Fresh cocoa-foundation v0.1.2
       Fresh aho-corasick v1.1.3
       Fresh tracing-core v0.1.32
       Fresh untrusted v0.9.0
       Fresh regex-syntax v0.8.4
       Fresh alloc-no-stdlib v2.0.4
       Fresh unic-char-range v0.9.0
       Fresh futures-sink v0.3.30
       Fresh spin v0.9.8
       Fresh itoa v0.4.8
       Fresh stable_deref_trait v1.2.0
       Fresh raw-window-handle v0.6.2
       Fresh matches v0.1.10
       Fresh unic-common v0.9.0
       Fresh nodrop v0.1.14
       Fresh cssparser v0.27.2
       Fresh unic-ucd-version v0.9.0
       Fresh alloc-stdlib v0.2.2
       Fresh servo_arc v0.1.1
       Fresh regex-automata v0.4.7
       Fresh unic-char-property v0.9.0
       Fresh tracing v0.1.40
       Fresh markup5ever v0.11.0
   Compiling cocoa v0.25.0
       Fresh fxhash v0.2.1
       Fresh http-body v1.0.1
       Fresh uuid v1.10.0
       Fresh dpi v0.1.1
       Fresh serde_spanned v0.6.7
       Fresh toml_datetime v0.6.3
     Running `/Users/slimandslam/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name cocoa --edition=2015 /Users/slimandslam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cocoa-0.25.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=c2721ac10685016c -C extra-filename=-c2721ac10685016c --out-dir /Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps --target aarch64-apple-darwin -L dependency=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps -L dependency=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/deps --extern bitflags=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libbitflags-839e6b1b826ee2f4.rmeta --extern block=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libblock-5bd68e33bdbbac3d.rmeta --extern cocoa_foundation=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libcocoa_foundation-a311f34ac6a960fe.rmeta --extern core_foundation=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libcore_foundation-8ff24697344cda85.rmeta --extern core_graphics=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libcore_graphics-0212fa7c093846ec.rmeta --extern foreign_types=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libforeign_types-050ecb9e49ae9695.rmeta --extern libc=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/liblibc-d01d24d264dd2b62.rmeta --extern objc=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libobjc-7602ed32063fc847.rmeta --cap-lints allow -L native=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/build/objc_exception-b4ebf4ba841b0402/out`
       Fresh pin-project-internal v1.1.5
       Fresh simd-adler32 v0.3.7
       Fresh atomic-waker v1.1.2
       Fresh thin-slice v0.1.1
       Fresh winnow v0.5.40
       Fresh typeid v1.0.0
       Fresh hashbrown v0.12.3
       Fresh powerfmt v0.2.0
       Fresh try-lock v0.2.5
       Fresh deranged v0.3.11
       Fresh erased-serde v0.4.5
       Fresh indexmap v1.9.3
       Fresh want v0.3.1
       Fresh toml_edit v0.20.2
       Fresh pin-project v1.1.5
       Fresh selectors v0.22.0
       Fresh html5ever v0.26.0
       Fresh cfb v0.7.3
       Fresh httparse v1.9.4
       Fresh unic-ucd-ident v0.9.0
       Fresh regex v1.10.6
       Fresh brotli-decompressor v2.5.1
       Fresh crossbeam-utils v0.8.20
       Fresh block-buffer v0.10.4
       Fresh crypto-common v0.1.6
       Fresh futures-channel v0.3.30
       Fresh objc_id v0.1.1
       Fresh phf_shared v0.11.2
       Fresh time-macros v0.2.18
       Fresh bitflags v2.6.0
       Fresh adler v1.0.2
       Fresh tower-service v0.3.2
       Fresh num-conv v0.1.0
       Fresh same-file v1.0.6
       Fresh tower-layer v0.3.2
       Fresh subtle v2.6.1
       Fresh time-core v0.1.2
       Fresh zeroize v1.8.1
       Fresh walkdir v2.5.0
       Fresh time v0.3.36
       Fresh miniz_oxide v0.7.4
       Fresh phf v0.11.2
       Fresh digest v0.10.7
       Fresh crossbeam-channel v0.5.13
       Fresh brotli v3.5.0
       Fresh urlpattern v0.2.0
       Fresh infer v0.15.0
       Fresh kuchikiki v0.8.2
       Fresh semver v1.0.23
       Fresh toml v0.8.2
       Fresh serde-untagged v0.1.6
       Fresh json-patch v1.4.0
       Fresh idna v0.3.0
       Fresh serde_with v3.9.0
       Fresh crc32fast v1.4.2
       Fresh cpufeatures v0.2.12
       Fresh psl-types v2.0.11
       Fresh dispatch v0.2.0
       Fresh dunce v1.0.4
       Fresh glob v0.3.1
       Fresh publicsuffix v2.2.3
       Fresh flate2 v1.0.30
   Compiling tauri-utils v2.0.0-rc.0
       Fresh sha2 v0.10.8
       Fresh cookie v0.18.1
       Fresh ico v0.3.0
       Fresh system-configuration-sys v0.5.0
       Fresh fdeflate v0.3.4
       Fresh webpki-roots v0.26.3
     Running `/Users/slimandslam/.rustup/toolchains/stable-aarch64-apple-darwin/bin/rustc --crate-name tauri_utils --edition=2021 /Users/slimandslam/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tauri-utils-2.0.0-rc.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked --cfg 'feature="brotli"' --cfg 'feature="compression"' --cfg 'feature="resources"' --cfg 'feature="walkdir"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("aes-gcm", "brotli", "build", "cargo_metadata", "compression", "config-json5", "config-toml", "getrandom", "isolation", "json5", "proc-macro2", "process-relaunch-dangerous-allow-symlink-macos", "quote", "resources", "schema", "schemars", "serialize-to-javascript", "swift-rs", "walkdir"))' -C metadata=eb58f1b12ccaf899 -C extra-filename=-eb58f1b12ccaf899 --out-dir /Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps --target aarch64-apple-darwin -L dependency=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps -L dependency=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/deps --extern brotli=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libbrotli-469eff53c486325b.rmeta --extern ctor=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/deps/libctor-baae94dccd050ea7.dylib --extern dunce=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libdunce-b8ff9875a01097e1.rmeta --extern glob=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libglob-fff0ae2befdbce01.rmeta --extern html5ever=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libhtml5ever-3f4141c27057b130.rmeta --extern infer=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libinfer-9845e897c3422240.rmeta --extern json_patch=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libjson_patch-5de4448ca1455343.rmeta --extern kuchiki=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libkuchikiki-f12164f053f170ce.rmeta --extern log=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/liblog-1285db2d1f866c2c.rmeta --extern memchr=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libmemchr-d5a0bef66f4a8b2e.rmeta --extern phf=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libphf-a3eb2f5cb06e4174.rmeta --extern regex=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libregex-7c9b13319e81516d.rmeta --extern semver=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libsemver-dae8c14c9fe5c8b7.rmeta --extern serde=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libserde-1b8532a43c1e6374.rmeta --extern serde_untagged=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libserde_untagged-549da2259fc632d9.rmeta --extern serde_json=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libserde_json-fa3bf024bdc688c0.rmeta --extern serde_with=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libserde_with-1505c108cc68b051.rmeta --extern thiserror=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libthiserror-98aac0bcc3040859.rmeta --extern toml=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libtoml-9b7dd10b874bf270.rmeta --extern url=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/liburl-c0aa224eab2abc7f.rmeta --extern urlpattern=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/liburlpattern-d7c1b9cd035e2a71.rmeta --extern walkdir=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/deps/libwalkdir-ed82c74ec20662d3.rmeta --cap-lints allow`
       Fresh instant v0.1.13
       Fresh base64 v0.22.1
       Fresh option-ext v0.2.0
       Fresh unicode-segmentation v1.11.0
       Fresh lazy_static v1.5.0
       Fresh dirs-sys v0.4.1
       Fresh keyboard-types v0.7.0
       Fresh rustls-pemfile v2.1.2
       Fresh png v0.17.13
       Fresh system-configuration v0.5.1
       Fresh tauri-codegen v2.0.0-rc.0
       Fresh cookie_store v0.21.0
       Fresh http-body-util v0.1.2
       Fresh serde_urlencoded v0.7.1
       Fresh encoding_rs v0.8.34
       Fresh serialize-to-javascript-impl v0.1.1
       Fresh ipnet v2.9.0
       Fresh mime v0.3.17
       Fresh sync_wrapper v1.0.1
       Fresh anyhow v1.0.86
       Fresh serialize-to-javascript v0.1.1
       Fresh tauri-macros v2.0.0-rc.0
       Fresh dirs v5.0.1
       Fresh serde_repr v0.1.19
       Fresh heck v0.5.0
       Fresh state v0.6.0
       Fresh embed_plist v1.2.2
       Fresh objc-foundation v0.1.1
       Fresh pathdiff v0.2.1
       Fresh dyn-clone v1.0.17
       Fresh open v5.3.0
       Fresh schemars v0.8.21
       Fresh rfd v0.14.1
       Fresh shared_child v1.0.1
       Fresh os_pipe v1.2.1
       Fresh data-url v0.3.1
   Compiling openaiimages v0.9.0 (/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri)
     Running `/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/build/openaiimages-29a21cb004ca88b1/build-script-build`
error: failed to run custom build command for `openaiimages v0.9.0 (/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri)`

Caused by:
  process didn't exit successfully: `/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/debug/build/openaiimages-29a21cb004ca88b1/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=TAURI_CONFIG
  cargo:rerun-if-changed=tauri.conf.json
  cargo:rustc-check-cfg=cfg(desktop)
  cargo:rustc-cfg=desktop
  cargo:rustc-check-cfg=cfg(mobile)
  cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_APP_NAME=dev
  cargo:rustc-env=TAURI_ANDROID_PACKAGE_NAME_PREFIX=com_openaiimages
  cargo:rustc-check-cfg=cfg(dev)
  cargo:rustc-cfg=dev
  cargo:PERMISSION_FILES_PATH=/Users/slimandslam/A-OPENAIIMAGES/openaiimages/src-tauri/target/aarch64-apple-darwin/debug/build/openaiimages-7cab278e9fd90499/out/app-manifest/__app__-permission-files
  cargo:rerun-if-changed=capabilities
  Permission window:allow-set-title not found, expected one of core:app:default, core:app:allow-app-hide, core:app:allow-app-show, core:app:allow-default-window-icon, core:app:allow-name, core:app:allow-tauri-version, core:app:allow-version, core:app:deny-app-hide, core:app:deny-app-show, core:app:deny-default-window-icon, core:app:deny-name, core:app:deny-tauri-version, core:app:deny-version, core:event:default, core:event:allow-emit, core:event:allow-emit-to, core:event:allow-listen, core:event:allow-unlisten, core:event:deny-emit, core:event:deny-emit-to, core:event:deny-listen, core:event:deny-unlisten, core:image:default, core:image:allow-from-bytes, core:image:allow-from-path, core:image:allow-new, core:image:allow-rgba, core:image:allow-size, core:image:deny-from-bytes, core:image:deny-from-path, core:image:deny-new, core:image:deny-rgba, core:image:deny-size, core:menu:default, core:menu:allow-append, core:menu:allow-create-default, core:menu:allow-get, core:menu:allow-insert, core:menu:allow-is-checked, core:menu:allow-is-enabled, core:menu:allow-items, core:menu:allow-new, core:menu:allow-popup, core:menu:allow-prepend, core:menu:allow-remove, core:menu:allow-remove-at, core:menu:allow-set-accelerator, core:menu:allow-set-as-app-menu, core:menu:allow-set-as-help-menu-for-nsapp, core:menu:allow-set-as-window-menu, core:menu:allow-set-as-windows-menu-for-nsapp, core:menu:allow-set-checked, core:menu:allow-set-enabled, core:menu:allow-set-icon, core:menu:allow-set-text, core:menu:allow-text, core:menu:deny-append, core:menu:deny-create-default, core:menu:deny-get, core:menu:deny-insert, core:menu:deny-is-checked, core:menu:deny-is-enabled, core:menu:deny-items, core:menu:deny-new, core:menu:deny-popup, core:menu:deny-prepend, core:menu:deny-remove, core:menu:deny-remove-at, core:menu:deny-set-accelerator, core:menu:deny-set-as-app-menu, core:menu:deny-set-as-help-menu-for-nsapp, core:menu:deny-set-as-window-menu, core:menu:deny-set-as-windows-menu-for-nsapp, core:menu:deny-set-checked, core:menu:deny-set-enabled, core:menu:deny-set-icon, core:menu:deny-set-text, core:menu:deny-text, core:path:default, core:path:allow-basename, core:path:allow-dirname, core:path:allow-extname, core:path:allow-is-absolute, core:path:allow-join, core:path:allow-normalize, core:path:allow-resolve, core:path:allow-resolve-directory, core:path:deny-basename, core:path:deny-dirname, core:path:deny-extname, core:path:deny-is-absolute, core:path:deny-join, core:path:deny-normalize, core:path:deny-resolve, core:path:deny-resolve-directory, core:resources:default, core:resources:allow-close, core:resources:deny-close, core:tray:default, core:tray:allow-get-by-id, core:tray:allow-new, core:tray:allow-remove-by-id, core:tray:allow-set-icon, core:tray:allow-set-icon-as-template, core:tray:allow-set-menu, core:tray:allow-set-show-menu-on-left-click, core:tray:allow-set-temp-dir-path, core:tray:allow-set-title, core:tray:allow-set-tooltip, core:tray:allow-set-visible, core:tray:deny-get-by-id, core:tray:deny-new, core:tray:deny-remove-by-id, core:tray:deny-set-icon, core:tray:deny-set-icon-as-template, core:tray:deny-set-menu, core:tray:deny-set-show-menu-on-left-click, core:tray:deny-set-temp-dir-path, core:tray:deny-set-title, core:tray:deny-set-tooltip, core:tray:deny-set-visible, core:webview:default, core:webview:allow-create-webview, core:webview:allow-create-webview-window, core:webview:allow-internal-toggle-devtools, core:webview:allow-print, core:webview:allow-reparent, core:webview:allow-set-webview-focus, core:webview:allow-set-webview-position, core:webview:allow-set-webview-size, core:webview:allow-set-webview-zoom, core:webview:allow-webview-close, core:webview:allow-webview-position, core:webview:allow-webview-size, core:webview:deny-create-webview, core:webview:deny-create-webview-window, core:webview:deny-internal-toggle-devtools, core:webview:deny-print, core:webview:deny-reparent, core:webview:deny-set-webview-focus, core:webview:deny-set-webview-position, core:webview:deny-set-webview-size, core:webview:deny-set-webview-zoom, core:webview:deny-webview-close, core:webview:deny-webview-position, core:webview:deny-webview-size, core:window:default, core:window:allow-available-monitors, core:window:allow-center, core:window:allow-close, core:window:allow-create, core:window:allow-current-monitor, core:window:allow-cursor-position, core:window:allow-destroy, core:window:allow-hide, core:window:allow-inner-position, core:window:allow-inner-size, core:window:allow-internal-toggle-maximize, core:window:allow-is-closable, core:window:allow-is-decorated, core:window:allow-is-focused, core:window:allow-is-fullscreen, core:window:allow-is-maximizable, core:window:allow-is-maximized, core:window:allow-is-minimizable, core:window:allow-is-minimized, core:window:allow-is-resizable, core:window:allow-is-visible, core:window:allow-maximize, core:window:allow-minimize, core:window:allow-monitor-from-point, core:window:allow-outer-position, core:window:allow-outer-size, core:window:allow-primary-monitor, core:window:allow-request-user-attention, core:window:allow-scale-factor, core:window:allow-set-always-on-bottom, core:window:allow-set-always-on-top, core:window:allow-set-closable, core:window:allow-set-content-protected, core:window:allow-set-cursor-grab, core:window:allow-set-cursor-icon, core:window:allow-set-cursor-position, core:window:allow-set-cursor-visible, core:window:allow-set-decorations, core:window:allow-set-effects, core:window:allow-set-focus, core:window:allow-set-fullscreen, core:window:allow-set-icon, core:window:allow-set-ignore-cursor-events, core:window:allow-set-max-size, core:window:allow-set-maximizable, core:window:allow-set-min-size, core:window:allow-set-minimizable, core:window:allow-set-position, core:window:allow-set-progress-bar, core:window:allow-set-resizable, core:window:allow-set-shadow, core:window:allow-set-size, core:window:allow-set-size-constraints, core:window:allow-set-skip-taskbar, core:window:allow-set-title, core:window:allow-set-title-bar-style, core:window:allow-set-visible-on-all-workspaces, core:window:allow-show, core:window:allow-start-dragging, core:window:allow-start-resize-dragging, core:window:allow-theme, core:window:allow-title, core:window:allow-toggle-maximize, core:window:allow-unmaximize, core:window:allow-unminimize, core:window:deny-available-monitors, core:window:deny-center, core:window:deny-close, core:window:deny-create, core:window:deny-current-monitor, core:window:deny-cursor-position, core:window:deny-destroy, core:window:deny-hide, core:window:deny-inner-position, core:window:deny-inner-size, core:window:deny-internal-toggle-maximize, core:window:deny-is-closable, core:window:deny-is-decorated, core:window:deny-is-focused, core:window:deny-is-fullscreen, core:window:deny-is-maximizable, core:window:deny-is-maximized, core:window:deny-is-minimizable, core:window:deny-is-minimized, core:window:deny-is-resizable, core:window:deny-is-visible, core:window:deny-maximize, core:window:deny-minimize, core:window:deny-monitor-from-point, core:window:deny-outer-position, core:window:deny-outer-size, core:window:deny-primary-monitor, core:window:deny-request-user-attention, core:window:deny-scale-factor, core:window:deny-set-always-on-bottom, core:window:deny-set-always-on-top, core:window:deny-set-closable, core:window:deny-set-content-protected, core:window:deny-set-cursor-grab, core:window:deny-set-cursor-icon, core:window:deny-set-cursor-position, core:window:deny-set-cursor-visible, core:window:deny-set-decorations, core:window:deny-set-effects, core:window:deny-set-focus, core:window:deny-set-fullscreen, core:window:deny-set-icon, core:window:deny-set-ignore-cursor-events, core:window:deny-set-max-size, core:window:deny-set-maximizable, core:window:deny-set-min-size, core:window:deny-set-minimizable, core:window:deny-set-position, core:window:deny-set-progress-bar, core:window:deny-set-resizable, core:window:deny-set-shadow, core:window:deny-set-size, core:window:deny-set-size-constraints, core:window:deny-set-skip-taskbar, core:window:deny-set-title, core:window:deny-set-title-bar-style, core:window:deny-set-visible-on-all-workspaces, core:window:deny-show, core:window:deny-start-dragging, core:window:deny-start-resize-dragging, core:window:deny-theme, core:window:deny-title, core:window:deny-toggle-maximize, core:window:deny-unmaximize, core:window:deny-unminimize, dialog:default, dialog:allow-ask, dialog:allow-confirm, dialog:allow-message, dialog:allow-open, dialog:allow-save, dialog:deny-ask, dialog:deny-confirm, dialog:deny-message, dialog:deny-open, dialog:deny-save, fs:default, fs:allow-copy-file, fs:allow-create, fs:allow-exists, fs:allow-fstat, fs:allow-ftruncate, fs:allow-lstat, fs:allow-mkdir, fs:allow-open, fs:allow-read, fs:allow-read-dir, fs:allow-read-file, fs:allow-read-text-file, fs:allow-read-text-file-lines, fs:allow-read-text-file-lines-next, fs:allow-remove, fs:allow-rename, fs:allow-seek, fs:allow-stat, fs:allow-truncate, fs:allow-unwatch, fs:allow-watch, fs:allow-write, fs:allow-write-file, fs:allow-write-text-file, fs:create-app-specific-dirs, fs:deny-copy-file, fs:deny-create, fs:deny-exists, fs:deny-fstat, fs:deny-ftruncate, fs:deny-lstat, fs:deny-mkdir, fs:deny-open, fs:deny-read, fs:deny-read-dir, fs:deny-read-file, fs:deny-read-text-file, fs:deny-read-text-file-lines, fs:deny-read-text-file-lines-next, fs:deny-remove, fs:deny-rename, fs:deny-seek, fs:deny-stat, fs:deny-truncate, fs:deny-unwatch, fs:deny-watch, fs:deny-webview-data-linux, fs:deny-webview-data-windows, fs:deny-write, fs:deny-write-file, fs:deny-write-text-file, fs:read-all, fs:read-app-specific-dirs-recursive, fs:read-dirs, fs:read-files, fs:read-meta, fs:scope, fs:scope-app, fs:scope-app-index, fs:scope-app-recursive, fs:scope-appcache, fs:scope-appcache-index, fs:scope-appcache-recursive, fs:scope-appconfig, fs:scope-appconfig-index, fs:scope-appconfig-recursive, fs:scope-appdata, fs:scope-appdata-index, fs:scope-appdata-recursive, fs:scope-applocaldata, fs:scope-applocaldata-index, fs:scope-applocaldata-recursive, fs:scope-applog, fs:scope-applog-index, fs:scope-applog-recursive, fs:scope-audio, fs:scope-audio-index, fs:scope-audio-recursive, fs:scope-cache, fs:scope-cache-index, fs:scope-cache-recursive, fs:scope-config, fs:scope-config-index, fs:scope-config-recursive, fs:scope-data, fs:scope-data-index, fs:scope-data-recursive, fs:scope-desktop, fs:scope-desktop-index, fs:scope-desktop-recursive, fs:scope-document, fs:scope-document-index, fs:scope-document-recursive, fs:scope-download, fs:scope-download-index, fs:scope-download-recursive, fs:scope-exe, fs:scope-exe-index, fs:scope-exe-recursive, fs:scope-font, fs:scope-font-index, fs:scope-font-recursive, fs:scope-home, fs:scope-home-index, fs:scope-home-recursive, fs:scope-localdata, fs:scope-localdata-index, fs:scope-localdata-recursive, fs:scope-log, fs:scope-log-index, fs:scope-log-recursive, fs:scope-picture, fs:scope-picture-index, fs:scope-picture-recursive, fs:scope-public, fs:scope-public-index, fs:scope-public-recursive, fs:scope-resource, fs:scope-resource-index, fs:scope-resource-recursive, fs:scope-runtime, fs:scope-runtime-index, fs:scope-runtime-recursive, fs:scope-temp, fs:scope-temp-index, fs:scope-temp-recursive, fs:scope-template, fs:scope-template-index, fs:scope-template-recursive, fs:scope-video, fs:scope-video-index, fs:scope-video-recursive, fs:write-all, fs:write-files, fs:allow-app-meta, fs:allow-app-meta-recursive, fs:allow-app-read, fs:allow-app-read-recursive, fs:allow-app-write, fs:allow-app-write-recursive, fs:allow-appcache-meta, fs:allow-appcache-meta-recursive, fs:allow-appcache-read, fs:allow-appcache-read-recursive, fs:allow-appcache-write, fs:allow-appcache-write-recursive, fs:allow-appconfig-meta, fs:allow-appconfig-meta-recursive, fs:allow-appconfig-read, fs:allow-appconfig-read-recursive, fs:allow-appconfig-write, fs:allow-appconfig-write-recursive, fs:allow-appdata-meta, fs:allow-appdata-meta-recursive, fs:allow-appdata-read, fs:allow-appdata-read-recursive, fs:allow-appdata-write, fs:allow-appdata-write-recursive, fs:allow-applocaldata-meta, fs:allow-applocaldata-meta-recursive, fs:allow-applocaldata-read, fs:allow-applocaldata-read-recursive, fs:allow-applocaldata-write, fs:allow-applocaldata-write-recursive, fs:allow-applog-meta, fs:allow-applog-meta-recursive, fs:allow-applog-read, fs:allow-applog-read-recursive, fs:allow-applog-write, fs:allow-applog-write-recursive, fs:allow-audio-meta, fs:allow-audio-meta-recursive, fs:allow-audio-read, fs:allow-audio-read-recursive, fs:allow-audio-write, fs:allow-audio-write-recursive, fs:allow-cache-meta, fs:allow-cache-meta-recursive, fs:allow-cache-read, fs:allow-cache-read-recursive, fs:allow-cache-write, fs:allow-cache-write-recursive, fs:allow-config-meta, fs:allow-config-meta-recursive, fs:allow-config-read, fs:allow-config-read-recursive, fs:allow-config-write, fs:allow-config-write-recursive, fs:allow-data-meta, fs:allow-data-meta-recursive, fs:allow-data-read, fs:allow-data-read-recursive, fs:allow-data-write, fs:allow-data-write-recursive, fs:allow-desktop-meta, fs:allow-desktop-meta-recursive, fs:allow-desktop-read, fs:allow-desktop-read-recursive, fs:allow-desktop-write, fs:allow-desktop-write-recursive, fs:allow-document-meta, fs:allow-document-meta-recursive, fs:allow-document-read, fs:allow-document-read-recursive, fs:allow-document-write, fs:allow-document-write-recursive, fs:allow-download-meta, fs:allow-download-meta-recursive, fs:allow-download-read, fs:allow-download-read-recursive, fs:allow-download-write, fs:allow-download-write-recursive, fs:allow-exe-meta, fs:allow-exe-meta-recursive, fs:allow-exe-read, fs:allow-exe-read-recursive, fs:allow-exe-write, fs:allow-exe-write-recursive, fs:allow-font-meta, fs:allow-font-meta-recursive, fs:allow-font-read, fs:allow-font-read-recursive, fs:allow-font-write, fs:allow-font-write-recursive, fs:allow-home-meta, fs:allow-home-meta-recursive, fs:allow-home-read, fs:allow-home-read-recursive, fs:allow-home-write, fs:allow-home-write-recursive, fs:allow-localdata-meta, fs:allow-localdata-meta-recursive, fs:allow-localdata-read, fs:allow-localdata-read-recursive, fs:allow-localdata-write, fs:allow-localdata-write-recursive, fs:allow-log-meta, fs:allow-log-meta-recursive, fs:allow-log-read, fs:allow-log-read-recursive, fs:allow-log-write, fs:allow-log-write-recursive, fs:allow-picture-meta, fs:allow-picture-meta-recursive, fs:allow-picture-read, fs:allow-picture-read-recursive, fs:allow-picture-write, fs:allow-picture-write-recursive, fs:allow-public-meta, fs:allow-public-meta-recursive, fs:allow-public-read, fs:allow-public-read-recursive, fs:allow-public-write, fs:allow-public-write-recursive, fs:allow-resource-meta, fs:allow-resource-meta-recursive, fs:allow-resource-read, fs:allow-resource-read-recursive, fs:allow-resource-write, fs:allow-resource-write-recursive, fs:allow-runtime-meta, fs:allow-runtime-meta-recursive, fs:allow-runtime-read, fs:allow-runtime-read-recursive, fs:allow-runtime-write, fs:allow-runtime-write-recursive, fs:allow-temp-meta, fs:allow-temp-meta-recursive, fs:allow-temp-read, fs:allow-temp-read-recursive, fs:allow-temp-write, fs:allow-temp-write-recursive, fs:allow-template-meta, fs:allow-template-meta-recursive, fs:allow-template-read, fs:allow-template-read-recursive, fs:allow-template-write, fs:allow-template-write-recursive, fs:allow-video-meta, fs:allow-video-meta-recursive, fs:allow-video-read, fs:allow-video-read-recursive, fs:allow-video-write, fs:allow-video-write-recursive, fs:deny-default, http:default, http:allow-fetch, http:allow-fetch-cancel, http:allow-fetch-read-body, http:allow-fetch-send, http:deny-fetch, http:deny-fetch-cancel, http:deny-fetch-read-body, http:deny-fetch-send, shell:default, shell:allow-execute, shell:allow-kill, shell:allow-open, shell:allow-spawn, shell:allow-stdin-write, shell:deny-execute, shell:deny-kill, shell:deny-open, shell:deny-spawn, shell:deny-stdin-write, store:default, store:allow-clear, store:allow-delete, store:allow-entries, store:allow-get, store:allow-has, store:allow-keys, store:allow-length, store:allow-load, store:allow-reset, store:allow-save, store:allow-set, store:allow-values, store:deny-clear, store:deny-delete, store:deny-entries, store:deny-get, store:deny-has, store:deny-keys, store:deny-length, store:deny-load, store:deny-reset, store:deny-save, store:deny-set, store:deny-values
warning: build failed, waiting for other jobs to finish...
$

Additional context

No response

slimandslam commented 3 months ago

Cargo.toml file:

[package]
name = "openaiimages"
version = "0.9.0"
description = "A sample Tauri v2 app based on React"
authors = ["Jason Levitt"]
edition = "2021"

[lib]
name = "openaiimages_lib"
crate-type = ["lib", "cdylib", "staticlib"]

[build-dependencies]
tauri-build = { version = "2.0.0-rc", features = [] }

[dependencies]
tauri = { version = "2.0.0-rc", features = [] }
tauri-plugin-shell = { version = "2.0.0-rc", features = [] }
tauri-plugin-store = { version = "2.0.0-rc.0", features = [] }
tauri-plugin-dialog = { version = "2.0.0-rc.0", features = [] }
tauri-plugin-fs = { version = "2.0.0-rc.0", features = [] }
tauri-plugin-http = { version = "2.0.0-rc.0", features = ["rustls-tls"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tweidinger commented 3 months ago

The error is in your output:

Permission window:allow-set-title not found, expected one of core:app:default, core:app:allow-app-hide, core:app:allow-app-show, core:app:allow-default-window-icon,....

Please read the migration guide https://v2.tauri.app/start/migrate/from-tauri-2-beta/

slimandslam commented 3 months ago

Thank you!