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

Add minimal supported Rust version #10

Open
Polkas opened this issue Jan 22, 2025 · 2 comments
Open

Add minimal supported Rust version #10

Polkas opened this issue Jan 22, 2025 · 2 comments

Comments

@Polkas
Copy link
Collaborator

Polkas commented Jan 22, 2025

I can not compile tergo on my local my os .
I will try to investigate it.
It works totally fine on Linuxed based machine (github code spaces).

error: failed to select a version for `env_logger`.
       ... required by package `tergo-lib v0.2.6`
       ... which satisfies dependency `tergo-lib = "^0.2.5"` of package `tergo v0.1.0 (/Users/maciejnasinski/Documents/tergo/antidotum/tergo/src/rust)`
   versions that meet the requirements `^0.11.3` are: 0.11.5
   
   the package `tergo-lib` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
    It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.
   
   
   failed to select a version for `env_logger` which could resolve this conflict
> Sys.info()
                                                                                                sysname 
                                                                                               "Darwin" 
                                                                                                release 
                                                                                               "24.1.0" 
                                                                                                version 
"Darwin Kernel Version 24.1.0: Thu Oct 10 21:05:14 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8103" 
                                                                                               nodename 
                                                                            "Maciejs-MacBook-Air.local" 
                                                                                                machine 
                                                                                                "arm64" 
                                                                                                  login 
                                                                                                 "root" 
@kpagacz
Copy link
Owner

kpagacz commented Jan 22, 2025

Wnat rust version are you using?

rustc --version
rustup show

Can you print the result of the above?

@Polkas
Copy link
Collaborator Author

Polkas commented Jan 22, 2025

It was too old:) I reinstall rust and it is fine now. Please feel free to close the item. The only benefit is to consider setting a minimal required rust version.

It was old;p

(base) Maciejs-MacBook-Air:tergo maciejnasinski$ rustc --version
rustc 1.64.0 (a55dd71d5 2022-09-19)
(base) Maciejs-MacBook-Air:tergo maciejnasinski$ rustup show
Default host: aarch64-apple-darwin
rustup home:  /Users/maciejnasinski/.rustup

stable-aarch64-apple-darwin (default)
rustc 1.64.0 (a55dd71d5 2022-09-19)

@kpagacz kpagacz changed the title Can not compile tergo on mac os Add minimal supported Rust version Jan 23, 2025
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

2 participants