Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flowistry could not run because your project failed to build with error #59

Open
danielesk opened this issue Oct 14, 2022 · 7 comments
Open

Comments

@danielesk
Copy link

danielesk commented Oct 14, 2022

image

How to solve?

@danielesk danielesk changed the title lowistry could not run because your project failed to build with error Flowistry could not run because your project failed to build with error Oct 14, 2022
@willcrichton
Copy link
Owner

Is the currently-open project in VSCode the directory containing main.rs?

@danielesk
Copy link
Author

@willcrichton Yes. The same environment as well as the test code when I run in Linux environment is no problem, is it because the windows OS is not supported? My system is Windows 11

@willcrichton
Copy link
Owner

Ah, then it's probably a Windows problem. I have done limited testing on Windows and Flowistry seemed to work, but I don't have a Windows machine so I haven't tested it extensively. If you can share a copy of the workspace you're testing, I can try to reproduce the issue in a VM.

@LeandroMarceddu
Copy link

This is still an issue it seems.
image

If you want a snapshot of the workspace you can find it here: https://github.com/LeandroMarceddu/rusty-kiln

@willcrichton
Copy link
Owner

Thanks for the reproducible case @LeandroMarceddu. I confirmed that I am able to use Flowistry on your codebase on my Mac:

Screen Shot 2023-02-20 at 6 31 03 PM

Note: you will have to manually add the custom compile target to the specific nightly toolchain used by Flowistry, ie

rustup target add thumbv6m-none-eabi --toolchain nightly-2022-12-07

But that doesn't solve the issue of not working on Windows. I will try to find a Windows VM I can use to reproduce / fix the error.

@noamtashma
Copy link

noamtashma commented Apr 29, 2023

I also seem to run into this (also on windows)

@wlinna
Copy link

wlinna commented Dec 10, 2023

I'm running into this on Pop!_OS 22.04 LTS with rustc 1.74.1 (I'm not using any of the latest language features). The exact error message is

Flowistry could not run because your project failed to build with error:
undefined

However, my project builds without errors (there are warnings regarding unused functions / imports though)

I'm also getting Flowistry error: Error: unexpected end of file if I try to activate the focus mode

So far I haven't been able to get flowistry to work on my project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants