Giter VIP home page Giter VIP logo

cli's People

Contributors

atty303 avatar bamboo-maker avatar bbirchnz avatar benschulz avatar c5soft avatar chaosprint avatar dogedark avatar dxps avatar ealmloff avatar erithax avatar imbolc avatar iscas-zac avatar jkelleyrtp avatar lej77 avatar mgbvox avatar mhfan avatar mjvmroz avatar mrxiaozhuox avatar nilsmartel avatar oovm avatar oyami-srk avatar sd2k avatar sol-ell avatar sycration avatar terhechte avatar timokoesters avatar trevyn avatar xpe avatar xtekc avatar zoechi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cli's Issues

`cargo install dioxus-cli` fails while compiling `dioxus-cli 0.1.41

Compilation fails with the following error

error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> /Users/gjohnston/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.4/src/server/mod.rs:35:23
    |
35  |       let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
    |  _______________________^^^^^^^^^^^^^^^^^^^^^^^-
36  | |         if chrono::Local::now().timestamp() > last_update_time
37  | |             && builder::build(&watcher_conf).is_ok()
38  | |         {
...   |
53  | |         }
54  | |     })
    | |______- an argument of type `notify::Config` is missing
    |
note: associated function defined here
   --> /Users/gjohnston/.cargo/registry/src/github.com-1ecc6299db9ec823/notify-5.0.0/src/lib.rs:294:8
    |
294 |     fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self>
    |        ^^^
help: provide the argument
    |
35  ~     let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
36  +         if chrono::Local::now().timestamp() > last_update_time
37  +             && builder::build(&watcher_conf).is_ok()
38  +         {
39  +             // change the websocket reload state to true;
40  +             // the page will auto-reload.
41  +             if watcher_conf
42  +                 .dioxus_config
43  +                 .web
44  +                 .watcher
45  +                 .reload_html
46  +                 .unwrap_or(false)
47  +             {
48  +                 let _ = Serve::regen_dev_page(&watcher_conf);
49  +             }
50  +             println!("watcher send reload");
51  +             reload_tx.send("reload".into()).unwrap();
52  +             last_update_time = chrono::Local::now().timestamp();
53  +         }
54  +     }, /* notify::Config */)
    |

For more information about this error, try `rustc --explain E0061`.
error: could not compile `dioxus-cli` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dioxus-cli v0.1.4`, intermediate artifacts can be found at `/var/folders/tn/x4pdrvrn0wb8_7dw28090bxc0000gn/T/cargo-installwsTzHZ`

I'm on

active toolchain
----------------

nightly-aarch64-apple-darwin (default)
rustc 1.67.0-nightly (b7bc90fea 2022-11-21)

dioxus-cli installation failed

When I use cargo install dioxus-cli to install dioxus-cli, I met this bug.
The version of dioxus-cli is 0.1.4.
image
I think someone commented out the code notify::Config::default().

`--profile` value of `dioxus serve` does not seem to be supplied to all sub-commands that use Cargo profiles

Hi,

I'm using a separate Cargo profile (see #90), and just noticed that this doesn't seem to work properly.

To debug another issue, I executed cargo clean in my project, after which dioxus serve --profile dev2 fails with:

[INFO] ๐Ÿš… Running build command...
[INFO] ๐Ÿ‘‘ Build done.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: failed reading '/home/user/projects/app/target/wasm32-unknown-unknown/debug/app.wasm'

Caused by:
    No such file or directory (os error 2)', src/builder.rs:124:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[ERROR] ๐Ÿšซ Serve startup failed: Build Failed: Bindgen build failed!
This is probably due to the Bindgen version, dioxus-cli using `0.2.81` Bindgen crate.

(Notice the debug in the path after failed reading)

Next, to test if my profile (which just inherits everything from the dev profile) is the problem, I executed dioxus serve (i.e., no custom profile), which worked.

After that, I executed dioxus serve --profile dev2 again, which now works.

My guess is, that dioxus serve --profile dev2 executes more than one command that uses Cargo profiles, but does not supply the custom profile to every of those commands.

Workspace inheritance fails with 'dioxus serve'.

Using 'dioxus serve' with the following project does not work due to inherited workspace fields not being handled correctly.

Cargo.toml

[workspace]

[workspace.package]
authors = ["marcerhans"]

[package]
name = "foo"
version = "0.1.0"
edition = "2021"
authors = { workspace = true }
# (It DOES work if we dupblicate "authors = ["marcerhans"]")

[dependencies]
dioxus = "0.3.1"
dioxus-web = { version = "0.3.0" }

main.rs

#![allow(non_snake_case)]

use dioxus::prelude::*;

fn main() {
    dioxus_web::launch(App);
}

fn App(cx: Scope) -> Element {
    cx.render(rsx! {
        h1 { "Hello! "}
    })
}

Output
$ RUST_BACKTRACE=1 dioxus serve
[WARN] Config file: Dioxus.toml not found; using default config.
[WARN] Config file: Dioxus.toml not found; using default config.
thread 'main' panicked at 'called Result::unwrap() on an Err value: Parse(Error { inner: ErrorInner { kind: Custom, line: Some(9), col: 10, at: Some(127), message: "invalid type: map, expected a sequence", key: ["package", "authors"] } })', /home/${USER}/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.3.0/src/config.rs:167:68
stack backtrace:
0: rust_begin_unwind
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/panicking.rs:64:14
2: core::result::unwrap_failed
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/result.rs:1791:5
3: dioxus_cli::config::CrateConfig::new
4: tokio::runtime::park::CachedParkThread::block_on
5: dioxus::main
note: Some details are omitted, run with RUST_BACKTRACE=full for a verbose backtrace.

Output (full)
$ RUST_BACKTRACE=full dioxus serve
[WARN] Config file: Dioxus.toml not found; using default config.
[WARN] Config file: Dioxus.toml not found; using default config.
thread 'main' panicked at 'called Result::unwrap() on an Err value: Parse(Error { inner: ErrorInner { kind: Custom, line: Some(9), col: 10, at: Some(127), message: "invalid type: map, expected a sequence", key: ["package", "authors"] } })', /home/${USER}/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.3.0/src/config.rs:167:68
stack backtrace:
0: 0x560730bbfc5a - std::backtrace_rs::backtrace::libunwind::trace::h79937bc171ada62c
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
1: 0x560730bbfc5a - std::backtrace_rs::backtrace::trace_unsynchronized::h2292bca8571cb919
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
2: 0x560730bbfc5a - std::sys_common::backtrace::_print_fmt::h9c461f248e4ae90d
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/sys_common/backtrace.rs:65:5
3: 0x560730bbfc5a - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::he9fe6bf1a39182e1
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/sys_common/backtrace.rs:44:22
4: 0x560730be974e - core::fmt::write::h032658c119c720d7
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/fmt/mod.rs:1208:17
5: 0x560730bb8ed5 - std::io::Write::write_fmt::h299fc90dfae41c0d
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/io/mod.rs:1682:15
6: 0x560730bbfa25 - std::sys_common::backtrace::_print::heb70d25df9937e3f
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/sys_common/backtrace.rs:47:5
7: 0x560730bbfa25 - std::sys_common::backtrace::print::had745c0a76b8b521
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/sys_common/backtrace.rs:34:9
8: 0x560730bc120f - std::panicking::default_hook::{{closure}}::h1ea782cdfa2fd097
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:267:22
9: 0x560730bc0f4b - std::panicking::default_hook::h1cc3af63455a163c
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:286:9
10: 0x560730bc191c - std::panicking::rust_panic_with_hook::h5cafdc4b3bfd5528
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:688:13
11: 0x560730bc16b9 - std::panicking::begin_panic_handler::{{closure}}::hf31c60f40775892c
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:579:13
12: 0x560730bc010c - std::sys_common::backtrace::__rust_end_short_backtrace::h28a5c7be595826cd
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/sys_common/backtrace.rs:137:18
13: 0x560730bc13c2 - rust_begin_unwind
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:575:5
14: 0x56073007d823 - core::panicking::panic_fmt::h8fa27a0b37dd98b7
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/panicking.rs:64:14
15: 0x56073007dcb3 - core::result::unwrap_failed::h62abf61e411aaa08
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/result.rs:1791:5
16: 0x56073021f339 - dioxus_cli::config::CrateConfig::new::h92df98f0d3d5c925
17: 0x5607300bae72 - tokio::runtime::park::CachedParkThread::block_on::h179def9cc8da9f31
18: 0x56073009d762 - dioxus::main::hdce9ffa04f2b2797
19: 0x560730142de6 - std::sys_common::backtrace::__rust_begin_short_backtrace::h3cd0b0da591dec0c
20: 0x560730135a85 - std::rt::lang_start::{{closure}}::h1ab017dfd0c410b8
21: 0x560730bb235c - core::ops::function::impls::<impl core::ops::function::FnOnce for &F>::call_once::hfa1c3687c9a20bb8
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/ops/function.rs:606:13
22: 0x560730bb235c - std::panicking::try::do_call::h0497133ebe1341e5
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:483:40
23: 0x560730bb235c - std::panicking::try::h6c3de05c7ca5d07f
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:447:19
24: 0x560730bb235c - std::panic::catch_unwind::h969058ecb5334b30
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panic.rs:137:14
25: 0x560730bb235c - std::rt::lang_start_internal::{{closure}}::h0de6d98cafb42a58
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/rt.rs:148:48
26: 0x560730bb235c - std::panicking::try::do_call::h77301dcf43953993
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:483:40
27: 0x560730bb235c - std::panicking::try::h45b05523a2fe135a
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panicking.rs:447:19
28: 0x560730bb235c - std::panic::catch_unwind::hd95cea544b2b9bd2
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/panic.rs:137:14
29: 0x560730bb235c - std::rt::lang_start_internal::hd16e6ff7bf05a444
at /rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/std/src/rt.rs:148:20
30: 0x56073009d9c5 - main
31: 0x7fc1c036a510 - __libc_start_call_main
32: 0x7fc1c036a5c9 - __libc_start_main@GLIBC_2.2.5
33: 0x56073007de95 - _start
34: 0x0 -

HMR serve ssr platform web - loop compiling

Hi, I faced with problem when trying to run ssr in HMR resulting to loop compiling dependencies.

โ””โ”€(11:02:47 on main โœน โœญ)โ”€โ”€> dioxus serve --hot-reload                                                                                                                                   130 โ†ต โ”€โ”€(Fri,Feb24)โ”€โ”˜

[INFO] ๐Ÿš… Running build command...
\ Compiling futures-core 0.3.26 (registry+https://github.com/rust-lang/crates.io-index)                                                                                                                          Compiling wasm-bindgen-shared v0.2.84
   Compiling mio v0.8.6
   Compiling futures-lite v1.12.0
   Compiling concurrent-queue v2.1.0
   Compiling walkdir v2.3.2
   Compiling num-integer v0.1.45
   Compiling regex v1.7.1
   Compiling typenum v1.16.0
   Compiling bstr v1.3.0
   Compiling atomic-waker v1.1.0
- Compiling percent-encoding 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)                                                                                                                   - Compiling percent-encoding 2.2.0 (registry+https://github.com/rust-lang/crates.io-index) 

Process not finishing.
CLI from git.

Dioxus.toml

[application]

# dioxus project name
name = "dioxus-cli"

# default platfrom
# you can also use `dioxus serve/build --platform XXX` to use other platform
# value: web | desktop
default_platform = "web"

# Web `build` & `serve` dist path
out_dir = "dist"

# resource (static) file folder
asset_dir = "public"

[web.app]

# HTML title tag content
title = "dioxus | โ›บ"

[web.watcher]

watch_path = ["src"]

# include `assets` in web platform
[web.resource]

# CSS style file
style = []

# Javascript code file
script = []

[web.resource.dev]

# Javascript code file
# serve: [dev-server] only
script = []

[application.tools]

# use binaryen.wasm-opt for output Wasm file
# binaryen just will trigger in `web` platform
binaryen = { wasm_opt = true }
โ””โ”€(11:10:35 on main โœน โœญ)โ”€โ”€> tree dist                                                                                                                                                     2 โ†ต โ”€โ”€(Fri,Feb24)โ”€โ”˜
dist
โ”œโ”€โ”€ client-web-app
โ””โ”€โ”€ index.html

1 directory, 2 files

Maybe I do something wrong?

dioxus-desktop supports hot-reload but cli does not

I think it would make sense to move the watcher and hot reload code into the dioxus repo, this way other tooling could easily integrate with the dioxus hot reload protocol. For dioxus-desktop it could even have a binary dioxus-watcher that could be run, which binds to @dioxusin and @dioxusout. So the development process would first start cargo run --features hot-reload and then dioxus-watcher which pushes changes to the running instance.

cargo-install fails

Following the instructions in the readme I get the following error message:

   Compiling dioxus-cli v0.1.0
error[E0599]: no function or associated item named `new_immediate` found for trait object `dyn notify::Watcher` in the current scope
  --> /Users/cianoconnor/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.0/src/develop.rs:43:52
   |
43 |     let mut watcher: RecommendedWatcher = Watcher::new_immediate(move |res| {
   |                                                    ^^^^^^^^^^^^^ function or associated item not found in `dyn notify::Watcher`

error[E0308]: mismatched types
  --> /Users/cianoconnor/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.0/src/develop.rs:53:16
   |
53 |         .watch(src_dir.join("src"), RecursiveMode::Recursive)
   |                ^^^^^^^^^^^^^^^^^^^
   |                |
   |                expected `&std::path::Path`, found struct `std::path::PathBuf`
   |                help: consider borrowing here: `&src_dir.join("src")`

error[E0308]: mismatched types
  --> /Users/cianoconnor/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.0/src/develop.rs:57:16
   |
57 |         .watch(src_dir.join("examples"), RecursiveMode::Recursive)
   |                ^^^^^^^^^^^^^^^^^^^^^^^^
   |                |
   |                expected `&std::path::Path`, found struct `std::path::PathBuf`
   |        

Also it's currently very unclear to me how I would use this to get the VSCode plugin. Maybe the readme could be updated to provide some explanation for this.

Installing from through cargo failing

cargo install dioxus-cli results in the following build error:

error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> /home/aj/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.4/src/server/mod.rs:35:23
    |
35  |       let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
    |  _______________________^^^^^^^^^^^^^^^^^^^^^^^-
36  | |         if chrono::Local::now().timestamp() > last_update_time
37  | |             && builder::build(&watcher_conf).is_ok()
38  | |         {
...   |
53  | |         }
54  | |     })
    | |______- an argument of type `notify::Config` is missing
    |
note: associated function defined here
   --> /home/aj/.cargo/registry/src/github.com-1ecc6299db9ec823/notify-5.0.0/src/lib.rs:294:8
    |
294 |     fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self>
    |        ^^^
help: provide the argument
    |
35  ~     let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
36  +         if chrono::Local::now().timestamp() > last_update_time
37  +             && builder::build(&watcher_conf).is_ok()
38  +         {
39  +             // change the websocket reload state to true;
40  +             // the page will auto-reload.
41  +             if watcher_conf
42  +                 .dioxus_config
43  +                 .web
44  +                 .watcher
45  +                 .reload_html
46  +                 .unwrap_or(false)
47  +             {
48  +                 let _ = Serve::regen_dev_page(&watcher_conf);
49  +             }
50  +             println!("watcher send reload");
51  +             reload_tx.send("reload".into()).unwrap();
52  +             last_update_time = chrono::Local::now().timestamp();
53  +         }
54  +     }, /* notify::Config */)
    |

For more information about this error, try `rustc --explain E0061`.
error: could not compile `dioxus-cli` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dioxus-cli v0.1.4`, intermediate artifacts can be found at `/tmp/cargo-install1S8Vlh`

Run external commands (i.e. Tailwind CSS) before serving the app

I use Tailwind CSS for all of my projects, which means after every change, I need to run tailwindcss to process all the classes into a CSS file before it gets served to the browser. Trunk can be configured to run Tailwind before building the app, but I don't seem to have the same option with Dioxus CLI.

While Trunk fulfills all my needs right now, it would be nice to have Dioxus be the one-stop-shop for everything, and this is the only feature it's lacking right now (at least for me).

I will attempt to implement this and follow up with a pull request in the coming days - but until then I'd like to discuss whether this is something other people want/need.

`cargo install dioxus-cli` fails to compile

Running cargo install dioxus-cli returns this error.

I'm on a Macbook M1 Pro.

Compiling dioxus-cli v0.1.4
error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> /Users/{user}/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.4/src/server/mod.rs:35:23
    |
35  |       let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
    |  _______________________^^^^^^^^^^^^^^^^^^^^^^^-
36  | |         if chrono::Local::now().timestamp() > last_update_time
37  | |             && builder::build(&watcher_conf).is_ok()
38  | |         {
...   |
53  | |         }
54  | |     })
    | |______- an argument of type `notify::Config` is missing
    |
note: associated function defined here
   --> /Users/{user}/.cargo/registry/src/github.com-1ecc6299db9ec823/notify-5.0.0/src/lib.rs:294:8
    |
294 |     fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self>
    |        ^^^
help: provide the argument
    |
35  ~     let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
36  +         if chrono::Local::now().timestamp() > last_update_time
37  +             && builder::build(&watcher_conf).is_ok()
38  +         {
39  +             // change the websocket reload state to true;
40  +             // the page will auto-reload.
41  +             if watcher_conf
42  +                 .dioxus_config
43  +                 .web
44  +                 .watcher
45  +                 .reload_html
46  +                 .unwrap_or(false)
47  +             {
48  +                 let _ = Serve::regen_dev_page(&watcher_conf);
49  +             }
50  +             println!("watcher send reload");
51  +             reload_tx.send("reload".into()).unwrap();
52  +             last_update_time = chrono::Local::now().timestamp();
53  +         }
54  +     }, /* notify::Config */)
    |

For more information about this error, try `rustc --explain E0061`.
error: could not compile `dioxus-cli` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dioxus-cli v0.1.4`, intermediate artifacts can be found at `/var/folders/rk/tlh9xsjn3w55ql7cg3_xb34r0000gp/T/cargo-install7G9BDV`

Error while installing dioxus-cli :

It keeps having error at this staging of compiling dioxus:

   Compiling ucd-trie v0.1.5
error: unknown start of token: \u{0}
 --> <delete-path>\scoop\persist\rustup-msvc\.cargo\registry\src\github.com-1ecc6299db9ec823\ucd-trie-0.1.5\src\lib.rs:1:1
  |
1.|.
  | ^
  |
  = help: source files must contain UTF-8 encoded text, unexpected null bytes might occur when a different encoding is used
  = note: character appears 3828 more times

It's on Windows, do we have binary released so it's easier to install? Thanks

Without the build (`dist` folder), `dioxus serve` fails

Hi everyone!

Without the dist folder, dioxus serve fails with I/O Error: No such file or directory (os error 2).
Using dioxus CLI ver. 0.1.5.

โฏ dioxus serve
[ERROR] ๐Ÿšซ Serve startup failed: I/O Error: No such file or directory (os error 2)
โฏ 

This happens right after creating a new project (as the build is not done automatically) or if you remove it (or use dioxus clean).

A simple message such as "You need to build it before starting it." would improve the user (dev) experience.

Release build omits call to wasm start

When building in release mode, the line at the bottom of the build .js file starting the wasm module is missing.

Debug mode:

wasm = instance.exports;
init.__wbindgen_wasm_module = module;
wasm.__wbindgen_start();
return wasm;

Release mode:

wasm = instance.exports;
init.__wbindgen_wasm_module = module;

return wasm;

Cannot install cli from git

After successfull install from git(9c5b2cc) then when running serve in template repo I get this message:

[ERROR] ๐Ÿšซ Serve startup failed: error[E0583]: file not found for module `sys`
   --> /Users/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/lib.rs:124:1
    |
124 | mod sys;
    | ^^^^^^^^
    |
    = help: to create the module `sys`, create file "/Users/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/sys.rs" or "/Users/robin/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.7/src/sys/mod.rs"

It refers to this line
CleanShot 2022-11-15 at 08 45 29@2x

Im on MacM1

`cargo install dioxus-cli` fails to compile

Running cargo install dioxus-cli returns this error.

I'm on a Macbook M1 Pro.

Compiling dioxus-cli v0.1.4
error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> /Users/{user}/.cargo/registry/src/github.com-1ecc6299db9ec823/dioxus-cli-0.1.4/src/server/mod.rs:35:23
    |
35  |       let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
    |  _______________________^^^^^^^^^^^^^^^^^^^^^^^-
36  | |         if chrono::Local::now().timestamp() > last_update_time
37  | |             && builder::build(&watcher_conf).is_ok()
38  | |         {
...   |
53  | |         }
54  | |     })
    | |______- an argument of type `notify::Config` is missing
    |
note: associated function defined here
   --> /Users/{user}/.cargo/registry/src/github.com-1ecc6299db9ec823/notify-5.0.0/src/lib.rs:294:8
    |
294 |     fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self>
    |        ^^^
help: provide the argument
    |
35  ~     let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
36  +         if chrono::Local::now().timestamp() > last_update_time
37  +             && builder::build(&watcher_conf).is_ok()
38  +         {
39  +             // change the websocket reload state to true;
40  +             // the page will auto-reload.
41  +             if watcher_conf
42  +                 .dioxus_config
43  +                 .web
44  +                 .watcher
45  +                 .reload_html
46  +                 .unwrap_or(false)
47  +             {
48  +                 let _ = Serve::regen_dev_page(&watcher_conf);
49  +             }
50  +             println!("watcher send reload");
51  +             reload_tx.send("reload".into()).unwrap();
52  +             last_update_time = chrono::Local::now().timestamp();
53  +         }
54  +     }, /* notify::Config */)
    |

For more information about this error, try `rustc --explain E0061`.
error: could not compile `dioxus-cli` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `dioxus-cli v0.1.4`, intermediate artifacts can be found at `/var/folders/rk/tlh9xsjn3w55ql7cg3_xb34r0000gp/T/cargo-install7G9BDV`

Bring back tool support?

PR #57 replaces the tool command with the plugin command, but forgets to make the plugin add command actually do anything.

As a first time user of dioxus, I was hoping that adding the tailwindcss was trivial, but this change and the fact that the documentation is not updated makes it not.

Given that the tool command is still referenced in the documentation and is still in the code, can we bring it back until the documentation is updated?

Do you have any plans to add cache control?

Bundlers often add a hash to the end of generated files to get around the problem of aggressive browser caching.

For example, style.scss becomes style-123thisfilehash.css

Are you planning to add something like this?

Rust-Analyzer seems to break incremental compilation in Debug mode (e.g., when using `dioxus serve`)

Hi,

Rust-Analyzer seems to break incremental compilation in Debug mode, when the target is Wasm (see rust-lang/rust-analyzer#12551).

A workaround is, to create and use a separate build profile, e.g. by adding the following to the Cargo.toml of the project:

[profile.dev2]
inherits = "dev"

...and then execute dioxus serve --profile dev2.

Without that, I had to wait 30 to 60 seconds after basically every change (with a separate profile it takes ~800 ms).

I think, until the above issue is fixed, the workaround should be added to the hot-reload section of the guide.

hot-reload panics with a one line rsx

cli/src/server/mod.rs

Lines 138 to 148 in 4bb8015

let mut lines: Vec<_> = src
.lines()
.skip(start.line - 1)
.take(end.line - start.line + 1)
.collect();
if let Some(first) = lines.first_mut() {
*first = first.split_at(start.column).1;
}
if let Some(last) = lines.last_mut() {
*last = last.split_at(end.column).0;
}

If there is only one line where the start.column != 0, then it panics with a notify error when using hot-reload and saving the file (with or without changes).

error log:

[INFO] ๐Ÿช reloading rsx
thread 'notify-rs inotify loop' panicked at 'byte index 26 is out of bounds of `"hello"))`', library/core/src/str/mod.rs:107:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error:

use dioxus::prelude::*;

pub fn app(cx: Scope) -> Element {
    cx.render(rsx!(
    "hello",
    ))
}

error:

use dioxus::prelude::*;

pub fn app(cx: Scope) -> Element {
    cx.render(rsx!("hello"))
}

no error:

use dioxus::prelude::*;

pub fn app(cx: Scope) -> Element {
    cx.render(rsx!(
"hello",
    ))
}

no error:

use dioxus::prelude::*;

pub fn app(cx: Scope) -> Element {
    cx.render(rsx!(
      "hello",
      "hello2"
    ))
}

Replacing the VSCode Extension with a custom LSP server (that can be used by other IDEs/editors)

Hi,

I've read somewhere (can't find the place again) that there is (upcoming?) support for auto-formating RSX macro code, and displaying the documentation of RSX components and elements.

I guess, this functionality will only be available via the VSCode extension, and therefore I'd like to propose/suggest to implement it via a custom LSP server instead.

This way, these tools become automatically available to all editors/IDEs that support LSP (which are all relevant editors, I think).

Displaying documentation and auto-formating code is a subset of what Rust-Analyzer does, so there shouldn't be any technical limitation to implement the functionality via an LSP server. Helix has an open PR for adding support for several active LSP servers, so I guess other editors have that functionality, as well.

Rust seems to have good support for building custom LSP servers (see crates.io). For example, tower-lsp looks promising, and Rust-Analyzer uses lsp-types (tower-lsp as well).

I'm not 100% sure, if the LSP approach would work (I've never created an LSP server), but it would bring some significant benefits if it does (i.e., having one implementation of Dioxus IDE tool, that can be used by any editor/IDE).

Error on MacOS

I just installed dioxus-cli on my macbook pro (os version 12.2.1 (21D62)).

I tried running

dioxus create someproject

but got this error:

error: Found argument 'gh:dioxuslabs/dioxus-template' which wasn't expected, or isn't valid in this context

USAGE:
    cargo generate [FLAGS] [OPTIONS] --git <git>

For more information try --help
[ERROR] create error: Generate project failed.

Same thing happens when I provide the --template option.

Add TLS Option for Serve to Make PWA Development More Ergonomic

Developing a PWA requires some tweaking as a Service Worker requires TLS. The easiest way I have found to do this with Trunk is to add nginx as a reverse proxy with MKCert certificates.

Making this an easy-to-use option with dioxus serve would be pretty fantastic. I currently do something like this, and I imagine it should still work with dioxus serve:

# nginx conf for localhost dev with. sudo nginx -c localaddressdev.conf
events {}
http {
    upstream backend {
        server 127.0.0.1:8080;
    }
    server {
        server_name local.address.dev;
        rewrite ^(.*) https://local.address.dev$1 permanent;
    }
    server {
        listen          443          ssl;
        listen          [::]:443     ssl;
        ssl_certificate      /home/repos/client/conf/localhost+3.pem;
        ssl_certificate_key  /home/repos/client/conf/localhost+3-key.pem;
        ssl_ciphers          HIGH:!aNULL:!MD5;
        server_name          local.address.dev;
        location / {
            proxy_pass  http://backend;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "Upgrade";
            proxy_set_header Host $host;
        }
    }
}

Persistent changes to index.html?

Lets say i want to add some classes and styles to html, body and div[id=main] tags, but if i change ./assets/index.html it will be rewritten after next run of dioxus serve command. So how to make persistent changes?

`dioxus init` does not exist

Running the master branch, latest release.

To reproduce:

mkdir some_project
cd some_project
cargo init
dioxus create foo

Created a sub-project called foo, but raises the following admonishment:

dioxus create foo
[WARN] Your `dioxus.toml` could not be found. Using the default config. To set up this crate with dioxus, use `dioxus init`.

However, running dioxus init raises:

error: Found argument 'init' which wasn't expected, or isn't valid in this context

USAGE:
    dioxus [OPTIONS] <SUBCOMMAND>

For more information try --help

Indeed, init is not in the enumeration of commands available:

dioxus 0.3.0
Build, Bundle & Ship Dioxus Apps

USAGE:
    dioxus [OPTIONS] <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -v               Enable verbose logging
    -V, --version    Print version information

SUBCOMMANDS:
    build        Build the Rust WASM app and all of its assets
    clean        Clean output artifacts
    config       Dioxus config file controls
    create       Init a new project for Dioxus
    fmt          Format some rsx
    help         Print this message or the help of the given subcommand(s)
    plugin       Manage plugins for dioxus cli
    serve        Build, watch & serve the Rust WASM app and all of its assets
    translate    Translate some source file into Dioxus code
    version      Print the version of this extension

Side note, I have to follow a somewhat counterintuitive procedure to init this subproject in the first place; ideally, dioxus create should call mkdir {some_project} and cd {some_project} && cargo init on its own. See this issue: #93

dioxus build - Failed to parse `name` custom section

Hi everyone!

Using dioxus CLI ver. 0.1.5, when building the project a warning message is thrown.
However, the details are not descriptive enough to be addressed by the user.

โฏ dioxus build
[INFO] ๐Ÿš… Running build command...
[INFO] ๐Ÿ‘‘ Build done.
[WARN] failed to parse `name` custom section Invalid name type (at offset 17635851)
โฏ 

Port of dev server should be configurable

When running dioxus serve, the cli will always try to open the dev server on port 8080. See:

// start serve dev-server at 0.0.0.0:8080
let port = "8080";
log::info!("๐Ÿ“ก Dev-Server is started at: http://127.0.0.1:{}/", port);

In any bigger techstack, that port is most likely already used when spinning up a local development environment.

It should therefor be possible to overwrite that default port through the cli's configuration file.

Turning project name from snake_case into kebab-case

Hi Dioxus nice people! ๐Ÿ˜Š

Using Dioxus CLI v.0.1.5, there are a couple of small issues with the creation part:

  1. Snake case names (like some_project) become kebab case names (like some-project).
  2. Probably as a side effect, the project name in Cargo.toml also gets specified using kebab case.
$ dioxus create router_test
[INFO] ๐Ÿ”ง Start to create a new project 'router_test'.
[WARN] Tool is not installed: cargo-generate, try to install it.
    Updating crates.io index
  Downloaded cargo-generate v0.16.0
   ...
   Compiling cargo-generate v0.16.0
    Finished release [optimized] target(s) in 2m 35s
  Installing /home/dxps/.cargo/bin/cargo-generate
   Installed package `cargo-generate v0.16.0` (executable `cargo-generate`)
[1/9]   Done: .gitignore
[2/9]   Done: Cargo.toml
[3/9]   Done: Dioxus.toml
[4/9]   Done: LICENSE
[5/9]   Done: README.md
[6/9]   Done: public/.gitkeep
[7/9]   Done: public
[8/9]   Done: src/main.rs
[9/9]   Done: src
$ 

Ofc, once cargo-generate is already installed, things look kinda similar:

โฏ dioxus create some_project
[INFO] ๐Ÿ”ง Start to create a new project 'some_project'.
[1/9]   Done: .gitignore
[2/9]   Done: Cargo.toml
[3/9]   Done: Dioxus.toml
[4/9]   Done: LICENSE
[5/9]   Done: README.md
[7/9]   Done: public
[8/9]   Done: src/main.rs
[9/9]   Done: src
[ERROR] ๐Ÿšซ Create project failed: I/O Error: No such file or directory (os error 2)
โฏ

As before, a some-project folder is created.

Can't install CLI from github

Using command cargo install --git https://github.com/DioxusLabs/cli

Error:

[serzh-dev@serzh-dev dioxus-ui]$ cargo install --git https://github.com/DioxusLabs/cli
    Updating git repository `https://github.com/DioxusLabs/cli`
  Installing dioxus-cli v0.3.0 (https://github.com/DioxusLabs/cli#09703ef8)
    Updating crates.io index
error: failed to compile `dioxus-cli v0.3.0 (https://github.com/DioxusLabs/cli#09703ef8)`, intermediate artifacts can be found at `/tmp/cargo-install8gXKJ1`

Caused by:
  failed to get `dioxus-autofmt` as a dependency of package `dioxus-cli v0.3.0 (/home/serzh-dev/.cargo/git/checkouts/cli-9627c26ec0ae1d72/09703ef)`

Caused by:
  failed to load source for dependency `dioxus-autofmt`

Caused by:
  Unable to update /home/serzh-dev/.cargo/git/checkouts/dioxus/packages/autofmt

Caused by:
  failed to read `/home/serzh-dev/.cargo/git/checkouts/dioxus/packages/autofmt/Cargo.toml`

Generate static routes

Reading routes from dioxus' Router would be nice. These routes should then be generated as static html files when executing dioxus build for a web app.

So a

Link {
    to: "/foo/bar",
}

would generate dist/foo/bar/index.html.

This is what nuxt generate does for example.

Additionally (or maybe as an easier first step) there should be an option in Dioxus.toml what routes are generated.

cargo install dioxus-cli does not compile

Hi everyone, I was using cargo install dioxus-cli to install, as recommended in the guide, but it fails to compile.

Version 0.1.5 compiles (via cargo install --git https://github.com/DioxusLabs/cli).


   Compiling dioxus-cli v0.1.4
error[E0061]: this function takes 2 arguments but 1 argument was supplied
   --> C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\dioxus-cli-0.1.4\src\server\mod.rs:35:23
    |
35  |       let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
    |  _______________________^^^^^^^^^^^^^^^^^^^^^^^-
36  | |         if chrono::Local::now().timestamp() > last_update_time
37  | |             && builder::build(&watcher_conf).is_ok()
38  | |         {
...   |
53  | |         }
54  | |     })
    | |______- an argument of type `notify::Config` is missing
    |
note: associated function defined here
   --> C:\Users\user\.cargo\registry\src\github.com-1ecc6299db9ec823\notify-5.0.0\src\lib.rs:294:8
    |
294 |     fn new<F: EventHandler>(event_handler: F, config: config::Config) -> Result<Self>
    |        ^^^
help: provide the argument
    |
35  ~     let mut watcher = RecommendedWatcher::new(move |_: notify::Result<notify::Event>| {
36  +         if chrono::Local::now().timestamp() > last_update_time
37  +             && builder::build(&watcher_conf).is_ok()
38  +         {
39  +             // change the websocket reload state to true;
40  +             // the page will auto-reload.
41  +             if watcher_conf
42  +                 .dioxus_config
43  +                 .web
44  +                 .watcher
45  +                 .reload_html
46  +                 .unwrap_or(false)
47  +             {
48  +                 let _ = Serve::regen_dev_page(&watcher_conf);
49  +             }
50  +             println!("watcher send reload");
51  +             reload_tx.send("reload".into()).unwrap();
52  +             last_update_time = chrono::Local::now().timestamp();
53  +         }
54  +     }, /* notify::Config */)
    |

For more information about this error, try `rustc --explain E0061`.
error: could not compile `dioxus-cli` due to previous error

Program not found when use dioxus-cli on windows.

reason: process:Command not founc cls or clear.
possible fix: add a fallback to ANSI escape sequence
Someone says ANSI escseq is not compatible with legacy command prompt. But I've tested it on Windows11 with legacy command prompt.
It's too weird even cls is not found.

From 5df99e95b8a7b8ba7130773f39371806b08e8a94 Mon Sep 17 00:00:00 2001
From: Shiroko <[email protected]>
Date: Thu, 22 Sep 2022 02:40:11 +0800
Subject: [PATCH] Fix program not found by fallback to ANSI-escape seq

---
 src/server/mod.rs | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/src/server/mod.rs b/src/server/mod.rs
index a9484fa..66a438a 100644
--- a/src/server/mod.rs
+++ b/src/server/mod.rs
@@ -419,19 +419,17 @@ pub struct PrettierOptions {
 }
 
 fn print_console_info(port: u16, config: &CrateConfig, options: PrettierOptions) {
-    print!(
-        "{}",
-        String::from_utf8_lossy(
-            &Command::new(if cfg!(target_os = "windows") {
-                "cls"
-            } else {
-                "clear"
-            })
-            .output()
-            .unwrap()
-            .stdout
-        )
-    );
+    if let Ok(native_clearseq) = Command::new(if cfg!(target_os = "windows") {
+        "cls"
+    } else {
+        "clear"
+    })
+    .output() {
+        print!("{}", String::from_utf8_lossy(&native_clearseq.stdout));
+    } else {
+        // Try ANSI-Escape characters
+        print!("\x1b[2J\x1b[H");
+    }
 
     // for path in &changed {
     //     let path = path
-- 
2.37.3


Dioxus web Hot Reload issue

It seems something going wrong.
If i run dioxus server i see (index):32 WebSocket connection to 'ws://localhost:8080/_dioxus/ws' failed: ...
If i run dioxus serve --hot-reload i see no errors, but no changes are visible after i update source code.
And why are there two WS connections when using --hot-reload: /_dioxus/ws and /_dioxus/hot_reload?

Add release tags to project

Hey :)

I just wanted to ask, if you could add git tags for the official releases.
This would be nice to have, so we can go ahead and add experimental packaging for a few distros.

Best regards

Failed to parse

I am trying to move to dioxus-cli from trunk. My trunk setup works fine. When I run dioxus serve I get the error message:

[INFO] ๐Ÿš… Running build command...
[INFO] ๐Ÿ‘‘ Build done.
[WARN] failed to parse `name` custom section Invalid name type (at offset 135284975)

This is rather generic, can you give me any pointers on what the problem could be? Thanks.

`dioxus create project-name` fails, error message counterintuitive or wrong

Dioxus CLI currently has the following flow in the main README.md for creating a new project:

## Get Started 

Use `dioxus create project-name` to initialize a new Dioxus project. <br>

It will be cloned from the [dioxus-template](https://github.com/DioxusLabs/dioxus-template) repository.

<br>

Doing the following on my iMac, however, raises an error:

(base) MyDevice:dioxus mgb$ mkdir tests
(base) MyDevice:dioxus mgb$ cd tests
(base) MyDevice:tests mgb$ dioxus create foo
Error: Failed to load `dioxus.toml` because: Cargo Error: Failed to find the cargo directory

Shouldn't dioxus create be making the cargo directory in the first place? Additionally, isn't the toml config file Dioxus.toml, rather than (lowercase) dioxus.toml?

I've forked the repo and am willing to contribute changes to the documentation to make this clearer; seeking guidance from the main developers re: what the updates should be: mgbvox fork of dioxus cli

Add support for building with rustls or libssl3

Hi i was trying your CLI tool and it seems to be unable to build on modern versions of ubuntu (that use libssl3)

warning: `dioxus-cli` (lib) generated 3 warnings
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/rustcSeYgpF/symbols.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.0.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.1.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.10.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.11.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.12.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.13.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.14.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.15.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.2.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.3.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.4.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.5.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.6.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.7.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.8.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.dioxus.9720e8e5-cgu.9.rcgu.o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf.377hx91w353fehcu.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-install7sYVeF/release/deps" "-L" "/tmp/cargo-install7sYVeF/release/build/curl-sys-778039b2a839da8a/out/build" "-L" "/usr/local/lib" "-L" "/tmp/cargo-install7sYVeF/release/build/bzip2-sys-17c6c186556c92d4/out/lib" "-L" "/tmp/cargo-install7sYVeF/release/build/mlua-a4e7895a91a095c8/out/lua-build/lib" "-L" "/tmp/cargo-install7sYVeF/release/build/ring-a27b02d3c79c2987/out" "-L" "/tmp/cargo-install7sYVeF/release/build/zstd-sys-99bc78cd0233ef07/out" "-L" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-install7sYVeF/release/deps/libdioxus_cli-98258072f2820635.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcargo_toml-b2dbfde02d599f87.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtoml-b8a5176de33f213d.rlib" "/tmp/cargo-install7sYVeF/release/deps/librsx_rosetta-e42e893a40ceb64c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libconvert_case-f3e4bcdfa8d3b4a6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdioxus_autofmt-cf884fce1c5bb9f4.rlib" "/tmp/cargo-install7sYVeF/release/deps/libprettyplease-6c0140127c4c5312.rlib" "/tmp/cargo-install7sYVeF/release/deps/libzip-c53e199d657cca31.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpbkdf2-3e0097f23472452f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsha2-2fcc36073c6af801.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpassword_hash-2c315d90f8db2aca.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbase64ct-ba1fcd4e66370eae.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtime-7280f446834b1635.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtime_core-dc03cd3e9b473a95.rlib" "/tmp/cargo-install7sYVeF/release/deps/libzstd-5896b961779dfd71.rlib" "/tmp/cargo-install7sYVeF/release/deps/libzstd_safe-a63c123c452ec7a6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libzstd_sys-1300d2957d5fb742.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbzip2-4ba581c34719df44.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbzip2_sys-a7464a251e2f9a5c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libaes-d4431cb0a01fce3e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libopaque_debug-9efc882f857fe592.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcipher-d7a97fcd1e77f753.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhmac-7b57733c87fd1cbc.rlib" "/tmp/cargo-install7sYVeF/release/deps/libconstant_time_eq-a9115f79df9bc833.rlib" "/tmp/cargo-install7sYVeF/release/deps/libreqwest-85f11d3d7c6e2bba.rlib" "/tmp/cargo-install7sYVeF/release/deps/librustls_pemfile-9b09bdbd1c72d939.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhyper_rustls-5cc20c9fd67f6693.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhyper_tls-5012145c897ad7a0.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwebpki_roots-e80516197cc8ab8e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbase64-fa05a7d5fe01748f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtrust_dns_resolver-c18ab6647a62591f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libresolv_conf-dbd4e1b66cc78174.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhostname-8dd8074bb97e985c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmatch_cfg-5e9d78897145e566.rlib" "/tmp/cargo-install7sYVeF/release/deps/libquick_error-55dfb85788842487.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblru_cache-59681f5bb21a505f.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblinked_hash_map-38503106e5f4b9e5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtrust_dns_proto-de286ce9a0a0996f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdata_encoding-567255fc2ef30314.rlib" "/tmp/cargo-install7sYVeF/release/deps/libipnet-cf308e175633a77d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libidna-503926f73ab6e4d8.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmatches-62c4a73b964e9091.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtokio_native_tls-28a25ae147a8c8f1.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtokio_rustls-ebf4e602bb2ed1af.rlib" "/tmp/cargo-install7sYVeF/release/deps/libencoding_rs-abe8cf1c91abae6a.rlib" "/tmp/cargo-install7sYVeF/release/deps/librustls-fa286580af54d88a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsct-22b6cdb221e61b2d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwebpki-351397c24b86b470.rlib" "/tmp/cargo-install7sYVeF/release/deps/libring-c78bf59ad276231b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libspin-716835dad70ba480.rlib" "/tmp/cargo-install7sYVeF/release/deps/libuntrusted-c02d895c672743f8.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnative_tls-77da1cadf120d052.rlib" "/tmp/cargo-install7sYVeF/release/deps/libopenssl_probe-3db319c990478c95.rlib" "/tmp/cargo-install7sYVeF/release/deps/libopenssl-75f0dec0aaf99cbb.rlib" "/tmp/cargo-install7sYVeF/release/deps/libforeign_types-65cb8192416760f5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libforeign_types_shared-754222504d9b531a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libopenssl_sys-40eb5bac19b66a00.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdirs-ba94768a55021832.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdirs_sys-a932da168aecd01a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libchrono-63552f980570a5e7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libiana_time_zone-b1eff87fc01d8932.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnum_integer-989969ee228ebe05.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtime-346ff407c5ab8474.rlib" "/tmp/cargo-install7sYVeF/release/deps/libctrlc-c9028f08b9b0d4bd.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnix-055516a2d99af4a2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfs_extra-f7b401c221ee02d0.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsubprocess-abac807db7bb91ac.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmlua-5905607fa682844c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbstr-f0c6ae6a0dae2574.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfern-2317aaf772931449.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcolored-b9d7624901590b46.rlib" "/tmp/cargo-install7sYVeF/release/deps/libregex-56d377950559e8c8.rlib" "/tmp/cargo-install7sYVeF/release/deps/libaho_corasick-7c988a2f7359094a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libregex_syntax-6d338df9e30e1c81.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhtml_parser-06f0409d9ac9533f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpest-ec679c97d97c40ce.rlib" "/tmp/cargo-install7sYVeF/release/deps/libucd_trie-5877a9210de1fb8c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtar-8416bfc826f12982.rlib" "/tmp/cargo-install7sYVeF/release/deps/libxattr-30045f045c4516a7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures-480973d22235c7e6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_executor-e6a89886cea19750.rlib" "/tmp/cargo-install7sYVeF/release/deps/libflate2-13e28b1e753684ac.rlib" "/tmp/cargo-install7sYVeF/release/deps/libminiz_oxide-c5f31019be19e6f6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libadler-359118335b634087.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcrc32fast-e7c50df5112f3c0d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtower_http-b9b2cab7437a35fc.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmime_guess-89b08e911d9ea372.rlib" "/tmp/cargo-install7sYVeF/release/deps/libunicase-47add7e10f73f0e3.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhttp_range_header-853a92191e62aa4e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnotify-782e44184e2172c4.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcrossbeam_channel-482dff8e785e9024.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcrossbeam_utils-ec5d18d7224a7173.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfiletime-3853540c29643399.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwalkdir-7bb692235cd9cca5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsame_file-31663cb8e7f884a1.rlib" "/tmp/cargo-install7sYVeF/release/deps/libinotify-11c396431449b462.rlib" "/tmp/cargo-install7sYVeF/release/deps/libinotify_sys-7be824830d9cf72f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdioxus_html-09d0edca1e1bb7a5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libserde_value-3a214c802d07467d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libordered_float-3929f5bde8931a5b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libenumset-41fdbc90244436be.rlib" "/tmp/cargo-install7sYVeF/release/deps/libeuclid-54c933faa2713dec.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnum_traits-6dd75c741f68719f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libkeyboard_types-2c25b0d8dc1346cb.rlib" "/tmp/cargo-install7sYVeF/release/deps/libunicode_segmentation-1c7a815423ad1d23.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdioxus_rsx-e6c69c11d5917329.rlib" "/tmp/cargo-install7sYVeF/release/deps/libinternment-34ef53db93454fb9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsyn-b81d871005866380.rlib" "/tmp/cargo-install7sYVeF/release/deps/libquote-e12540780ec6b9ef.rlib" "/tmp/cargo-install7sYVeF/release/deps/libproc_macro2-e9a893ae02924152.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libproc_macro-df9180a12451ef7e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdioxus_core-7e338dc3c43d583b.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblongest_increasing_subsequence-ade6b01a75239fe5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbumpslab-6282f058fa8c7dc2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsmallbox-99990878ec37d7ba.rlib" "/tmp/cargo-install7sYVeF/release/deps/librustc_hash-4b57bbf11876e24b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbumpalo-ade2e0d72912e45e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcolored-877386396ddd16be.rlib" "/tmp/cargo-install7sYVeF/release/deps/libaxum-9ab5db9b5e31b450.rlib" "/tmp/cargo-install7sYVeF/release/deps/libserde_urlencoded-5a5f9cabf319063b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmatchit-0d928ed1aa457a40.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtower_http-d5650c65c11a84cf.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtokio_tungstenite-77c73dfee5b67417.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtungstenite-79a4e9489604a4fe.rlib" "/tmp/cargo-install7sYVeF/release/deps/librand-625fb91b34f4131b.rlib" "/tmp/cargo-install7sYVeF/release/deps/librand_chacha-b63c3c1d1e0c5c44.rlib" "/tmp/cargo-install7sYVeF/release/deps/libppv_lite86-b8c3d26f39d33f81.rlib" "/tmp/cargo-install7sYVeF/release/deps/librand_core-bc5fc5f8d4022562.rlib" "/tmp/cargo-install7sYVeF/release/deps/libutf8-27dc294512ef37f0.rlib" "/tmp/cargo-install7sYVeF/release/deps/liburl-d8b40e7ca209d665.rlib" "/tmp/cargo-install7sYVeF/release/deps/libidna-8a05b93aca0f7bba.rlib" "/tmp/cargo-install7sYVeF/release/deps/libunicode_normalization-1f8ff196dff9f604.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtinyvec-861b92e789981b2d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtinyvec_macros-83e9da9a79a41697.rlib" "/tmp/cargo-install7sYVeF/release/deps/libunicode_bidi-368313958396c2ff.rlib" "/tmp/cargo-install7sYVeF/release/deps/libform_urlencoded-c53653dfe3f10dfa.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpercent_encoding-63e5b3e5164990c2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsha1-6acbfcac6adc7d50.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtower-6be12f1c5543e62a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpin_project-ac04035f64a90733.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhyper-d17b15e6188b52b9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwant-baa8ccf697b2dec6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtry_lock-751702e1a72b363e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhttparse-c2dfb4ab338e6eae.rlib" "/tmp/cargo-install7sYVeF/release/deps/libh2-cbb94e3fc576ea78.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtokio_util-cd9839a6c21a58aa.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtracing-e5897c24f248d018.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtracing_core-a7d0466343c289b4.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtokio-19ddecdfb4db631a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsignal_hook_registry-8cd29dfd4af5f1fa.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnum_cpus-a7af00b27487645b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsocket2-b007f4ccead0991c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmio-d9aecb949aae474c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libparking_lot-81ef746dc7f828fe.rlib" "/tmp/cargo-install7sYVeF/release/deps/libparking_lot_core-247c4bf10c65788f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsmallvec-cc96a7c44f83e3c4.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblock_api-2bda17cccde1c198.rlib" "/tmp/cargo-install7sYVeF/release/deps/libscopeguard-e7dd64e57ee55d88.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsync_wrapper-b7860930f4d47a98.rlib" "/tmp/cargo-install7sYVeF/release/deps/libheaders-7c5ef6c069e8d9a4.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsha1-bc4df7f365334c4b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcpufeatures-96ce59375c2cf98f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libdigest-dca8517de04fe76e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsubtle-7ef9301f609185cd.rlib" "/tmp/cargo-install7sYVeF/release/deps/libblock_buffer-e4e6054a9b103b39.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcrypto_common-66f3daaeda710dab.rlib" "/tmp/cargo-install7sYVeF/release/deps/libgeneric_array-5707af92f1160a7d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtypenum-0b9b105e485163a9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhttpdate-dfc2a7761c6c74eb.rlib" "/tmp/cargo-install7sYVeF/release/deps/libheaders_core-d9108d96dd8c08cd.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbase64-3048eabf3b340d76.rlib" "/tmp/cargo-install7sYVeF/release/deps/libaxum_core-b1a9aef5963484a2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmime-eefcc3b53f1965e7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_util-f6772d71b1ec61e7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libmemchr-6ef6e242f488a2a9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_io-f1f3fde0bc32945e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libslab-e076f2c2774aa521.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_channel-fba20277608f153a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_sink-0b1544cd604ccab5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_task-106a22d403b69a55.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpin_utils-cb454c418ac94281.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfutures_core-784c055060379b65.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtower_service-36f2830787d7bcd8.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtower_layer-93cd19f83a2682d9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhttp_body-d13693893eb75ccb.rlib" "/tmp/cargo-install7sYVeF/release/deps/libpin_project_lite-1e15ebadec396d73.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhttp-5c4aaebc06293f92.rlib" "/tmp/cargo-install7sYVeF/release/deps/libfnv-35f9d07a182d9c70.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbytes-9ed62fcceabc25e4.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_cli_support-de457a6cde8a81fe.rlib" "/tmp/cargo-install7sYVeF/release/deps/librustc_demangle-8bdf943786ed92c7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwit_validator-99d9988198dd84c0.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasmparser-3db9a35c4394624c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwit_text-2f547d4f9c0f53e9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwast-14970d0cf40565a2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbase64-2fe85427eb2267bc.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsafemem-adb187ad21f5ecfe.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbyteorder-dcfabbb3cb2c7223.rlib" "/tmp/cargo-install7sYVeF/release/deps/libunicode_ident-e753f9c0820ebbd2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwit_walrus-b9adb75911aab40b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwit_writer-1eb1d5962016e79a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwit_parser-041179524cc55210.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwit_schema_version-4c661ec6701046ec.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_threads_xform-4fdc32bf58b316ea.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_shared-5750bc22eb2ee3f7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_multi_value_xform-f0701145a7f45204.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_externref_xform-2a869fc1e218a9c6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_wasm_interpreter-9656e679594ce013.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasm_bindgen_wasm_conventions-999e4493f92eecb6.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwalrus-855f6b6dfc7d8a68.rlib" "/tmp/cargo-install7sYVeF/release/deps/libleb128-e67b9de89e3abae4.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblog-6f4d12daa1d17c8e.rlib" "/tmp/cargo-install7sYVeF/release/deps/libwasmparser-43e9346c243e30c1.rlib" "/tmp/cargo-install7sYVeF/release/deps/libid_arena-6cee0e87db744ebb.rlib" "/tmp/cargo-install7sYVeF/release/deps/libindicatif-913da10a73723468.rlib" "/tmp/cargo-install7sYVeF/release/deps/libportable_atomic-0997ebaeeb57bdca.rlib" "/tmp/cargo-install7sYVeF/release/deps/libnumber_prefix-62433c5269b108ea.rlib" "/tmp/cargo-install7sYVeF/release/deps/libconsole-4e9c2ad5aa8e4a61.rlib" "/tmp/cargo-install7sYVeF/release/deps/libunicode_width-bf8aed16c8d327b8.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblazy_static-16eba8560d4e4203.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcargo_metadata-dc8f3877658c0d08.rlib" "/tmp/cargo-install7sYVeF/release/deps/libserde_json-2a08213dbb514882.rlib" "/tmp/cargo-install7sYVeF/release/deps/libryu-e947d1969e34da9b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libitoa-eebfe3513fdd3a03.rlib" "/tmp/cargo-install7sYVeF/release/deps/libthiserror-e14c7f166c0ffb93.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcargo_platform-2c85c468ece92542.rlib" "/tmp/cargo-install7sYVeF/release/deps/libsemver-119e5cba90203284.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcamino-6d265fff7df5d1aa.rlib" "/tmp/cargo-install7sYVeF/release/deps/libserde-b96f89274ee350c7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libclap-3ef81cd38bb0269d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libatty-85376913b2267f4f.rlib" "/tmp/cargo-install7sYVeF/release/deps/libstrsim-7c992f5a5a7d87e7.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtermcolor-ae53359e3e764a60.rlib" "/tmp/cargo-install7sYVeF/release/deps/libtextwrap-4fafef696cf3b6e5.rlib" "/tmp/cargo-install7sYVeF/release/deps/libclap_lex-0ffbfac7b78ad98b.rlib" "/tmp/cargo-install7sYVeF/release/deps/libos_str_bytes-b5a77f179c459d8d.rlib" "/tmp/cargo-install7sYVeF/release/deps/libindexmap-b25871bc75c84ef9.rlib" "/tmp/cargo-install7sYVeF/release/deps/libhashbrown-8d52b7068be40be2.rlib" "/tmp/cargo-install7sYVeF/release/deps/libahash-75857ca472767a7a.rlib" "/tmp/cargo-install7sYVeF/release/deps/libgetrandom-e0b2b84f9e947a8f.rlib" "/tmp/cargo-install7sYVeF/release/deps/liblibc-d95dc0bcdf833f59.rlib" "/tmp/cargo-install7sYVeF/release/deps/libcfg_if-1ba8969e86818473.rlib" "/tmp/cargo-install7sYVeF/release/deps/libbitflags-c7b073b268f2979c.rlib" "/tmp/cargo-install7sYVeF/release/deps/libonce_cell-7810cdc6f6965660.rlib" "/tmp/cargo-install7sYVeF/release/deps/libanyhow-143e6e8d5852e1da.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c6192dd4c4d410ac.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-ff7377081f1949cc.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1cb453c5b22d87c0.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-ef80a3f609e31ec2.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-a690952b7d7394ed.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-33a38bd462dea42b.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-2804c2e5e3dadb10.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-6cea4a991902c072.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-3f9cac5a3a01ae1f.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-be29f577ccd2e0c7.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-40cbcc82de628eb3.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-ce9e735ebca3a756.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-52730b1d9cce8f6d.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-dbd9b472d3582c61.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8f1d87098c577a9e.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-72ca4bc0b0597905.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-cdff4f89b0741001.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-92115cdd0b50e8be.rlib" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-7f2d6606c0ceff89.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/troy/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-install7sYVeF/release/deps/dioxus-b4fa69fa0585b2bf" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/bin/ld: /tmp/cargo-install7sYVeF/release/deps/libopenssl-75f0dec0aaf99cbb.rlib(openssl-75f0dec0aaf99cbb.openssl.abebc6d4-cgu.5.rcgu.o): in function `openssl::error::Error::get':
          openssl.abebc6d4-cgu.5:(.text._ZN7openssl5error5Error3get17ha07bd93a756cd6dcE+0x5a): undefined reference to `ERR_get_error_all'
          /usr/bin/ld: /tmp/cargo-install7sYVeF/release/deps/libopenssl_sys-40eb5bac19b66a00.rlib(openssl_sys-40eb5bac19b66a00.openssl_sys.4b4af540-cgu.5.rcgu.o): in function `openssl_sys::openssl::ssl::SSL_CTX_set_mode':
          openssl_sys.4b4af540-cgu.5:(.text._ZN11openssl_sys7openssl3ssl16SSL_CTX_set_mode17h4c7c9575bd4e5b01E+0xc): undefined reference to `SSL_CTX_ctrl'
          /usr/bin/ld: /tmp/cargo-install7sYVeF/release/deps/libopenssl_sys-40eb5bac19b66a00.rlib(openssl_sys-40eb5bac19b66a00.openssl_sys.4b4af540-cgu.5.rcgu.o): in function `openssl_sys::openssl::ssl::SSL_CTX_add_extra_chain_cert':
          openssl_sys.4b4af540-cgu.5:(.text._ZN11openssl_sys7openssl3ssl28SSL_CTX_add_extra_chain_cert17h87712bbc846dec47E+0xc): undefined reference to `SSL_CTX_ctrl'
          /usr/bin/ld: /tmp/cargo-install7sYVeF/release/deps/libopenssl_sys-40eb5bac19b66a00.rlib(openssl_sys-40eb5bac19b66a00.openssl_sys.4b4af540-cgu.5.rcgu.o): in function `openssl_sys::openssl::ssl::SSL_CTX_set_min_proto_version':
          openssl_sys.4b4af540-cgu.5:(.text._ZN11openssl_sys7openssl3ssl29SSL_CTX_set_min_proto_version17h94356ac79417488fE+0xc): undefined reference to `SSL_CTX_ctrl'
          /usr/bin/ld: /tmp/cargo-install7sYVeF/release/deps/libopenssl_sys-40eb5bac19b66a00.rlib(openssl_sys-40eb5bac19b66a00.openssl_sys.4b4af540-cgu.5.rcgu.o): in function `openssl_sys::openssl::ssl::SSL_CTX_set_max_proto_version':
          openssl_sys.4b4af540-cgu.5:(.text._ZN11openssl_sys7openssl3ssl29SSL_CTX_set_max_proto_version17h09cb614b77ea5a79E+0xc): undefined reference to `SSL_CTX_ctrl'
          /usr/bin/ld: /tmp/cargo-install7sYVeF/release/deps/libopenssl_sys-40eb5bac19b66a00.rlib(openssl_sys-40eb5bac19b66a00.openssl_sys.4b4af540-cgu.6.rcgu.o): in function `openssl_sys::openssl::tls1::SSL_set_tlsext_host_name':
          openssl_sys.4b4af540-cgu.6:(.text._ZN11openssl_sys7openssl4tls124SSL_set_tlsext_host_name17h10e7b3a52b9152b6E+0xc): undefined reference to `SSL_ctrl'
          collect2: error: ld returned 1 exit status
          
  = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
  = note: use the `-l` flag to specify native libraries to link
  = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)

error: could not compile `dioxus-cli` due to previous error
error: failed to compile `dioxus-cli v0.3.0 (https://github.com/DioxusLabs/cli#6c2a51e4)`, intermediate artifacts can be found at `/tmp/cargo-install7sYVeF`

Please can you add support for static binaries or rustls or libssl3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.