sunfishcode / hello-wasi-http

48 stars 17 forks source link

Cargo component build error #10

Closed jaskiratr closed 4 months ago

jaskiratr commented 4 months ago

Hi 👋 , First time user of Cargo Component here. I'm trying out the steps in the readme.md. and running into a small hiccup when executing cargo component build for the first time.

cargo component build
    Generating bindings for hello-wasi-http (src/bindings.rs)
  error[internal]: left behind trailing whitespace

Seems like the issue stems from some line-ending corruption in bindings.rs file. Resetting them through VSCode remediates the issue LF > CRLF > LF.

```shell gh repo clone sunfishcode/hello-wasi-http Cloning into 'hello-wasi-http'... remote: Enumerating objects: 259, done. remote: Counting objects: 100% (88/88), done. remote: Compressing objects: 100% (62/62), done. remote: Total 259 (delta 26), reused 66 (delta 24), pack-reused 171 Receiving objects: 100% (259/259), 165.81 KiB | 1.11 MiB/s, done. Resolving deltas: 100% (97/97), done. cd hello-wasi-http/ cargo component build Generating bindings for hello-wasi-http (src/bindings.rs) error[internal]: left behind trailing whitespace --> :4191:4191:1 | 4191 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4214:4214:1 | 4214 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4224:4224:1 | 4224 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4236:4236:1 | 4236 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4287:4287:1 | 4287 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4294:4294:1 | 4294 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4309:4309:1 | 4309 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4329:4329:1 | 4329 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4335:4335:1 | 4335 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4357:4357:1 | 4357 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4363:4363:1 | 4363 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4376:4376:1 | 4376 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4383:4383:1 | 4383 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4393:4393:1 | 4393 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4405:4405:1 | 4405 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4424:4424:1 | 4424 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4430:4430:1 | 4430 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4444:4444:1 | 4444 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4454:4454:1 | 4454 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4466:4466:1 | 4466 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4483:4483:1 | 4483 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4489:4489:1 | 4489 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4503:4503:1 | 4503 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4513:4513:1 | 4513 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4525:4525:1 | 4525 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4539:4539:1 | 4539 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4545:4545:1 | 4545 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4558:4558:1 | 4558 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4564:4564:1 | 4564 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4578:4578:1 | 4578 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4588:4588:1 | 4588 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4600:4600:1 | 4600 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4614:4614:1 | 4614 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4623:4623:1 | 4623 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4636:4636:1 | 4636 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4645:4645:1 | 4645 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4674:4674:1 | 4674 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4683:4683:1 | 4683 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5134:5134:1 | 5134 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5146:5146:1 | 5146 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5563:5563:1 | 5563 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5573:5573:1 | 5573 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5585:5585:1 | 5585 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5636:5636:1 | 5636 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5643:5643:1 | 5643 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5658:5658:1 | 5658 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5678:5678:1 | 5678 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5684:5684:1 | 5684 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5706:5706:1 | 5706 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5712:5712:1 | 5712 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5725:5725:1 | 5725 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5732:5732:1 | 5732 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5742:5742:1 | 5742 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5754:5754:1 | 5754 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5773:5773:1 | 5773 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5779:5779:1 | 5779 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5793:5793:1 | 5793 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5803:5803:1 | 5803 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5815:5815:1 | 5815 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5832:5832:1 | 5832 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5838:5838:1 | 5838 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5852:5852:1 | 5852 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5862:5862:1 | 5862 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5874:5874:1 | 5874 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5888:5888:1 | 5888 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5894:5894:1 | 5894 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5907:5907:1 | 5907 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5913:5913:1 | 5913 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5927:5927:1 | 5927 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5937:5937:1 | 5937 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5949:5949:1 | 5949 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5963:5963:1 | 5963 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5972:5972:1 | 5972 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5985:5985:1 | 5985 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5994:5994:1 | 5994 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6023:6023:1 | 6023 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6032:6032:1 | 6032 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6148:6148:1 | 6148 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6160:6160:1 | 6160 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6194:6194:1 | 6194 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6209:6209:1 | 6209 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6285:6285:1 | 6285 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6297:6297:1 | 6297 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6346:6346:1 | 6346 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6358:6358:1 | 6358 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6403:6403:1 | 6403 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6415:6415:1 | 6415 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6478:6478:1 | 6478 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6490:6490:1 | 6490 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | warning: rustfmt has failed to format. See previous 89 errors. thread 'main' panicked at /Users/jrandhawa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-bindgen-rust-0.20.0/src/lib.rs:1107:13: assertion failed: status.success() note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace zsh: abort cargo component build export RUST_BACKTRACE=full cargo component build Generating bindings for hello-wasi-http (src/bindings.rs) error[internal]: left behind trailing whitespace --> :4191:4191:1 | 4191 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4214:4214:1 | 4214 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4224:4224:1 | 4224 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4236:4236:1 | 4236 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4287:4287:1 | 4287 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4294:4294:1 | 4294 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4309:4309:1 | 4309 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4329:4329:1 | 4329 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4335:4335:1 | 4335 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4357:4357:1 | 4357 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4363:4363:1 | 4363 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4376:4376:1 | 4376 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4383:4383:1 | 4383 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4393:4393:1 | 4393 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4405:4405:1 | 4405 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4424:4424:1 | 4424 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4430:4430:1 | 4430 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4444:4444:1 | 4444 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4454:4454:1 | 4454 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4466:4466:1 | 4466 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4483:4483:1 | 4483 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4489:4489:1 | 4489 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4503:4503:1 | 4503 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4513:4513:1 | 4513 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4525:4525:1 | 4525 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4539:4539:1 | 4539 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4545:4545:1 | 4545 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4558:4558:1 | 4558 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4564:4564:1 | 4564 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4578:4578:1 | 4578 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4588:4588:1 | 4588 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4600:4600:1 | 4600 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4614:4614:1 | 4614 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4623:4623:1 | 4623 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4636:4636:1 | 4636 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4645:4645:1 | 4645 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4674:4674:1 | 4674 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :4683:4683:1 | 4683 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5134:5134:1 | 5134 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5146:5146:1 | 5146 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5563:5563:1 | 5563 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5573:5573:1 | 5573 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5585:5585:1 | 5585 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5636:5636:1 | 5636 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5643:5643:1 | 5643 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5658:5658:1 | 5658 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5678:5678:1 | 5678 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5684:5684:1 | 5684 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5706:5706:1 | 5706 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5712:5712:1 | 5712 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5725:5725:1 | 5725 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5732:5732:1 | 5732 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5742:5742:1 | 5742 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5754:5754:1 | 5754 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5773:5773:1 | 5773 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5779:5779:1 | 5779 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5793:5793:1 | 5793 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5803:5803:1 | 5803 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5815:5815:1 | 5815 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5832:5832:1 | 5832 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5838:5838:1 | 5838 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5852:5852:1 | 5852 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5862:5862:1 | 5862 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5874:5874:1 | 5874 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5888:5888:1 | 5888 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5894:5894:1 | 5894 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5907:5907:1 | 5907 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5913:5913:1 | 5913 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5927:5927:1 | 5927 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5937:5937:1 | 5937 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5949:5949:1 | 5949 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5963:5963:1 | 5963 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5972:5972:1 | 5972 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5985:5985:1 | 5985 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :5994:5994:1 | 5994 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6023:6023:1 | 6023 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6032:6032:1 | 6032 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6148:6148:1 | 6148 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6160:6160:1 | 6160 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6194:6194:1 | 6194 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6209:6209:1 | 6209 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6285:6285:1 | 6285 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6297:6297:1 | 6297 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6346:6346:1 | 6346 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6358:6358:1 | 6358 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6403:6403:1 | 6403 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6415:6415:1 | 6415 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6478:6478:1 | 6478 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | error[internal]: left behind trailing whitespace --> :6490:6490:1 | 6490 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | warning: rustfmt has failed to format. See previous 89 errors. thread 'main' panicked at /Users/jrandhawa/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wit-bindgen-rust-0.20.0/src/lib.rs:1107:13: assertion failed: status.success() stack backtrace: 0: 0x100c0c0c8 - ::fmt::hb478ebbfb46e27ce 1: 0x100aab5fc - core::fmt::write::he4d5fa2daff1f531 2: 0x100bdfd60 - std::io::Write::write_fmt::hc5a47a68eba63d9f 3: 0x100c0d604 - std::sys_common::backtrace::print::h79bd952cc5812e7a 4: 0x100c0cdd4 - std::panicking::default_hook::{{closure}}::h82301f6222887737 5: 0x100c0de4c - std::panicking::rust_panic_with_hook::h1e70c5d905e30e9d 6: 0x100c0d8e8 - std::panicking::begin_panic_handler::{{closure}}::h399e32952efd26a4 7: 0x100c0d878 - std::sys_common::backtrace::__rust_end_short_backtrace::h2ab87f841a2323e7 8: 0x100c0d86c - _rust_begin_unwind 9: 0x100e3d138 - core::panicking::panic_fmt::h33e40d2a93cab78f 10: 0x100e3d260 - core::panicking::panic::h57fd475c037a9df3 11: 0x100d3e468 - ::finish::hd129354134878ef4 12: 0x100d34290 - wit_bindgen_core::WorldGenerator::generate::h5644a9275b2f5f54 13: 0x1009353cc - cargo_component::run_cargo_command::{{closure}}::h4f1483e7d1797986 14: 0x10098ae08 - cargo_component::main::{{closure}}::hab1b0d13af054092 15: 0x100980574 - cargo_component::main::hdac0429d3dd5d135 16: 0x100946fd8 - std::sys_common::backtrace::__rust_begin_short_backtrace::hba8ea1cc28501ee5 17: 0x10098c12c - _main zsh: abort cargo component build ```
sunfishcode commented 4 months ago

Hi! This looks like a bug which was fixed in cargo-component 0.9.1; are you by change using cargo-component 0.9.0?

jaskiratr commented 4 months ago

Yes, indeed 0.9.1 fixes it! Thank you