You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{ command -v rustup 2>&1 >/dev/null || curl https://sh.rustup.rs -sSf | sh } &&
cargo install google-searchconsole1-cli
...
error[E0308]: mismatched types
--> /home/cameronbraid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/google-searchconsole1-cli-5.0.4+20240304/src/main.rs:816:13
|
815 | let auth = oauth2::InstalledFlowAuthenticator::with_client(
| ----------------------------------------------- arguments to this function are incorrect
816 | secret,
| ^^^^^^ expected `ApplicationSecret`, found `yup_oauth2::types::ApplicationSecret`
|
= note: `yup_oauth2::types::ApplicationSecret` and `ApplicationSecret` have similar names, but are actually distinct types
note: `yup_oauth2::types::ApplicationSecret` is defined in crate `yup_oauth2`
--> /home/cameronbraid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yup-oauth2-8.3.2/src/types.rs:145:1
|
145 | pub struct ApplicationSecret {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `ApplicationSecret` is defined in crate `yup_oauth2`
--> /home/cameronbraid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yup-oauth2-9.0.0/src/types.rs:145:1
|
145 | pub struct ApplicationSecret {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: perhaps two different versions of crate `yup_oauth2` are being used?
note: associated function defined here
--> /home/cameronbraid/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yup-oauth2-9.0.0/src/authenticator.rs:215:12
|
215 | pub fn with_client<C>(
| ^^^^^^^^^^^
For more information about this error, try `rustc --explain E0308`.
error: could not compile `google-searchconsole1-cli` (bin "searchconsole1") due to 1 previous error
error: failed to compile `google-searchconsole1-cli v5.0.4+20240304`, intermediate artifacts can be found at `/tmp/cargo-installLJzbhf`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
The text was updated successfully, but these errors were encountered:
Thanks for reporting - all CLIs regressed and would need a fix. Apparently, CI never checked them, which would probably be part of a fix to prevent future regression.
Something that would help already is a manual patch of a simple API that compiles again - then one could transfer this to the code generator to make the fix available to all APIs.
The text was updated successfully, but these errors were encountered: