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
小白编译,一直报错,弄不懂怎么改。大家有没有编译好的镜像。
warning: unexpected cfg condition value: cargo-clippy
--> crates/self_update/src/lib.rs:1:13
|
1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::all))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for feature are: archive-tar, archive-zip, compression-flate2, compression-zip-bzip2, compression-zip-deflate, default, either, flate2, signatures, tar, and zip
= help: consider adding cargo-clippy as a feature in Cargo.toml
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
= note: #[warn(unexpected_cfgs)] on by default
warning: self_update (lib) generated 1 warning
Compiling clap v4.5.6
Compiling toml v0.8.14
Compiling sysctl v0.5.5
Compiling daemonize v0.5.0
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/auth/mod.rs:460:25
|
460 | self.0 = self.0.enable_ech_grease(enable);
| ^^^^^^^^^^^^^^^^^ ------
| |
| unexpected argument of type bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:284:12
|
284 | pub fn enable_ech_grease(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/auth/mod.rs:466:25
|
466 | self.0 = self.0.permute_extensions(enable);
| ^^^^^^^^^^^^^^^^^^ ------
| |
| unexpected argument of type bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:291:12
|
291 | pub fn permute_extensions(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^^
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/client.rs:350:10
|
350 | .permute_extensions(true)
| ^^^^^^^^^^^^^^^^^^ ----
| |
| unexpected argument of type bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:291:12
|
291 | pub fn permute_extensions(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^^
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/client.rs:351:10
|
351 | .enable_ech_grease(true)
| ^^^^^^^^^^^^^^^^^ ----
| |
| unexpected argument of type bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:284:12
|
284 | pub fn enable_ech_grease(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^
For more information about this error, try rustc --explain E0061.
error: could not compile openai (lib) due to 4 previous errors
The text was updated successfully, but these errors were encountered:
小白编译,一直报错,弄不懂怎么改。大家有没有编译好的镜像。
warning: unexpected
cfg
condition value:cargo-clippy
--> crates/self_update/src/lib.rs:1:13
|
1 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::all))]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: expected values for
feature
are:archive-tar
,archive-zip
,compression-flate2
,compression-zip-bzip2
,compression-zip-deflate
,default
,either
,flate2
,signatures
,tar
, andzip
= help: consider adding
cargo-clippy
as a feature inCargo.toml
= note: see https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html for more information about checking conditional configuration
= note:
#[warn(unexpected_cfgs)]
on by defaultwarning:
self_update
(lib) generated 1 warningCompiling clap v4.5.6
Compiling toml v0.8.14
Compiling sysctl v0.5.5
Compiling daemonize v0.5.0
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/auth/mod.rs:460:25
|
460 | self.0 = self.0.enable_ech_grease(enable);
| ^^^^^^^^^^^^^^^^^ ------
| |
| unexpected argument of type
bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:284:12
|
284 | pub fn enable_ech_grease(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/auth/mod.rs:466:25
|
466 | self.0 = self.0.permute_extensions(enable);
| ^^^^^^^^^^^^^^^^^^ ------
| |
| unexpected argument of type
bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:291:12
|
291 | pub fn permute_extensions(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^^
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/client.rs:350:10
|
350 | .permute_extensions(true)
| ^^^^^^^^^^^^^^^^^^ ----
| |
| unexpected argument of type
bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:291:12
|
291 | pub fn permute_extensions(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^^
error[E0061]: this method takes 0 arguments but 1 argument was supplied
--> crates/openai/src/client.rs:351:10
|
351 | .enable_ech_grease(true)
| ^^^^^^^^^^^^^^^^^ ----
| |
| unexpected argument of type
bool
| help: remove the extra argument
|
note: method defined here
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/reqwest-impersonate-0.11.84/src/async_impl/client.rs:284:12
|
284 | pub fn enable_ech_grease(mut self) -> ClientBuilder {
| ^^^^^^^^^^^^^^^^^
For more information about this error, try
rustc --explain E0061
.error: could not compile
openai
(lib) due to 4 previous errorsThe text was updated successfully, but these errors were encountered: