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

Could not build in linux #32

Open
longzou opened this issue Jun 9, 2024 · 1 comment
Open

Could not build in linux #32

longzou opened this issue Jun 9, 2024 · 1 comment

Comments

@longzou
Copy link

longzou commented Jun 9, 2024

Build this in Ubuntu 20.04

error: failed to select a version for env_logger.
... required by package localtunnel v0.1.3 (/root/workshop/rlt/cli)
versions that meet the requirements ^0.11 (locked to 0.11.3) are: 0.11.3

the package localtunnel 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

But I can build it on Windows.

@kaichaosun
Copy link
Owner

After a quick search, anstream is dependency of env_logger, not a feature.
Have you try delete cargo.lock?

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