-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
error: could not compile azalea-protocol
(lib) -> nightly
#133243
Comments
Thanks for the report, this is a duplicate of #133199. |
Actually @Satanaelcode, could you kindly share your |
Found out:
|
At the very least the latest version reproduces the issue, and that's These crates have buggy nightly detection so it needs to be worked around to bisect, but the ICE is quite recent: it started in #132927. On the rollup's parent 9a9dadd and earlier, the example emits errors instead error[E0432]: unresolved import `azalea::auth::MicrosoftCredentials`
--> src/main.rs:2:5
|
2 | use azalea::auth::MicrosoftCredentials;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `MicrosoftCredentials` in the root
error[E0599]: no function or associated item named `connect` found for struct `azalea::Client` in the current scope
--> src/main.rs:14:30
|
14 | let mut client = Client::connect(server_address, credentials).await.unwrap();
| ^^^^^^^ function or associated item not found in `Client`
|
note: if you're trying to build a new `azalea::Client`, consider using `azalea::Client::new` which returns `azalea::Client`
--> /home/lqd/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azalea-client-0.10.3+mc1.21.1/src/client.rs:185:5
|
185 | / pub fn new(
186 | | profile: GameProfile,
187 | | entity: Entity,
188 | | ecs: Arc<Mutex<World>>,
189 | | run_schedule_sender: mpsc::UnboundedSender<()>,
190 | | ) -> Self {
| |_____________^
help: there is a method `disconnect` with a similar name, but with different arguments
--> /home/lqd/.cargo/registry/src/index.crates.io-6f17d22bba15001f/azalea-client-0.10.3+mc1.21.1/src/client.rs:506:5
|
506 | pub fn disconnect(&self) {
| ^^^^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0432, E0599.
For more information about an error, try `rustc --explain E0432`. |
Working on minizing this, got it down to
seems to have something to do with |
Ok got it, posting MCVE on the other issue. |
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: