m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.53k stars 264 forks source link

Cargo build error ''Credential not satisfied'' / "rustc e0277" #2554

Closed Justuzz closed 8 months ago

Justuzz commented 10 months ago

I ran the media-autobuild_suite to compile some tools in 64bit on Windows 10 but an error occurs when building Cargo. I choosed not to build Cargo but it seems to be needed for compiling other tools. I tried to do some research on _error[E0277]: the trait bound WindowsCredential: cargo_credential::Credential is not satisfied_ but no luck yet. Please see cli screenshot and log.zip attached. Cheers!

Screen Shot 11-19-23 at 05 40 PM

logs.zip

marseb commented 10 months ago

I have exactly the same e0277 error like you. I first tried it to build it yesterday. Today the error remain. It may be useful for other users, if you insert the error code "rustc --explain e0277" in the title...

64bit-only compiler, Normal unmodded Win 11 12700h Laptop.

1480c1 commented 10 months ago

Upstream issue: https://github.com/lu-zero/cargo-c/issues/355#issuecomment-1818744965

marseb commented 10 months ago

This is solved by new upstream :)

But runs 2h later to another problem (maybe another thread/ or I am just wating another week) 😂

Justuzz commented 10 months ago

But runs 2h later to another problem

Same here. Basically I just want to compile ffmpeg and tried a variety of options but it always fails.

marseb commented 10 months ago

The same problem like me, with mpv git https://github.com/m-ab-s/media-autobuild_suite/issues/2555 ?

Justuzz commented 10 months ago

The same problem like me, with mpv git https://github.com/m-ab-s/media-autobuild_suite/issues/2555 ?

No, everything compiled just fine -- at least the stuff needed for ffmpeg. mpv also compiled with no errors.

marseb commented 10 months ago

Thanks for feedback! So you can close this case as solved.

By the way I re-run the script... and it finished too, yeah 👍

ffmpeg erfolgreich

By the way it has MANY data.

12