willcrichton / flowistry

Flowistry is an IDE plugin for Rust that helps you focus on relevant code.
https://marketplace.visualstudio.com/items?itemName=wcrichton.flowistry
MIT License
1.88k stars 44 forks source link

Failed to build project with a build script #64

Closed Mubelotix closed 1 year ago

Mubelotix commented 1 year ago

I tested Flowistry on this project and it fails to build.

Logs ``` Flowistry could not run because your project failed to build with error: Fresh unicode-ident v1.0.5 Fresh autocfg v1.1.0 Fresh once_cell v1.16.0 Fresh proc-macro2 v1.0.47 Fresh version_check v0.9.4 Fresh bumpalo v3.11.1 Fresh quote v1.0.21 Fresh log v0.4.17 Fresh getrandom v0.2.8 Fresh ryu v1.0.11 Fresh itoa v1.0.4 Fresh syn v1.0.103 Fresh wasm-bindgen-shared v0.2.83 Fresh rand_core v0.6.4 Fresh cfg-if v1.0.0 Fresh ppv-lite86 v0.2.17 Fresh phf_shared v0.10.0 Fresh serde_derive v1.0.147 Fresh wasm-bindgen-backend v0.2.83 Fresh rand_chacha v0.3.1 Fresh regex-syntax v0.6.28 Fresh wasm-bindgen-macro-support v0.2.83 Fresh memchr v2.5.0 Fresh rand v0.8.5 Fresh serde_json v1.0.89 Fresh wasm-bindgen-macro v0.2.83 Fresh aho-corasick v0.7.20 Fresh smallvec v1.10.0 Fresh new_debug_unreachable v1.0.4 Fresh scopeguard v1.1.0 Fresh serde v1.0.147 Fresh wasm-bindgen v0.2.83 Fresh regex v1.7.0 Fresh parking_lot_core v0.9.4 Fresh lock_api v0.4.9 Fresh dirs-sys-next v0.1.2 Fresh precomputed-hash v0.1.1 Fresh js-sys v0.3.60 Fresh parking_lot v0.12.1 Fresh dirs-next v2.0.0 Fresh phf_generator v0.10.0 Fresh web-sys v0.3.60 Fresh string_cache v0.8.4 Fresh term v0.7.0 Fresh crunchy v0.2.2 Fresh bit-vec v0.6.3 Fresh either v1.8.0 Fresh fixedbitset v0.4.2 Fresh tiny-keccak v2.0.2 Fresh bit-set v0.5.3 Fresh ascii-canvas v3.0.0 Fresh phf_codegen v0.10.0 Fresh string_cache_codegen v0.5.2 Fresh itertools v0.10.5 Fresh petgraph v0.6.2 Fresh phf_generator v0.11.1 Fresh lalrpop-util v0.19.8 Fresh ena v0.14.0 Fresh atty v0.2.14 Fresh diff v0.1.13 Fresh pico-args v0.4.2 Fresh unicode-xid v0.2.4 Fresh mac v0.1.1 Fresh lalrpop v0.19.8 Fresh futf v0.1.5 Fresh phf_codegen v0.11.1 Fresh proc-macro-error-attr v1.0.4 Fresh gloo-utils v0.1.5 Fresh parse-zoneinfo v0.3.0 Fresh thiserror-impl v1.0.37 Fresh utf-8 v0.7.6 Fresh proc-macro-error v1.0.4 Fresh num-traits v0.2.15 Fresh chrono-tz-build v0.0.3 Fresh thiserror v1.0.37 Fresh tendril v0.4.3 Fresh gloo-events v0.1.2 Fresh uncased v0.9.7 Fresh phf v0.10.1 Fresh libc v0.2.137 Fresh siphasher v0.3.10 Fresh markup5ever v0.11.0 Fresh num-integer v0.1.45 Fresh gloo-file v0.2.3 Fresh gloo-storage v0.2.2 Fresh time v0.1.45 Fresh phf_shared v0.11.1 Fresh gloo-console v0.2.3 Fresh locale_config v0.3.0 Fresh gloo-dialogs v0.1.1 Fresh gloo-render v0.1.1 Fresh gloo-timers v0.2.4 Fresh hashbrown v0.12.3 Fresh iana-time-zone v0.1.53 Fresh boolinator v2.4.0 Fresh phf v0.11.1 Fresh gloo v0.4.2 Fresh yew-macro v0.19.3 Fresh chrono v0.4.23 Fresh indexmap v1.9.2 Fresh poreader v1.1.1 Fresh slab v0.4.7 Fresh html5ever v0.26.0 Fresh wasm-bindgen-futures v0.4.33 Fresh console_error_panic_hook v0.1.7 Fresh toml v0.5.9 Fresh scoped-tls-hkt v0.1.2 Fresh string-tools v0.1.0 Compiling web-app v0.1.0 (/home/mubelotix/projects/insagenda/web-app) Fresh chrono-tz v0.6.3 Fresh yew-template v0.8.1 Fresh yew v0.19.3 Fresh async-trait v0.1.58 Fresh anyhow v1.0.66 Fresh serde-wasm-bindgen v0.4.5 Fresh common v0.1.0 (/home/mubelotix/projects/insagenda/common) Running `/home/mubelotix/.cargo/bin/flowistry-driver rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=ac5b5df9781b9717 -C extra-filename=-ac5b5df9781b9717 --out-dir /home/mubelotix/projects/insagenda/web-app/target/plugin/debug/build/web-app-ac5b5df9781b9717 -C incremental=/home/mubelotix/projects/insagenda/web-app/target/plugin/debug/incremental -L dependency=/home/mubelotix/projects/insagenda/web-app/target/plugin/debug/deps` Fresh lazy_static v1.4.0 Running `/home/mubelotix/projects/insagenda/web-app/target/plugin/debug/build/web-app-ac5b5df9781b9717/build-script-build` error: failed to run custom build command for `web-app v0.1.0 (/home/mubelotix/projects/insagenda/web-app)` Caused by: could not execute process `/home/mubelotix/projects/insagenda/web-app/target/plugin/debug/build/web-app-ac5b5df9781b9717/build-script-build` (never executed) Caused by: No such file or directory (os error 2) ```

Are build scripts supported?

willcrichton commented 1 year ago

Thanks for the issue. This should be fixed in 0.5.34 later today.