[INFO] fetching crate pokemon_tcg_sdk_rs 0.1.0... [INFO] checking pokemon_tcg_sdk_rs-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pokemon_tcg_sdk_rs 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate pokemon_tcg_sdk_rs 0.1.0 [INFO] finished tweaking crates.io crate pokemon_tcg_sdk_rs 0.1.0 [INFO] tweaked toml for crates.io crate pokemon_tcg_sdk_rs 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pokemon_tcg_sdk_rs 0.1.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pokemon_tcg_sdk_rs 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29a77eb345424de0e7cb193e7d1760184608252ecf0e83fd87d6678f979f6669 [INFO] running `Command { std: "docker" "start" "-a" "29a77eb345424de0e7cb193e7d1760184608252ecf0e83fd87d6678f979f6669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29a77eb345424de0e7cb193e7d1760184608252ecf0e83fd87d6678f979f6669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a77eb345424de0e7cb193e7d1760184608252ecf0e83fd87d6678f979f6669", kill_on_drop: false }` [INFO] [stdout] 29a77eb345424de0e7cb193e7d1760184608252ecf0e83fd87d6678f979f6669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7b8d12b319baaedf717383aecea9f846eab1f0106ed6236582fef485161e7a0 [INFO] running `Command { std: "docker" "start" "-a" "a7b8d12b319baaedf717383aecea9f846eab1f0106ed6236582fef485161e7a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling ntest_test_cases v0.9.3 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling ntest_timeout v0.9.3 [INFO] [stderr] Checking ntest v0.9.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Checking tokio v1.43.0 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking derive_more v1.0.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking hyper v1.5.2 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.12 [INFO] [stderr] Checking pokemon_tcg_sdk_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Url` is more private than the item `::find` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn find(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::find` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `::_where` [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | async fn _where(&mut self, args: HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::_where` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `::all` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | async fn all(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::all` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `Query::find` [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | async fn find(&self, id: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Query::find` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `Query::_where` [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | async fn _where(&mut self, args: HashMap) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Query::_where` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `Query::all` [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | async fn all(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Query::all` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Ability` is more private than the item `Card::abilities` [INFO] [stdout] --> src/models/models.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub abilities: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Card::abilities` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Ability` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | struct Ability { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Attack` is more private than the item `Card::attacks` [INFO] [stdout] --> src/models/models.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub attacks: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Card::attacks` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Attack` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | struct Attack { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Weakness` is more private than the item `Card::weaknesses` [INFO] [stdout] --> src/models/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub weaknesses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Card::weaknesses` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Weakness` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | struct Weakness { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Legalities` is more private than the item `Card::legalities` [INFO] [stdout] --> src/models/models.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub legalities: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Card::legalities` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Legalities` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | struct Legalities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Images` is more private than the item `Card::images` [INFO] [stdout] --> src/models/models.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub images: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Card::images` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Images` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | struct Images { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Legalities` is more private than the item `Set::legalities` [INFO] [stdout] --> src/models/models.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub legalities: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Set::legalities` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Legalities` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | struct Legalities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SetImages` is more private than the item `Set::images` [INFO] [stdout] --> src/models/models.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub images: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Set::images` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SetImages` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | struct SetImages { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | async fn find(&self, id: &str) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 162 - async fn find(&self, id: &str) -> Option; [INFO] [stdout] 162 + fn find(&self, id: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | async fn _where(&mut self, args: HashMap) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 163 - async fn _where(&mut self, args: HashMap) -> Vec; [INFO] [stdout] 163 + fn _where(&mut self, args: HashMap) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | async fn all(&mut self) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 164 - async fn all(&mut self) -> Vec; [INFO] [stdout] 164 + fn all(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `::find` [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn find(&self, id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::find` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `::_where` [INFO] [stdout] --> src/lib.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | async fn _where(&mut self, args: HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::_where` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `::all` [INFO] [stdout] --> src/lib.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | async fn all(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `::all` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `Query::find` [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | async fn find(&self, id: &str) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Query::find` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `Query::_where` [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | async fn _where(&mut self, args: HashMap) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Query::_where` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Url` is more private than the item `Query::all` [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | async fn all(&mut self) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Query::all` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `Url` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | trait Url { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Ability` is more private than the item `models::models::Card::abilities` [INFO] [stdout] --> src/models/models.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub abilities: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Card::abilities` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Ability` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | struct Ability { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Attack` is more private than the item `models::models::Card::attacks` [INFO] [stdout] --> src/models/models.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub attacks: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Card::attacks` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Attack` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | struct Attack { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Weakness` is more private than the item `models::models::Card::weaknesses` [INFO] [stdout] --> src/models/models.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub weaknesses: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Card::weaknesses` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Weakness` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | struct Weakness { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Legalities` is more private than the item `models::models::Card::legalities` [INFO] [stdout] --> src/models/models.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub legalities: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Card::legalities` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Legalities` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | struct Legalities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Images` is more private than the item `models::models::Card::images` [INFO] [stdout] --> src/models/models.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub images: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Card::images` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Images` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:100:1 [INFO] [stdout] | [INFO] [stdout] 100 | struct Images { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Legalities` is more private than the item `models::models::Set::legalities` [INFO] [stdout] --> src/models/models.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub legalities: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Set::legalities` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Legalities` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | struct Legalities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SetImages` is more private than the item `models::models::Set::images` [INFO] [stdout] --> src/models/models.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | pub images: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `models::models::Set::images` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `SetImages` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/models/models.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | struct SetImages { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | async fn find(&self, id: &str) -> Option; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 162 - async fn find(&self, id: &str) -> Option; [INFO] [stdout] 162 + fn find(&self, id: &str) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | async fn _where(&mut self, args: HashMap) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 163 - async fn _where(&mut self, args: HashMap) -> Vec; [INFO] [stdout] 163 + fn _where(&mut self, args: HashMap) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/lib.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | async fn all(&mut self) -> Vec; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 164 - async fn all(&mut self) -> Vec; [INFO] [stdout] 164 + fn all(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.35s [INFO] running `Command { std: "docker" "inspect" "a7b8d12b319baaedf717383aecea9f846eab1f0106ed6236582fef485161e7a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7b8d12b319baaedf717383aecea9f846eab1f0106ed6236582fef485161e7a0", kill_on_drop: false }` [INFO] [stdout] a7b8d12b319baaedf717383aecea9f846eab1f0106ed6236582fef485161e7a0