-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
Failed to compile from source due to error related to Plex and Feature keyword #837
Comments
Hi there! |
As the error and docs state, you cannot build aw-server-rust on Rust
stable. You need Rust nightly:
https://rust-lang.github.io/rustup/concepts/channels.html
…On Mon, Jan 9, 2023, 19:03 github-actions[bot] ***@***.***> wrote:
Hi there!
As you're new to this repo, please make sure you've used an appropriate issue
template
<https://github.com/ActivityWatch/activitywatch/issues/new/choose> and
searched for duplicates (it helps us focus on actual development!). We'd
also like to suggest that you read our contribution guidelines
<https://github.com/ActivityWatch/activitywatch/blob/master/CONTRIBUTING.md>
and our code of conduct
<https://github.com/ActivityWatch/activitywatch/blob/master/CODE_OF_CONDUCT.md>
.
Thanks a bunch for opening your first issue! 🙏
—
Reply to this email directly, view it on GitHub
<#837 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKXDOVCWNXXBFOANGEWJJ3WRRHIZANCNFSM6AAAAAATVW5NQY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Oh, you are right. Thank you very much, and sorry for that. Leaving this mostly for other people who skip steps like me and encounter the same problem:
rustup toolchain install nightly && \
rustup run nightly rustc --version && \
rustup default nightly && \
rustup update
echo "GIT:" && git --version;
echo "\nMAKE:" && make --version | head -n 1;
echo "\nPYTHON:" && python --version || python3 --version;
echo "\nPOETRY:" && poetry --version;
echo "\nNODE:" && node --version;
echo "\nRUST:" && cargo --version;
echo "\n7z:" && echo "$(7z)" | head -n 3 | tail -n 1
so I replaced the line 59 from
The good thing is that the rust related problem was solved. So, thank you very much @ErikBjare 😄 |
Describe the bug
Program failed to compile from source due to problems related with plex. Can't give too much detail as I don't know the language well enough.
As far as I know the problem is from rust or rust-related.
It says
#![feature(*)
sould not be used in a stable release and then it fails to compile.It is somewhat related to the issue #763, but there's not a lot of info in the issue and there was not a clear solution either.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/ActivityWatch/activitywatch.git --recursive
cd ./activitywatch
4- Run
make build
to compile the program.5- Brew a cup of coffee and wait a while.
6- Failed to compile. (Not so summed up) summary of the output
6.1- Some checks and dependencies, I guess (everything ok).
6.2- Node reated stuff (everything ok).
6.3- Poetry related stuff (everything ok)
6.4- Rust related stuff (it fails here)
6.5- Make exits
Expected behavior
I'd expect a "success compiling activitywatch" or equivalent.
Additional context
Hope I was detailed enough. Enything else you need let me know. Hope someone can help me.
Trust me, right now I have almost no idea about rust. I'd try to fix it if I knew how.
To whoever reads this, thank you in advance for your time and may be your assistance.
The text was updated successfully, but these errors were encountered: